:root {
  --paper: #fbfdfa;
  --white: #ffffff;
  --ink: #152019;
  --muted: #5b665e;
  --line: #dde7df;
  --green: #0b6f3a;
  --green-dark: #064f2b;
  --green-soft: #e6f3eb;
  --stone: #eef3ee;
  --shadow: 0 22px 60px rgb(21 32 25 / 0.12);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  letter-spacing: 0;
}

body.dialog-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

::selection {
  color: var(--white);
  background: var(--green);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green-dark);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(72px, 9vw, 128px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(251 253 250 / 0.92);
  border-bottom: 1px solid rgb(221 231 223 / 0.86);
  backdrop-filter: blur(18px);
}

.nav-shell {
  position: relative;
  width: var(--container);
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(155px, 18vw, 220px);
}

.brand img,
.footer-brand img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle,
.nav-cta,
.filter-button {
  min-height: 42px;
  border-radius: 999px;
}

.nav-toggle,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.nav-toggle {
  gap: 9px;
  border: 1px solid var(--line);
  color: var(--green-dark);
  background: var(--white);
  padding: 0 16px;
  font-size: 0.94rem;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] {
  color: var(--green-dark);
  background: var(--green-soft);
  border-color: rgb(11 111 58 / 0.24);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  color: var(--green-dark);
  border-color: var(--green);
  background: var(--green-soft);
}

.nav-toggle:active,
.nav-cta:active,
.button:active,
.filter-button:active,
.gallery-item:active {
  transform: translateY(1px);
}

.nav-cta {
  color: var(--white);
  background: var(--green);
  padding-inline: 18px;
  font-size: 0.94rem;
  font-weight: 720;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--white);
  background: var(--green-dark);
}

.nav-cta.is-active {
  color: var(--white);
  background: var(--green-dark);
}

.nav-links {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  display: none;
  z-index: 30;
  max-height: calc(100dvh - 98px);
  overflow: auto;
  overscroll-behavior: contain;
}

.nav-links.is-open {
  display: block;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgb(221 231 223 / 0.9);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 28px 80px rgb(21 32 25 / 0.16);
  backdrop-filter: blur(18px);
}

.mega-menu-feature {
  display: grid;
  min-height: 0;
  grid-template-rows: auto auto 1fr auto;
  margin: 0;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--green-dark);
}

.mega-menu-feature .section-kicker {
  color: #9ee6ba;
}

.mega-menu-feature strong {
  display: block;
  max-width: 10ch;
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  font-weight: 820;
  line-height: 0.98;
}

.mega-menu-feature span {
  display: block;
  max-width: 36ch;
  color: rgb(255 255 255 / 0.78);
}

.mega-menu-feature img {
  width: 100%;
  height: clamp(180px, 18vw, 280px);
  aspect-ratio: 4 / 3;
  align-self: end;
  margin-top: 24px;
  border-radius: var(--radius);
  object-fit: cover;
}

.mega-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  grid-auto-rows: minmax(190px, auto);
  gap: 10px;
}

.mega-card {
  position: relative;
  display: grid;
  min-height: 210px;
  align-content: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  background: var(--green-dark);
  text-decoration: none;
  isolation: isolate;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mega-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(6 79 43 / 0.06) 20%, rgb(6 79 43 / 0.88) 100%);
}

.mega-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.mega-card span {
  margin-bottom: 28px;
  color: rgb(255 255 255 / 0.78);
  font-size: 0.86rem;
  font-weight: 820;
}

.mega-card strong {
  margin-bottom: 5px;
  font-size: 1.2rem;
  line-height: 1.1;
}

.mega-card small {
  display: block;
  max-width: 28ch;
  color: rgb(255 255 255 / 0.78);
  font-size: 0.92rem;
  line-height: 1.38;
}

.mega-card:last-child {
  grid-column: span 2;
  min-height: 154px;
}

.mega-card:last-child small {
  max-width: 42ch;
}

.mega-card:hover,
.mega-card:focus-visible,
.mega-card.is-active {
  border-color: rgb(158 230 186 / 0.72);
  box-shadow: 0 18px 42px rgb(21 32 25 / 0.16);
  transform: translateY(-2px);
}

.mega-card:hover img,
.mega-card:focus-visible img,
.mega-card.is-active img {
  filter: saturate(1.06);
  transform: scale(1.045);
}

.mega-card.is-active::before {
  content: "Aktuell sida";
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--green-dark);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 820;
}

.hero {
  padding-top: clamp(50px, 7vw, 92px);
  padding-bottom: clamp(48px, 7vw, 92px);
  overflow: clip;
}

.home .hero {
  padding-top: clamp(36px, 5vw, 68px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(38px, 6vw, 76px);
}

.home .hero-grid {
  align-items: center;
}

.home .hero-copy {
  min-width: 0;
  padding-top: clamp(4px, 1.8vw, 22px);
}

.home .hero-copy h1 {
  max-width: none;
  font-size: clamp(2.55rem, 4.25vw, 4.55rem);
  line-height: 0.98;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 1rem;
  font-weight: 750;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  max-width: 12ch;
  font-weight: 820;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.12;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.hero-lede,
.section-heading p,
.heritage-copy p,
.story-copy p,
.contact-copy p {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.62;
}

.hero-lede {
  max-width: 58ch;
  margin-bottom: 30px;
}

.hero-subtitle {
  max-width: 24ch;
  margin: -8px 0 18px;
  color: var(--green-dark);
  font-size: clamp(1.42rem, 2.6vw, 2.15rem);
  font-weight: 820;
  line-height: 1.12;
  text-wrap: balance;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.button-primary {
  color: var(--white);
  background: var(--green);
  border: 1px solid var(--green);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button-secondary {
  color: var(--green-dark);
  background: var(--white);
  border: 1px solid var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--green);
  background: var(--green-soft);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.hero-facts div {
  min-height: 112px;
  padding: 18px;
  background: var(--white);
}

.hero-facts dt {
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: clamp(1.42rem, 2vw, 1.9rem);
  font-weight: 820;
}

.hero-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.42;
}

.hero-media {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.hero-photo,
.hero-thumb {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 52px rgb(21 32 25 / 0.1);
}

.hero-photo {
  padding: 10px;
}

.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
  border-radius: calc(var(--radius) - 2px);
}

.hero-photo figcaption,
.hero-thumb figcaption {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.42;
}

.hero-photo figcaption {
  padding: 10px 3px 2px;
}

.hero-thumb-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 12px;
}

.hero-thumb {
  box-shadow: none;
}

.hero-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-thumb:first-child img {
  object-position: center center;
}

.hero-thumb:last-child img {
  object-position: center center;
}

.hero-thumb figcaption {
  padding: 10px 12px 12px;
}

.intro-band {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.specialist-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 68px);
  align-items: center;
  padding-block: 30px;
}

.specialist-copy p:not(.section-kicker) {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.52;
}

.specialist-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.specialist-list li {
  display: flex;
  min-height: 74px;
  align-items: center;
  border: 1px solid rgb(11 111 58 / 0.16);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 0.98rem;
  font-weight: 780;
  line-height: 1.22;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 5vw, 76px);
  padding-block: 34px;
}

.intro-grid p {
  margin: 0;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.55;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.section-heading h2 {
  max-width: 13ch;
}

.home-entry {
  background: var(--paper);
}

.home-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-link-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: clamp(20px, 2.5vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-link-card span {
  display: block;
  margin-bottom: clamp(26px, 4vw, 54px);
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 820;
}

.home-link-card h3 {
  max-width: 100%;
  margin-top: auto;
  font-size: clamp(1.35rem, 2vw, 1.82rem);
  overflow-wrap: normal;
}

.home-link-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.55;
}

.home-link-card:hover,
.home-link-card:focus-visible {
  border-color: rgb(11 111 58 / 0.38);
  box-shadow: 0 16px 40px rgb(21 32 25 / 0.08);
  transform: translateY(-2px);
}

.home-link-card.is-featured {
  grid-column: span 2;
  background: var(--green-soft);
  border-color: rgb(11 111 58 / 0.18);
}

.home-link-card.is-cta {
  color: var(--white);
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.home-link-card.is-cta span,
.home-link-card.is-cta p {
  color: rgb(255 255 255 / 0.78);
}

.home-link-card.is-cta:hover,
.home-link-card.is-cta:focus-visible {
  background: var(--green);
  border-color: var(--green);
}

.section-action {
  display: flex;
  justify-content: flex-start;
}

.home-proof {
  background: var(--stone);
}

.home-process {
  background: var(--white);
}

.instagram-section {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.instagram-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.instagram-feed {
  min-height: 280px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgb(21 32 25 / 0.08);
}

.instagram-feed .commonninja_component {
  width: 100%;
  min-height: 260px;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

.proof-grid h2 {
  max-width: 15ch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 250px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: rgb(11 111 58 / 0.38);
  box-shadow: 0 16px 40px rgb(21 32 25 / 0.08);
  transform: translateY(-2px);
}

.service-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--green);
  font-weight: 820;
}

.service-card p,
.feature-panel p,
.quality-list p,
.story-copy blockquote,
.contact-card span {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.55;
}

.project-feature {
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-bottom: clamp(38px, 6vw, 70px);
}

.feature-panel {
  display: grid;
  min-height: 360px;
  grid-template-rows: 1fr auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.feature-panel.large {
  grid-row: span 2;
}

.feature-panel img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.feature-panel.large img {
  min-height: 620px;
}

.feature-panel div {
  padding: 22px;
  background: var(--paper);
}

.feature-panel p {
  margin-bottom: 0;
}

.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-button {
  border: 1px solid var(--line);
  padding: 0 16px;
  color: var(--green-dark);
  background: var(--white);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  color: var(--white);
  border-color: var(--green);
  background: var(--green);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  display: grid;
  min-height: 230px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  background: var(--green-dark);
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0) 45%, rgb(0 0 0 / 0.62) 100%);
}

.gallery-item span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 1;
  font-weight: 720;
  text-align: left;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  filter: saturate(1.08);
  transform: scale(1.035);
}

.heritage {
  background: linear-gradient(180deg, var(--paper), var(--stone));
}

.heritage-grid,
.story-grid,
.environment-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.heritage-copy h2,
.story-copy h2,
.contact-copy h2 {
  max-width: 11ch;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 12px;
  color: var(--green-dark);
  font-weight: 780;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.heritage-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.heritage-images img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 14px 34px rgb(21 32 25 / 0.1);
}

.heritage-images img:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

.story {
  background: var(--white);
}

.story-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
}

.story-media {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 12px;
  align-items: end;
}

.story-media img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.story-media img:first-child {
  aspect-ratio: 3 / 4;
}

.story-media img:last-child {
  aspect-ratio: 1 / 1;
  transform: translateY(-38px);
}

.story-copy blockquote {
  margin: 30px 0 0;
  padding: 22px;
  border-left: 4px solid var(--green);
  background: var(--green-soft);
  border-radius: var(--radius);
}

.story-copy blockquote p {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.26rem;
  line-height: 1.38;
}

.story-copy cite {
  color: var(--green-dark);
  font-style: normal;
  font-weight: 760;
}

.environment-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.environment .section-heading {
  position: sticky;
  top: 110px;
  margin-bottom: 0;
}

.quality-list {
  display: grid;
  gap: 12px;
}

.quality-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.quality-list p {
  margin-bottom: 0;
}

.contact {
  color: var(--white);
  background: var(--green-dark);
}

.contact .section-kicker,
.contact-card a {
  color: #9ee6ba;
}

.contact h2,
.contact p {
  color: var(--white);
}

.contact-copy p {
  color: rgb(255 255 255 / 0.78);
}

.contact .button-primary {
  color: var(--green-dark);
  background: var(--white);
  border-color: var(--white);
}

.contact .button-primary:hover,
.contact .button-primary:focus-visible {
  color: var(--green-dark);
  background: #dff5e8;
  border-color: #dff5e8;
}

.contact .button-secondary {
  color: var(--white);
  background: transparent;
  border-color: rgb(255 255 255 / 0.32);
}

.contact .button-secondary:hover,
.contact .button-secondary:focus-visible {
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.62);
}

.contact-card {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.12);
}

.contact-card strong {
  margin-bottom: 8px;
  font-size: 1.48rem;
}

.contact .contact-card strong {
  color: var(--white);
}

.contact-card a {
  width: fit-content;
  color: #dff5e8;
  font-size: 1rem;
  font-weight: 760;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact .contact-card span,
.contact-card .muted {
  color: rgb(255 255 255 / 0.82);
}

.contact .contact-card-sheet {
  position: relative;
  align-self: center;
  gap: 18px;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  box-shadow: 0 28px 80px rgb(0 0 0 / 0.18);
}

.contact .contact-card-sheet::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--green), #43a366 58%, #cfeedd);
}

.contact-card-kicker {
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 840;
  line-height: 1;
}

.contact .contact-card-sheet strong {
  max-width: 100%;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(1.24rem, 1.65vw, 1.55rem);
  line-height: 1.08;
  white-space: nowrap;
}

.contact-card-section {
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-card-links {
  gap: 8px;
}

.contact-person-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.contact-person,
.footer-contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}

.contact-person a,
.footer-contact-line a {
  min-height: 32px;
}

.contact .contact-card-sheet a {
  color: var(--green-dark);
  font-size: 1.05rem;
  font-weight: 820;
  text-decoration-thickness: 1.5px;
}

.contact .contact-card-sheet span,
.contact .contact-card-sheet .muted {
  color: var(--muted);
}

.contact-card-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-card-row-single {
  grid-template-columns: 1fr;
}

.contact .contact-card-row span {
  min-width: 0;
  padding: 11px 13px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 760;
  line-height: 1.25;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.site-footer {
  padding-block: clamp(42px, 6vw, 76px) 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--white), var(--paper));
}

.footer-shell {
  display: grid;
  gap: 34px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(320px, 1.15fr) minmax(220px, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.footer-company {
  display: grid;
  gap: 18px;
}

.footer-brand {
  display: inline-flex;
  width: min(220px, 72vw);
}

.footer-company p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.58;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badges span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 11px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid rgb(11 111 58 / 0.14);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 760;
  line-height: 1.1;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.footer-nav div,
.footer-contact {
  display: grid;
  gap: 10px;
  margin: 0;
}

.footer-contact {
  font-style: normal;
}

.footer-contact-line {
  min-height: 34px;
}

.site-footer h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 840;
  line-height: 1.2;
}

.site-footer a {
  width: fit-content;
  color: var(--green-dark);
  font-weight: 760;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.footer-nav a,
.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 34px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--green-dark);
}

.footer-contact a {
  color: var(--green-dark);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.privacy-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.privacy-summary {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgb(11 111 58 / 0.18);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 54px rgb(13 41 25 / 0.08);
}

.privacy-summary strong {
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1;
}

.privacy-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.58;
}

.privacy-summary .button {
  width: fit-content;
}

.privacy-body {
  display: grid;
  gap: 14px;
}

.policy-block {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.policy-block h2 {
  max-width: none;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.12;
}

.policy-block p,
.policy-block li {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.62;
}

.policy-block p:last-child,
.policy-block ul:last-child {
  margin-bottom: 0;
}

.policy-block a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green-dark);
  font-weight: 760;
  text-underline-offset: 4px;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: min(920px, calc(100vw - 36px));
  padding: 18px;
  color: var(--ink);
  background: rgb(251 253 250 / 0.98);
  border: 1px solid rgb(11 111 58 / 0.2);
  border-radius: var(--radius);
  box-shadow: 0 24px 76px rgb(13 41 25 / 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-copy {
  min-width: 0;
}

.cookie-copy strong {
  display: block;
  margin-bottom: 5px;
  color: var(--green-dark);
  font-size: 1.06rem;
  line-height: 1.2;
}

.cookie-copy p {
  max-width: 72ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.52;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.cookie-actions .text-link {
  color: var(--green-dark);
  font-size: 0.96rem;
  font-weight: 760;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.cookie-actions .button {
  width: fit-content;
  min-height: 42px;
  padding-inline: 18px;
}

.project-dialog {
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  background: #0d1510;
  box-shadow: 0 30px 90px rgb(0 0 0 / 0.42);
}

.project-dialog::backdrop {
  background: rgb(7 15 10 / 0.76);
}

.project-dialog img {
  width: 100%;
  max-height: min(78dvh, 760px);
  object-fit: contain;
  background: #0d1510;
}

.project-dialog p {
  margin: 0;
  padding: 16px 18px 18px;
  color: rgb(255 255 255 / 0.84);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 40px;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--white);
  background: rgb(0 0 0 / 0.48);
}

.dialog-close:hover,
.dialog-close:focus-visible {
  background: rgb(0 0 0 / 0.72);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.subpage .site-header {
  background: rgb(251 253 250 / 0.96);
}

.page-hero {
  padding-top: clamp(58px, 8vw, 104px);
  padding-bottom: clamp(54px, 8vw, 104px);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.page-hero-copy {
  min-width: 0;
}

.page-hero-copy h1 {
  max-width: min(100%, 15ch);
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 3.9vw, 3.6rem);
  line-height: 1.02;
}

.offert .page-hero-copy h1,
.integritetspolicy .page-hero-copy h1,
.kontakt .page-hero-copy h1,
.miljo .page-hero-copy h1,
.om-oss .page-hero-copy h1 {
  max-width: min(100%, 17ch);
}

.page-hero-copy p:not(.section-kicker) {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.17rem;
  line-height: 1.62;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 22px;
  color: var(--green-dark);
  font-weight: 720;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.page-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--stone);
  box-shadow: var(--shadow);
}

.page-media img {
  display: block;
  width: 100%;
  height: clamp(340px, 44vw, 620px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.content-section {
  padding-block: clamp(64px, 8vw, 112px);
}

.pale-section {
  background: var(--stone);
}

.split,
.two-col,
.contact-page-grid,
.legacy-map {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.text-block h2,
.info-panel h2,
.legacy-map h2,
.contact-copy h2 {
  max-width: 16ch;
  margin-bottom: 18px;
  font-size: clamp(1.85rem, 3.4vw, 3.05rem);
}

.form-layout .text-block h2 {
  max-width: 18ch;
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
}

.text-block p,
.info-panel p,
.contact-page-grid p {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.subpage .service-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.22rem, 2vw, 1.55rem);
  line-height: 1.12;
}

.process-list {
  display: grid;
  gap: 12px;
}

.process-list article,
.info-panel {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 7px;
  color: var(--green-dark);
  font-size: 1.14rem;
}

.process-list span {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.55;
}

.process-list-spacious {
  gap: 14px;
}

.process-list-spacious article {
  display: grid;
  gap: 6px;
}

.info-panel .button {
  width: fit-content;
  margin-top: 12px;
}

.checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.55;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tag-grid a {
  display: grid;
  gap: 6px;
  min-height: 96px;
  align-content: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green-dark);
  background: var(--white);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.tag-grid strong {
  color: var(--green-dark);
  font-size: 1.05rem;
  line-height: 1.2;
}

.tag-grid span {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.4;
}

.tag-grid a:hover,
.tag-grid a:focus-visible {
  border-color: var(--green);
  background: var(--green-soft);
}

.tag-grid a:active {
  transform: translateY(1px);
}

.contact-page-grid {
  align-items: center;
}

.light-card {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.light-card a {
  color: var(--green-dark);
}

.light-card span,
.light-card .muted {
  color: var(--muted);
}

.offer-panel {
  background: var(--green-soft);
  border-color: rgb(11 111 58 / 0.2);
}

.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  margin-top: 26px;
}

.offer-actions .button,
.offer-actions .text-link {
  margin-top: 0;
}

.offer-actions .text-link {
  white-space: nowrap;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.netlify-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgb(21 32 25 / 0.08);
}

.intake-form {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.intake-form .form-field {
  grid-column: span 3;
}

.intake-form .form-field-full,
.intake-form .form-group,
.intake-form .button {
  grid-column: 1 / -1;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field-full,
.form-group,
.captcha-field,
.netlify-form .button {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 760;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field textarea {
  min-height: 148px;
  resize: vertical;
}

.intake-form textarea {
  min-height: 172px;
}

.intake-form #kontakt-meddelande {
  min-height: 210px;
}

.form-group {
  min-width: 0;
  margin: 4px 0 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--paper);
}

.form-group legend {
  padding-inline: 4px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 760;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.checkbox-option {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--green-dark);
  background: var(--white);
  font-weight: 720;
}

.checkbox-option input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  accent-color: var(--green);
}

.checkbox-option span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.captcha-field {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--green-dark);
  background: var(--paper);
  font-weight: 760;
}

.captcha-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgb(11 111 58 / 0.14);
}

.netlify-form .button {
  justify-self: start;
  border: 0;
}

.netlify-hidden {
  display: none;
}

.redirect-page {
  background: var(--paper);
}

.redirect-page h1 {
  max-width: 12ch;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .nav-links {
    top: calc(100% + 8px);
    max-height: calc(100dvh - 92px);
    overflow: auto;
  }

  .mega-menu-inner {
    grid-template-columns: 1fr;
  }

  .mega-menu-feature {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 0.52fr);
    grid-template-rows: auto auto auto;
    column-gap: 20px;
    align-items: end;
  }

  .mega-menu-feature img {
    grid-column: 2;
    grid-row: 1 / span 3;
    height: clamp(180px, 25vw, 260px);
    margin-top: 0;
  }

  .mega-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mega-card:last-child {
    grid-column: auto;
  }

  .hero-grid,
  .page-hero-grid,
  .heritage-grid,
  .story-grid,
  .environment-grid,
  .contact-grid,
  .proof-grid,
  .split,
  .two-col,
  .contact-page-grid,
  .legacy-map,
  .privacy-grid,
  .specialist-strip,
  .instagram-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .privacy-summary {
    position: static;
  }

  .hero-media {
    min-height: 0;
    max-width: 720px;
  }

  .hero-photo {
    width: 100%;
  }

  .service-grid,
  .home-link-grid,
  .gallery-grid,
  .tag-grid,
  .specialist-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .environment .section-heading {
    position: static;
  }
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .site-header {
    position: sticky;
  }

  .nav-shell {
    min-height: 68px;
    gap: 12px;
  }

  .nav-quick-cta {
    display: none;
  }

  .nav-links {
    max-height: calc(100dvh - 84px);
  }

  .mega-menu-inner {
    padding: 10px;
  }

  .mega-menu-feature {
    display: block;
    padding: 20px;
  }

  .mega-menu-feature strong {
    max-width: 11ch;
    font-size: clamp(1.85rem, 10vw, 2.8rem);
  }

  .mega-menu-feature img {
    width: 100%;
    height: clamp(170px, 52vw, 240px);
    margin-top: 18px;
    aspect-ratio: 16 / 9;
  }

  .mega-card-grid {
    grid-template-columns: 1fr;
  }

  .mega-card:last-child {
    grid-column: auto;
  }

  .mega-card {
    min-height: 156px;
  }

  .hero {
    padding-top: 42px;
  }

  .home .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 11.6vw, 4rem);
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: clamp(1.28rem, 6.2vw, 1.75rem);
  }

  .page-hero {
    padding-top: 42px;
  }

  .breadcrumb {
    min-width: 44px;
  }

  h1 {
    font-size: clamp(2.05rem, 9.2vw, 3.05rem);
  }

  h2 {
    font-size: clamp(1.72rem, 7.6vw, 2.45rem);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .offer-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .offer-actions .text-link {
    white-space: normal;
  }

  .text-link,
  .contact-card a,
  .footer-nav a,
  .footer-contact a,
  .footer-bottom a {
    min-width: 44px;
    min-height: 44px;
  }

  .contact-card-row {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .info-panel .button {
    width: 100%;
  }

  .netlify-form {
    grid-template-columns: 1fr;
  }

  .captcha-field {
    width: 100%;
  }

  .intake-form .form-field {
    grid-column: 1 / -1;
  }

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

  .netlify-form .button {
    justify-self: stretch;
  }

  .hero-facts,
  .intro-grid,
  .service-grid,
  .home-link-grid,
  .feature-grid,
  .gallery-grid,
  .tag-grid,
  .specialist-list,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .home-link-card,
  .home-link-card.is-featured {
    grid-column: auto;
  }

  .home-link-card {
    min-height: 190px;
  }

  .page-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8.2vw, 2.85rem);
  }

  .offert .page-hero-copy h1,
  .integritetspolicy .page-hero-copy h1,
  .kontakt .page-hero-copy h1,
  .miljo .page-hero-copy h1,
  .om-oss .page-hero-copy h1 {
    max-width: 100%;
  }

  .page-media img {
    height: clamp(240px, 72vw, 340px);
    aspect-ratio: 4 / 3;
  }

  .hero-facts div {
    min-height: auto;
  }

  .hero-photo {
    width: 100%;
    padding: 6px;
  }

  .hero-photo img {
    aspect-ratio: 3 / 4;
  }

  .hero-thumb-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel.large {
    grid-row: auto;
  }

  .feature-panel.large img,
  .feature-panel img {
    min-height: 280px;
  }

  .gallery-item,
  .gallery-item img {
    min-height: 260px;
  }

  .heritage-images,
  .story-media {
    grid-template-columns: 1fr;
  }

  .heritage-images img:first-child {
    grid-row: auto;
    aspect-ratio: 1 / 1;
  }

  .story-media img:last-child {
    transform: none;
  }

  .footer-main {
    align-items: start;
  }

  .footer-bottom {
    display: grid;
    justify-content: start;
  }

  .cookie-banner {
    right: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
    gap: 14px;
    width: calc(100vw - 28px);
    padding: 16px;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .text-link,
  .cookie-actions .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 440px) {
  .brand {
    width: 138px;
  }

  .nav-toggle {
    min-height: 44px;
    padding-inline: 12px;
  }

  .gallery-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-button {
    width: 100%;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-badges {
    display: grid;
  }
}
