/* Risskov Mediehus site styles — RM brand */
:root {
  --teal: #004e45;
  --teal-deep: #002723;
  --lime: #86b23f;
  --lime-soft: #c5d99a;
  --grey: #676767;
  --ink: #1a1a1a;
  --sand: #deeddb;
  --sand-warm: #e8f2e6;
  --white: #ffffff;
  --overlay: rgba(0, 35, 30, 0.35);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Montserrat", system-ui, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 400;
  color: var(--ink);
  background: var(--teal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 22px; } }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.9; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }


.container {
  width: 100%;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  max-width: 1440px;
}
@media (min-width: 768px) {
  .container { padding-left: 4rem; padding-right: 4rem; }
}
@media (min-width: 1400px) {
  .container { padding-left: 5rem; padding-right: 5rem; }
}

/* —— Header (fixed, flex, contact button) —— */
.header {
  position: fixed;
  z-index: 100;
  left: 0; top: 0;
  width: 100%;
  padding: 16px 0;
  transition: background 0.2s ease-out, padding 0.2s ease-out, box-shadow 0.2s, transform 0.28s var(--ease);
  color: #fff;
}
.header.is-scrolled {
  background: rgba(0, 78, 69, 0.96);
  backdrop-filter: blur(8px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}
.header.is-hidden {
  transform: translateY(-110%);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .menu { flex: 1; display: flex; justify-content: center; }
  .menu__list { gap: 2.25rem; }
  .header__contact.mobile-show { display: none !important; }
  .header { padding: 14px 0; }
  .header.is-scrolled { padding: 10px 0; }
}
.header__logo img {
  height: 36px;
  width: auto;
  filter: none;
}
@media (min-width: 900px) {
  .header { padding: 22px 0; }
  .header__logo img { height: 42px; }
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.45);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  border-radius: 999px;
}
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--teal-deep); padding: 1rem 1.5rem 1.5rem; }
  .menu.is-open { display: block; }
  .menu__list { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .header__contact { display: none; }
  .header__contact.mobile-show { display: flex; margin: 1rem 0 0; }
}

.menu__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.menu__link {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding: 0.25rem 0;
}
.menu__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--lime);
  transition: width 0.25s var(--ease);
}
.menu__link:hover::after,
.menu__link[aria-current="page"]::after { width: 100%; }

.menu__item--has-sub { position: relative; }
.menu__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  padding: 14px 0 0;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  box-shadow: none;
  z-index: 50;
}
.menu__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  bottom: 0;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  z-index: -1;
}
.menu__item--has-sub:hover .menu__dropdown,
.menu__item--has-sub:focus-within .menu__dropdown,
.menu__item--has-sub.is-open .menu__dropdown { display: block; }
.menu__dropdown a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
}
.menu__dropdown a:hover { background: var(--sand); opacity: 1; }
@media (max-width: 899px) {
  .menu__dropdown {
    position: static; transform: none; display: block;
    background: transparent; box-shadow: none; padding: 0.25rem 0 0.75rem 1rem;
  }
  .menu__dropdown::before { display: none; }
  .menu__dropdown a { color: #fff; font-weight: 500; }
}

.header__contact {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.header__contact__icon {
  width: 28px; height: 28px;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  display: grid; place-items: center;
}
.header__contact__icon svg { width: 14px; height: 14px; }
.header__contact:hover { color: var(--lime-soft); opacity: 1; }

/* —— Sections —— */
.section--teal { background: var(--teal); color: #fff; }
.front__def-wrap {
  border-top: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(0,39,35,0.35) 0%, transparent 28%),
    var(--teal);
}
.case-link {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.cases-intro {
  max-width: 36rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.cases-intro__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: 0.85rem;
}
.cases-intro__text {
  opacity: 0.85;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}
.section--teal h1, .section--teal h2, .section--teal h3 { color: #fff; }
.section--teal .screen-gallery-head p { color: rgba(255,255,255,0.78); }
.section--sand { background: var(--sand); color: var(--ink); }
.section--sand h1, .section--sand h2, .section--sand h3 { color: var(--teal); }
.section--white { background: #fff; color: var(--ink); }
.section--l { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.section--m { padding-top: 5rem; padding-bottom: 5rem; }
.section--s { padding-top: 4.5rem; padding-bottom: 4.5rem; }
@media (min-width: 1024px) {
  .section--l { padding-top: 9rem; padding-bottom: 9rem; }
  .section--m { padding-top: 7.5rem; padding-bottom: 7.5rem; }
  .section--s { padding-top: 6rem; padding-bottom: 6rem; }
}
.padding--top { padding-top: calc(var(--header-h) + 2rem); }

/* —— Hero (front__top) —— */
.front__wrapper { position: relative; overflow: hidden; }
.front__top {
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .front__top { padding-top: 150px; padding-bottom: 180px; min-height: 62vh; display: flex; flex-direction: column; justify-content: center; }
}
@media (min-width: 1200px) {
  .front__top { padding-top: 160px; padding-bottom: 220px; min-height: 68vh; }
}
.front__top__title {
  font-size: clamp(2.8rem, 10.5vw, 8.75rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.045em;
  max-width: 14ch;
  margin: 0 auto;
}
.front__top__text {
  padding-top: 24px;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 400;
  max-width: 36rem;
  margin: 0 auto;
  opacity: 0.95;
  line-height: 1.4;
}
.front__top__circle {
  position: absolute;
  width: min(58vw, 620px);
  height: min(58vw, 620px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(134,178,63,0.42) 0%, transparent 68%);
  right: -8%;
  top: -6%;
  pointer-events: none;
  z-index: 0;
}

/* Service menu (front__sp) */
.front__sp { position: relative; z-index: 2; margin-top: 3.5rem; max-width: 920px; margin-left: auto; margin-right: auto; }
.front__sp__header {
  width: 100%;
  padding-bottom: 36px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
@media (min-width: 1024px) {
  .front__sp__header { padding-bottom: 64px; font-size: 18px; }
}
.front__sp__menu__item__link {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.45rem 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: clamp(1.7rem, 4.4vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  transition: padding 0.35s var(--ease), color 0.2s;
}
.front__sp__menu__item--meta {
  flex: 1 1 100%;
  order: 3;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s, max-height 0.3s;
}
.front__sp__menu__item__link:hover .front__sp__menu__item--meta {
  opacity: 0.8;
  max-height: 4rem;
}
.front__sp__menu__item:last-child .front__sp__menu__item__link {
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.front__sp__menu__item__link:hover {
  color: var(--lime);
  opacity: 1;
  padding-left: 0.75rem;
}
.front__sp__menu__item--arrow {
  flex-shrink: 0;
  width: 42px;
  opacity: 0.35;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.front__sp__menu__item__link:hover .front__sp__menu__item--arrow,
.front__sp__menu__item__link:focus-visible .front__sp__menu__item--arrow {
  transform: translateX(10px);
  opacity: 1;
}
.front__sp__menu__item--arrow svg { width: 100%; height: auto; fill: currentColor; }

/* Definition band */
.front__def {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .front__def { grid-template-columns: 0.9fr 1.4fr; gap: 4rem; }
}
.front__def__mark {
  width: min(100%, 280px);
  aspect-ratio: 1.2;
  border-radius: 50% 40% 55% 45%;
  background: linear-gradient(135deg, rgba(134,178,63,0.55), rgba(0,39,35,0.4));
  opacity: 0.85;
}
.front__def__title {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 0.5rem;
}
.front__def__phonetic {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 300;
  opacity: 0.85;
  margin-bottom: 1rem;
}
.front__def__text {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  max-width: 28ch;
}

/* Cases grid (cases-link) */
.cases-link__row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}
.cases-link__item {
  width: 100%;
  padding: 8px;
}
@media (min-width: 700px) {
  .cases-link__item { width: 50%; padding: 1.25rem 1.5rem; }
}
@media (min-width: 1100px) {
  .cases-link__item { padding-left: 56px; padding-right: 56px; }
  .cases-link__item:nth-child(even) { transform: translateY(72px); }
  .cases-link__item:nth-child(3),
  .cases-link__item:nth-child(4) { margin-top: 0; }
  .cases-link__row { padding-bottom: 72px; }
}
.cases-link__item__link { display: block; position: relative; }
.cases-link__item__image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 16px;
  background: var(--teal-deep);
}
.cases-link__item.is-wide .cases-link__item__image-container,
.cases-link__item:nth-child(2) .cases-link__item__image-container,
.cases-link__item:nth-child(3) .cases-link__item__image-container {
  aspect-ratio: 2 / 1.22;
}
.cases-link__item:nth-child(1) .cases-link__item__image-container,
.cases-link__item:nth-child(4) .cases-link__item__image-container {
  aspect-ratio: 1;
}
.cases-link__item__image-overlay {
  position: absolute; inset: 0;
  background: var(--overlay);
  z-index: 2;
  pointer-events: none;
  transition: background 0.3s;
}
.cases-link__item__link:hover .cases-link__item__image-overlay {
  background: rgba(0, 35, 30, 0.15);
}
.cases-link__item__image {
  position: absolute; inset: 0;
  transition: transform 0.55s var(--ease);
  z-index: 1;
}
.cases-link__item__link:hover .cases-link__item__image {
  transform: scale(1.04);
}
.cases-link__item__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  min-width: 100%; min-height: 100%;
}
.cases-link__item__title {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  margin: 10px 0 8px;
  line-height: 1.2;
}
.cases-link__item__firm {
  display: inline-block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}
.cases-link__item__firm::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: rgba(255,255,255,0.33);
  transition: background 0.3s;
}
.cases-link__item__link:hover .cases-link__item__firm::before {
  background: #fff;
}
.cases-link__seemore__wrapper {
  text-align: center;
  padding: 3rem 0 1rem;
}
.cases-link__seemore {
  display: inline-block;
  font-size: clamp(1.25rem, 3vw, 2.1rem);
  font-weight: 700;
  position: relative;
  padding: 8px 0;
}
.cases-link__seemore::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  width: 100%; height: 2px;
  background: rgba(255,255,255,0.4);
  transition: background 0.25s;
}
.cases-link__seemore:hover::after { background: var(--lime); }

/* About tease (text-image sand) */
.about-tease__title {
  text-align: center;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.92;
  margin-bottom: 3.5rem;
}
@media (min-width: 1024px) { .about-tease__title { margin-bottom: 7rem; } }
.about-tease__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .about-tease__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: start;
  }
  .about-tease__grid > div:last-child { padding-top: 3.5rem; }
}
.about-tease__media {
  position: relative;
  min-height: 420px;
}
.about-tease__media img {
  width: 58%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  position: absolute;
  box-shadow: 0 20px 50px rgba(0,39,35,0.18);
}
.about-tease__media .m1 {
  width: 62%;
  top: 0; left: 0;
  z-index: 2;
}
.about-tease__media img:nth-child(2) {
  width: 46%;
  top: 8%;
  right: 0;
  left: auto;
  z-index: 1;
}
.about-tease__media img:nth-child(3) {
  width: 42%;
  bottom: 0;
  right: 8%;
  left: auto;
  z-index: 3;
}
@media (max-width: 699px) {
  .about-tease__media { min-height: 320px; }
}
.about-tease__kicker {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.about-tease__text {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.45;
  color: var(--grey);
}
.about-tease__text p { margin-bottom: 1rem; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--teal);
  border-bottom: 1px solid var(--teal);
  padding-bottom: 2px;
}
.btn-cta:hover { color: var(--lime); border-color: var(--lime); opacity: 1; }

/* Soft contact (footer__contact) */
.footer__contact {
  margin: 0 auto;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
@media (min-width: 900px) {
  .footer__contact { padding-top: 140px; padding-bottom: 140px; }
}
.footer__contact__top {
  font-size: clamp(1.15rem, 2.5vw, 2rem);
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--ink);
}
.footer__contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: clamp(3.4rem, 11vw, 9.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--teal);
  line-height: 0.92;
  margin: 0.75rem 0 1.25rem;
}
.footer__contact__btn:hover { color: var(--lime); opacity: 1; }
.footer__contact__btn svg {
  width: clamp(28px, 4vw, 48px);
  height: auto;
}
.footer__contact__bot {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--grey);
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--teal-deep);
  color: #fff;
  padding: 6.5rem 0 3rem;
}
.site-footer::before {
  content: "";
  position: absolute;
  width: min(48vw, 520px);
  height: min(48vw, 520px);
  border-radius: 46% 54% 48% 52%;
  background: radial-gradient(circle, rgba(134,178,63,0.28), transparent 70%);
  right: -8%;
  bottom: -18%;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 4rem; }
}
.site-footer h2 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.75;
  font-weight: 600;
}
.site-footer p, .site-footer li { font-size: 0.95rem; line-height: 1.5; opacity: 0.9; }
.site-footer a:hover { color: var(--lime-soft); opacity: 1; }
.footer-partner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin: 0 0 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.footer-partner p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}
.footer-partner img {
  height: clamp(56px, 7vw, 72px);
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-legal {
  font-size: 0.75rem;
  opacity: 0.55;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
}

/* Inner pages */
.page-main { background: #fff; color: var(--ink); min-height: 50vh; }
.page-hero {
  background: var(--teal);
  color: #fff;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 16ch;
}
.page-hero .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  max-width: 36rem;
  margin-top: 1rem;
  opacity: 0.92;
  font-weight: 400;
}
.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.75;
  margin-bottom: 0.75rem;
}
.section-pad { padding: 4rem 0; }
@media (min-width: 900px) { .section-pad { padding: 5.5rem 0; } }

.prose { max-width: 40rem; }
.prose h2 { font-size: 1.5rem; color: var(--teal); margin: 2rem 0 0.75rem; }
.prose p { color: var(--grey); line-height: 1.55; }
.soft-note {
  border-left: 3px solid var(--lime);
  padding: 0.75rem 1rem;
  background: var(--sand);
  color: var(--teal-deep);
  font-size: 0.95rem;
  margin: 1.25rem 0;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.btn {
  display: inline-flex; align-items: center;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); opacity: 1; }
.btn-ghost { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-ghost:hover { background: var(--sand); opacity: 1; }
.btn-lime { background: var(--lime); color: var(--teal-deep); }
.btn-on-teal { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-on-teal:hover { background: rgba(255,255,255,0.1); opacity: 1; }

.two-col {
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 800px) { .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  margin: 1.5rem 0 2rem;
}
.video-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.quote {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--sand);
  border-radius: 4px;
}
.quote p { font-size: 1.1rem; font-style: italic; color: var(--teal-deep); margin-bottom: 1rem; }
.quote-person { display: flex; align-items: center; gap: 0.75rem; }
.quote-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote cite { font-style: normal; font-size: 0.9rem; font-weight: 600; color: var(--teal); }

/* ===== Pharmacy partner review grid (apotek + FSC) ===== */
.pharmacy-review-list {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 800px) {
  .pharmacy-review-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .pharmacy-review-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.pharmacy-review-list .quote {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pharmacy-review-list .quote > p {
  flex: 1 1 auto;
  margin-bottom: 1rem;
}
.pharmacy-review-list .quote-person {
  margin-top: auto;
  align-items: flex-start;
  gap: 0.75rem;
}
.pharmacy-review-list .quote-person img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  display: block;
}
.pharmacy-review-list .quote-person__meta {
  flex: 1 1 auto;
  min-height: 3.6em; /* reserve ~3 title lines so baselines match across cards */
  display: flex;
  align-items: flex-start;
}
.pharmacy-review-list .quote-person__meta cite,
.quote-person__attribution--long {
  display: block;
  line-height: 1.25;
}


.case-meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.9rem;
}
.case-meta span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.2rem;
}

.gap-flag {
  margin: 1rem 0;
  padding: 1rem 1.15rem;
  border: 1px dashed rgba(255,255,255,0.35);
  font-size: 0.9rem;
  opacity: 0.85;
}
.page-main .gap-flag {
  border-color: var(--grey);
  color: var(--grey);
  background: #f7f7f7;
}

.insight-list { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .insight-list { grid-template-columns: repeat(3, 1fr); } }
.insight-card {
  padding: 1.5rem;
  background: var(--sand);
  border-radius: 4px;
}
.insight-card h3 { font-size: 1.15rem; color: var(--teal); margin-bottom: 0.5rem; }
.insight-card p { font-size: 0.95rem; color: var(--grey); margin: 0; }

.contact-panel {
  display: grid; gap: 2rem;
}
@media (min-width: 800px) { .contact-panel { grid-template-columns: 1.2fr 1fr; } }
.contact-list li { margin-bottom: 0.75rem; font-size: 1rem; }
.contact-list strong { display: block; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.65; margin-bottom: 0.15rem; }

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.85s var(--ease) var(--reveal-delay, 0ms), transform 0.85s var(--ease) var(--reveal-delay, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

.logo-strip {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 1.5rem 2.25rem;
  padding: 2rem 0;
  opacity: 0.85;
}
.logo-strip img {
  height: 28px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}


/* =========================================================
   Editorial improvement pass · 2026-09-15
   Closer cadence and geometry, entirely in RM's own palette.
   ========================================================= */
:root {
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --measure: 62rem;
  --section-space: clamp(5.5rem, 11vw, 11.5rem);
  --hairline: rgba(255,255,255,.28);
}
body { overflow-x: hidden; }
::selection { background: var(--lime); color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
.container { max-width: 1600px; padding-inline: var(--gutter); }

/* Header: lower, wider and quieter, with a clear contact destination. */
.header { padding: 1.35rem 0; }
.header-inner { min-height: 3rem; }
.header__logo { position: relative; z-index: 2; flex: 0 0 auto; }
.header__logo img { height: clamp(2rem, 3vw, 2.65rem); }
.menu { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; }
.header__contact.mobile-show { display: none; }
.menu__list { gap: clamp(1.15rem, 2.4vw, 2.75rem); }
.menu__link { font-size: .9rem; font-weight: 600; letter-spacing: .01em; } /* was .82rem; +~1.3px nav labels 2026-09-23 */
.header__contact {
  margin-left: 0;
  min-height: 2.9rem;
  padding: .4rem 1rem .4rem .5rem;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 999px;
  gap: .65rem;
  font-size: .82rem;
  letter-spacing: .01em;
  background: rgba(255,255,255,.06);
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.header__contact__icon { width: 2rem; height: 2rem; border: 0; background: rgba(255,255,255,.12); }
.header__contact:hover { color: #fff; border-color: var(--lime-soft); background: rgba(255,255,255,.12); transform: translateY(-1px); }
.header.is-scrolled { padding: .7rem 0; background: rgba(0,63,56,.94); box-shadow: 0 1px 0 rgba(255,255,255,.12); }
.header.is-scrolled .header-inner { min-height: 2.65rem; }

/* Large, continuous homepage rhythm. */
.front__wrapper { padding-bottom: clamp(5rem, 10vw, 10rem); }
.front__top {
  min-height: min(78vh, 850px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(7.5rem, 13vw, 12rem) 0 clamp(7rem, 14vw, 13rem);
}
.front__top__title {
  font-size: clamp(3.45rem, 9.2vw, 8.6rem);
  line-height: .88;
  letter-spacing: -.065em;
  max-width: 10.5ch;
  text-wrap: balance;
}
.front__top__text {
  padding-top: clamp(1.8rem, 4vw, 4rem);
  max-width: 39rem;
  font-size: clamp(1rem, 1.65vw, 1.45rem);
  line-height: 1.48;
  font-weight: 400;
}
.front__top__circle {
  position: static;
  order: 3;
  width: .9rem;
  height: .9rem;
  margin: clamp(1.75rem, 4vw, 4rem) auto 0;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: none;
}
.front__sp { margin: 0; padding-top: clamp(2rem, 4vw, 4rem); }
.front__sp__header {
  padding-bottom: clamp(2rem, 4vw, 4rem);
  font-size: clamp(.72rem, 1vw, .9rem);
  letter-spacing: .15em;
  font-weight: 600;
}
.front__sp__menu { width: min(100%, 61rem); }
.front__sp__menu:hover .front__sp__menu__item { opacity: .48; }
.front__sp__menu .front__sp__menu__item:hover { opacity: 1; }
.front__sp__menu__item { transition: opacity .3s ease; }
.front__sp__menu__item__link {
  position: relative;
  justify-content: flex-start;
  padding: clamp(1.05rem, 2.3vw, 2rem) 0;
  border: 0 !important;
  font-size: clamp(1.65rem, 4vw, 3.8rem);
  line-height: 1;
}
.front__sp__menu__item__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: .65rem;
  width: 0; height: 1px;
  background: currentColor;
  opacity: .55;
  transition: width .45s var(--ease);
}
.front__sp__menu__item__link:hover { padding-left: 0; color: #fff; }
.front__sp__menu__item__link:hover::after { width: calc(100% + 3.5rem); }
.front__sp__menu__item--arrow { width: clamp(1.7rem, 3vw, 2.8rem); margin-left: 1rem; opacity: 0; transform: translateX(-.5rem); }
.front__sp__menu__item__link:hover .front__sp__menu__item--arrow { opacity: 1; transform: translateX(.5rem); }
.front__sp__menu__item--meta {
  margin-left: auto;
  max-width: 19rem;
  padding-left: 2rem;
  font-size: clamp(.72rem, 1vw, .9rem);
  line-height: 1.45;
  letter-spacing: .01em;
  font-weight: 400;
  opacity: .68;
}

/* Definition becomes a true editorial pause, not a card. */
.front__def-wrap { padding-block: var(--section-space); }
.front__def { grid-template-columns: minmax(12rem,.75fr) minmax(0,1.25fr); gap: clamp(3rem, 9vw, 9rem); }
.front__def__mark { width: min(100%, 25rem); border-radius: 55% 45% 58% 42%; transform: rotate(-5deg); }
.front__def__title { font-size: clamp(2.3rem, 5.2vw, 5rem); letter-spacing: -.045em; }
.front__def__phonetic { font-size: clamp(1rem, 1.7vw, 1.55rem); margin: .75rem 0 1.75rem; }
.front__def__text { max-width: 34ch; font-size: clamp(1.15rem, 2.1vw, 1.75rem); line-height: 1.42; }

/* Work grid: bold alternating image proportions with restrained captions. */
.case-link { padding-block: var(--section-space); }
.cases-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; margin-bottom: clamp(4rem, 9vw, 9rem); }
.cases-intro__title { max-width: none; font-size: clamp(2.15rem, 5.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.04em; white-space: nowrap; }
.cases-intro__text { justify-self: end; max-width: 26rem; font-size: clamp(.95rem, 1.3vw, 1.15rem); line-height: 1.55; opacity: .76; }
.cases-link__row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(4rem, 8vw, 9rem) clamp(1.5rem, 7vw, 7.5rem); margin: 0; }
.cases-link__item { width: auto; padding: 0 !important; }
.cases-link__item:nth-child(n) { margin-top: 0; }
.cases-link__item:nth-child(even) { margin-top: clamp(2.5rem, 7vw, 7rem); }
.cases-link__item__image-container { aspect-ratio: 1 / 1.08; margin-bottom: 1.3rem; }
.cases-link__item:nth-child(4n+2) .cases-link__item__image-container,
.cases-link__item:nth-child(4n+3) .cases-link__item__image-container { aspect-ratio: 1.55 / 1; }
.cases-link__item__image-overlay { background: rgba(0,35,30,.24); transition: opacity .45s ease; }
.cases-link__item__link:hover .cases-link__item__image-overlay { opacity: .35; }
.cases-link__item__image { transition-duration: .8s; }
.cases-link__item__title { max-width: 26ch; margin: 0 0 .65rem; font-size: clamp(1.1rem, 1.9vw, 1.55rem); line-height: 1.18; }
.cases-link__item__firm { margin-top: 0; font-size: clamp(.78rem, 1vw, .92rem); font-weight: 500; opacity: .78; }
.cases-link__seemore__wrapper { padding: clamp(6rem, 11vw, 11rem) 0 0; }

/* About composition and soft contact transition. */
.text-image { padding-block: var(--section-space); }
.about-tease__title { text-align: left; max-width: 11ch; font-size: clamp(3rem, 7.5vw, 7rem); line-height: .92; letter-spacing: -.055em; margin-bottom: clamp(4rem, 9vw, 9rem); }
.about-tease__grid { grid-template-columns: minmax(0,1.35fr) minmax(18rem,.65fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.about-tease__media { min-height: clamp(25rem, 48vw, 43rem); gap: clamp(.55rem, 1vw, 1rem); }
.about-tease__media img { border-radius: 0; }
.about-tease__kicker { margin-bottom: 1.5rem; }
.about-tease__text { font-size: clamp(1.02rem, 1.5vw, 1.3rem); line-height: 1.55; }
.about-tease__text p { margin-bottom: 1.4rem; }
.footer__contact__section { min-height: min(84vh, 900px); display: flex; align-items: center; }
.footer__contact { padding-block: clamp(6rem, 11vw, 11rem); }
.footer__contact__top { font-size: clamp(1rem, 1.9vw, 1.7rem); margin-bottom: clamp(1.2rem, 2vw, 2rem); }
.footer__contact__btn { font-size: clamp(3.2rem, 10vw, 9rem); letter-spacing: -.06em; }
.footer__contact__btn svg { width: clamp(2.4rem, 6vw, 5.5rem); }
.footer__contact__btn > span:first-child { transform-origin: 70% 70%; }
.footer__contact__btn:hover > span:first-child { animation: rm-wave .8s ease-in-out 1; }
.footer__contact__bot { margin-top: 1rem; }
@keyframes rm-wave { 0%,100%{transform:rotate(0)} 30%{transform:rotate(12deg)} 60%{transform:rotate(-7deg)} }

/* Inner pages use the same editorial scale and air. */
.page-hero { padding: clamp(10.5rem, 17vw, 16rem) 0 clamp(6rem, 11vw, 10rem); }
.page-hero .container { display: grid; grid-template-columns: 1fr minmax(18rem,.55fr); align-items: end; gap: 2rem 5rem; }
.page-hero .kicker { grid-column: 1 / -1; }
.page-hero h1 { max-width: 12ch; font-size: clamp(3rem, 7.5vw, 7rem); line-height: .91; letter-spacing: -.055em; text-wrap: balance; }
.page-hero .lead { max-width: 30rem; margin: 0; align-self: end; font-size: clamp(1rem, 1.6vw, 1.35rem); line-height: 1.5; }
.section-pad { padding-block: clamp(5.5rem, 10vw, 10rem); }
.two-col { gap: clamp(3rem, 8vw, 8rem); }
.prose { max-width: 43rem; }
.prose h2 { font-size: clamp(1.65rem, 3vw, 2.75rem); letter-spacing: -.035em; margin: 2.75rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { line-height: 1.68; }
.btn { border-radius: 0; padding: .9rem 0; border-width: 0 0 1px; font-size: .88rem; }
.btn-primary { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-primary:hover, .btn-ghost:hover { background: transparent; color: var(--lime); border-color: var(--lime); }
.soft-note, .quote, .insight-card { border-radius: 0; }
.contact-panel { grid-template-columns: minmax(0,.75fr) minmax(20rem,1.25fr); gap: clamp(3rem, 10vw, 10rem); align-items: center; }
.contact-heading { max-width: 12ch; margin: 0 0 clamp(2.5rem,5vw,4.5rem); color: var(--teal); font-size: clamp(2rem,4vw,3.75rem); line-height: .98; letter-spacing: -.045em; }
.contact-visual { min-height: clamp(22rem,42vw,42rem); display: grid; place-items: center; padding: clamp(2rem,5vw,5rem); background: var(--teal); overflow: hidden; }
.contact-visual img { width: min(100%,36rem); transform: rotate(2deg); }
.contact-list { border-top: 1px solid rgba(0,78,69,.25); }
.contact-list li { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; margin: 0; padding: 1.15rem 0; border-bottom: 1px solid rgba(0,78,69,.25); }
.contact-list strong { padding-top: .22rem; }
.insight-list { gap: 0; border-top: 1px solid rgba(0,78,69,.25); }
.insight-card { background: transparent; padding: 2rem 1.5rem 2rem 0; border-bottom: 1px solid rgba(0,78,69,.25); }

/* Footer has a long, calm landing rhythm rather than a utility strip. */
.site-footer { position: relative; padding: clamp(6rem, 11vw, 11rem) 0 2rem; overflow: hidden; }
.site-footer::after { content:""; position:absolute; width:32rem; height:32rem; right:-15rem; bottom:-19rem; border:1px solid rgba(255,255,255,.16); border-radius:47% 53% 43% 57%; pointer-events:none; }
.footer-grid { grid-template-columns: minmax(17rem,1.6fr) 1fr 1fr; gap: clamp(3rem, 8vw, 9rem); margin-bottom: clamp(5rem, 10vw, 9rem); }
.site-footer h2 { margin-bottom: 1.4rem; }
.site-footer p, .site-footer li { font-size: clamp(.82rem, 1vw, .95rem); line-height: 1.75; }
.footer-partner { padding-block: 2rem; margin-bottom: 2rem; }
.footer-legal p { max-width: 58rem; }

/* Motion: subtle section lift, image reveal and section-level stagger. */
.reveal { opacity: 0; transform: translateY(3rem); transition: opacity .95s var(--ease), transform .95s var(--ease); transition-delay: var(--reveal-delay,0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.cases-link__item.reveal .cases-link__item__image-container,
.about-tease__grid.reveal .about-tease__media { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease) var(--reveal-delay,0ms); }
.cases-link__item.reveal.is-in .cases-link__item__image-container,
.about-tease__grid.reveal.is-in .about-tease__media { clip-path: inset(0); }

@media (max-width: 899px) {
  .header { padding: .85rem 0; }
  .header-inner { min-height: 2.75rem; }
  .header-inner > .header__contact:not(.mobile-show) { display: none; }
  .nav-toggle { border: 0; padding: .6rem 0; border-radius: 0; letter-spacing: .05em; }
  .menu { display: none; position: fixed; inset: 0; top: calc(28px + 4.5rem); overflow: auto; background: var(--teal-deep); padding: 2.2rem var(--gutter) 3rem; }
  .menu.is-open { display: block; }
  .menu__list { gap: 0; }
  .menu__item { width: 100%; }
  .menu__link { display: block; width: 100%; padding: .8rem 0; font-size: clamp(1.45rem, 6vw, 2.5rem); }
  .menu__dropdown { padding: .15rem 0 1.1rem; }
  .menu__dropdown a { padding: .45rem 0; color: rgba(255,255,255,.72); font-size: .9rem; }
  .header__contact.mobile-show { display: flex; width: fit-content; margin-top: 1.5rem; }
  body.nav-open { overflow: hidden; }
  .front__def { grid-template-columns: 1fr; }
  .front__def__mark { width: min(65vw, 19rem); }
  .about-tease__grid, .contact-panel { grid-template-columns: 1fr; }
  .page-hero .container { grid-template-columns: 1fr; }
  .page-hero .kicker { grid-column: auto; }
  .page-hero .lead { margin-top: 1rem; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
    .front__top { min-height: 74svh; padding-top: 7rem; }
  .front__top__title { font-size: clamp(3.2rem, 16vw, 5.4rem); }
  /* Keep <br> for hero rhythm (line1 services / line2 locale); allow wrap on very narrow */
  .front__top__text {
    max-width: 22rem !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .front__sp__menu__item__link { display: grid; grid-template-columns: 1fr auto; row-gap: .65rem; }
  .front__sp__menu__item--meta { grid-column: 1 / -1; margin: 0; padding: 0; max-width: 30rem; }
  .front__sp__menu__item--arrow { opacity: .65; transform: none; }
  .cases-intro { grid-template-columns: 1fr; }
  .cases-intro__text { justify-self: start; }
  .cases-link__row { grid-template-columns: 1fr; gap: 4rem; }
  .cases-link__item:nth-child(even) { margin-top: 0; }
  .cases-link__item__image-container,
  .cases-link__item:nth-child(4n+2) .cases-link__item__image-container,
  .cases-link__item:nth-child(4n+3) .cases-link__item__image-container { aspect-ratio: 1.15 / 1; }
  .about-tease__title { font-size: clamp(3rem, 14vw, 5rem); }
  .about-tease__media { min-height: 24rem; }
  .footer__contact__section { min-height: 75svh; }
  .footer__contact__btn { font-size: clamp(3rem, 15vw, 5.2rem); }
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .page-hero { padding-top: 9.5rem; }
  .page-hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .contact-list li { grid-template-columns: 1fr; gap: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .footer__contact__btn:hover > span:first-child { animation: none !important; }
  .cases-link__item.reveal .cases-link__item__image-container,
  .about-tease__grid.reveal .about-tease__media { clip-path: none !important; }
}

/* =========================================================
   Audit-fix pass
   Wins cascade for remaining gaps; RM brand only.
   ========================================================= */
.header {
  top: 0 !important;
  transition: background .2s ease-out, padding .2s ease-out, box-shadow .2s, transform .3s cubic-bezier(.22,1,.36,1) !important;
}
.header.is-hidden { transform: translateY(-110%); }
@media (min-width: 900px) {
  .header__contact.mobile-show { display: none !important; }
  .front__wrapper { min-height: 100vh; }
  .front__top {
    min-height: min(72vh, 920px) !important;
    padding-top: clamp(8rem, 14vw, 13rem) !important;
    padding-bottom: clamp(8rem, 14vw, 14rem) !important;
  }
  .front__sp { margin-top: 0; padding-top: clamp(3rem, 6vw, 5.5rem) !important; }
  .front__sp__menu { width: min(100%, 52rem) !important; margin-inline: auto; }
  .front__sp__menu__item--meta {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity .3s ease;
  }
  .front__sp__menu__item__link { position: relative; }
  .front__sp__menu__item__link:hover .front__sp__menu__item--meta,
  .front__sp__menu__item__link:focus-visible .front__sp__menu__item--meta {
    opacity: .72 !important;
  }
  .front__sp__menu__item--arrow {
    opacity: 0 !important;
  }
  .front__sp__menu__item__link:hover .front__sp__menu__item--arrow,
  .front__sp__menu__item__link:focus-visible .front__sp__menu__item--arrow {
    opacity: 1 !important;
  }
}
.front__def-wrap {
  border-top: 1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(180deg, rgba(0,39,35,.45) 0%, transparent 40%),
    var(--teal) !important;
}
.case-link { border-top: 1px solid rgba(255,255,255,.08); }
.cases-link__item.is-wide .cases-link__item__image-container,
.cases-link__item:nth-child(2) .cases-link__item__image-container,
.cases-link__item:nth-child(3) .cases-link__item__image-container {
  aspect-ratio: 1.55 / 1 !important;
}
.cases-link__item:nth-child(1) .cases-link__item__image-container,
.cases-link__item:nth-child(4) .cases-link__item__image-container {
  aspect-ratio: 1 / 1.08 !important;
}
.footer__contact__btn {
  font-size: clamp(3.6rem, 12vw, 10.5rem) !important;
}
.site-footer {
  padding-top: clamp(7rem, 13vw, 13rem) !important;
  background: var(--teal-deep) !important;
}
.site-footer::before {
  content: "";
  position: absolute;
  width: min(42vw, 480px);
  height: min(42vw, 480px);
  border-radius: 46% 54% 48% 52%;
  background: radial-gradient(circle, rgba(134,178,63,.26), transparent 70%);
  left: -10%;
  top: -12%;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .header.is-hidden { transform: none !important; }
}


/* Hero rotating words (Daniel brief 2026-09-16) */
.hero-rotate {
  display: inline-block;
  position: relative;
  min-width: 8ch;
  vertical-align: baseline;
}
.hero-rotate__word {
  display: none;
  color: #86b23f;
}
.hero-rotate__word.is-active {
  display: inline;
  animation: heroWordIn 0.45s ease both;
}
@keyframes heroWordIn {
  from { opacity: 0; transform: translateY(0.18em); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-rotate__word.is-active { animation: none; }
}


/* Forside edit round 2026-09-16 — logo, hero rotate, case logos, about */
.header__logo img {
  filter: none !important;
  height: clamp(2.1rem, 3.2vw, 2.85rem);
}
.front__top__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.35rem, 1.2vw, 0.85rem);
  line-height: 1.05;
}
.front__top__label {
  display: block;
}
.hero-rotate {
  display: block;
  min-height: 1.15em;
  min-width: 11ch;
  margin-top: 0.08em;
}
.hero-rotate__word {
  color: #86b23f;
}
.front__sp__menu__item--meta { display: none !important; }

.cases-link__item__image-container.is-logo {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}
.cases-link__item__image-container.is-logo .cases-link__item__image-overlay {
  display: none;
}
.cases-link__item__image-container.is-logo .cases-link__item__image {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: none !important;
}
.cases-link__item__image-container.is-logo .cases-link__item__image img {
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 58%;
  object-fit: contain;
}
.cases-link__item__image--wordmark {
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
  padding: 1rem;
}
.case-wordmark {
  font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  color: #004e45;
  letter-spacing: -0.02em;
}
.case-wordmark__sub {
  font-size: 0.95rem;
  color: #676767;
  font-weight: 500;
}

.about-tease__media--two img:nth-child(2) {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: min(48%, 22rem);
  z-index: 2;
}
.about-tease__media--two .m1 {
  width: min(72%, 34rem);
}


/* Forside logo wall — before cases */
.front-logos__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
}
.front-logos__note {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.62);
}
.front-logos__strip.logo-strip {
  gap: 1.35rem 2rem;
  padding: 0.5rem 0 0.25rem;
  opacity: 1;
}
.front-logos__strip.logo-strip img {
  height: clamp(26px, 3.2vw, 36px);
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.front-logos__strip.logo-strip img:hover {
  opacity: 1;
  transform: translateY(-1px);
}


/* ===== Forside edit round 2 · 2026-09-16 ===== */

/* 1) Hero title: same baseline, one line */
.front__top__title {
  display: block !important;
  flex-direction: unset !important;
  align-items: unset !important;
  gap: 0 !important;
  line-height: 1.08 !important;
}
.front__top__label {
  display: inline !important;
  vertical-align: baseline;
}
.hero-rotate {
  display: inline !important;
  position: relative;
  vertical-align: baseline;
  min-width: 9ch;
  min-height: 0 !important;
  margin-top: 0 !important;
}
.hero-rotate__word {
  display: none;
  color: #86b23f;
}
.hero-rotate__word.is-active {
  display: inline;
  animation: heroWordIn 0.45s ease both;
}

/* 3) No green dot; tighter space to subtitle */
.front__top__circle { display: none !important; }
.front__top__text {
  margin-top: clamp(0.85rem, 2vw, 1.35rem) !important;
}

/* Header logo: white asset, no invert */
.header__logo img {
  filter: none !important;
}

/* 4) Logo wall: no heading, bigger, solid plates (no invert white-boxes) */
.front-logos__title { display: none !important; }
.front-logos__note { display: none !important; }
.front-logos {
  padding-top: clamp(2.5rem, 5vw, 4rem) !important;
  padding-bottom: clamp(2.5rem, 5vw, 4rem) !important;
}
.front-logos__strip.logo-strip {
  gap: 1.5rem 2.5rem !important;
  padding: 0 !important;
  opacity: 1 !important;
}
.front-logos__strip.logo-strip img {
  height: clamp(40px, 5vw, 56px) !important;
  max-width: 200px !important;
  width: auto !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
  background: #fff;
  padding: 0.55rem 0.85rem;
  border-radius: 6px;
  box-sizing: content-box;
  transition: transform 0.25s ease;
}
.front-logos__strip.logo-strip img:hover {
  transform: translateY(-1px);
  opacity: 1 !important;
}

/* 5) Cases intro: single column, no empty grid collision */
.cases-intro {
  display: block !important;
  grid-template-columns: none !important;
  margin-bottom: clamp(2.5rem, 6vw, 5rem) !important;
}
.cases-intro__title {
  width: max-content;
  max-width: 100% !important;
  margin: 0 !important;
  white-space: nowrap;
  font-size: clamp(2.15rem, 5.2vw, 4.6rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em;
}
@media (max-width: 380px) {
  .cases-intro__title {
    white-space: normal;
    font-size: clamp(1.85rem, 9.5vw, 2.35rem) !important;
  }
}
.cases-intro__text { display: none !important; }

/* 6) About media: no absolute overlap; shrink Tæt-på-idéen hero (source is ~263px) */
.about-tease__media,
.about-tease__media--single,
.about-tease__media--two {
  position: relative !important;
  display: block !important;
  min-height: 0 !important;
  height: auto !important;
  gap: 0 !important;
  max-width: 16rem;
}
.about-tease__media img,
.about-tease__media--single img,
.about-tease__media--two img,
.about-tease__media .m1 {
  position: static !important;
  width: 100% !important;
  max-width: 16rem !important;
  height: auto !important;
  display: block !important;
  inset: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  top: auto !important;
  z-index: auto !important;
  image-rendering: auto;
}
@media (min-width: 900px) {
  .about-tease__media,
  .about-tease__media--single,
  .about-tease__media img,
  .about-tease__media--single img,
  .about-tease__media .m1 {
    max-width: 14rem !important;
  }
}
.about-tease__grid {
  align-items: start !important;
}


/* ===== Dropdown hover-bridge fix · 2026-09-16 ===== */
@media (min-width: 900px) {
  .menu__item--has-sub > .menu__link {
    display: inline-flex;
    align-items: center;
    padding-bottom: 0.35rem;
  }
  .menu__dropdown a {
    position: relative;
    z-index: 1;
  }
}


/* ===== Hero center under Vi synliggør · 2026-09-16 ===== */
.front__top {
  text-align: center;
  align-items: center;
}
.front__top__title {
  text-align: center !important;
  width: 100%;
}
.front__top__text {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}
.front__top__label,
.hero-rotate {
  text-align: center;
}


/* ===== Logo wall equal slots · 2026-09-16 ===== */
.front-logos__strip.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem 1.25rem !important;
}
.front-logos__strip.logo-strip img {
  width: 160px !important;
  height: 72px !important;
  max-width: 160px !important;
  object-fit: contain !important;
  object-position: center;
  padding: 0.65rem 0.85rem !important;
  box-sizing: border-box !important;
  background: #fff;
  border-radius: 6px;
  flex: 0 0 160px;
}
@media (max-width: 600px) {
  .front-logos__strip.logo-strip img {
    width: 132px !important;
    height: 64px !important;
    max-width: 132px !important;
    flex-basis: 132px;
  }
}

/* ===== Fremtidens sundhedscenter flagship case · page-scoped ===== */
.fsc-hero-media {
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--teal-deep);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: min(62vh, 620px);
}
.fsc-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fsc-section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.fsc-h2 {
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  letter-spacing: -0.035em;
  color: var(--teal);
  margin: 0 0 0.85rem;
  line-height: 1.05;
}
.fsc-lead {
  color: var(--grey);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  margin: 0;
  max-width: 36rem;
}
.fsc-media-stack {
  display: grid;
  gap: 1rem;
}
.fsc-media-stack img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--sand-warm);
}
.fsc-formats {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .fsc-formats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}
.fsc-format {
  margin: 0;
  background: #fff;
  padding: 1rem;
  border-radius: 4px;
}
.fsc-format img {
  width: 100%;
  height: auto;
  display: block;
}
.fsc-format figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
}
.fsc-map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--sand);
  overflow: hidden;
}
.fsc-map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.fsc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .fsc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
}
.fsc-steps li {
  display: grid;
  gap: 0.85rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 4px;
}
.fsc-steps__n {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--lime);
}
.fsc-steps h3 {
  font-size: 1.2rem;
  color: var(--teal);
  margin: 0 0 0.4rem;
}
.fsc-steps p {
  margin: 0;
  color: var(--grey);
  line-height: 1.55;
  font-size: 0.98rem;
}


/* ===== Pharmacy partner quote · Erdinc Özel ===== */
.fsc-quote,
.partner-quote {
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  background: #f4f1ea;
  border-left: 4px solid #86b23f;
  border-radius: 0 6px 6px 0;
}
.fsc-quote p,
.partner-quote p {
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: #004e45;
  font-weight: 500;
}
.fsc-quote footer,
.partner-quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.95rem;
  color: #676767;
}
.fsc-quote footer strong,
.partner-quote footer strong {
  color: #004e45;
  font-weight: 700;
}

/* ===== AVN flagship film case ===== */
.avn-lead {
  max-width: 42rem;
  margin: 0.75rem 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.55;
  color: #334;
}
.avn-logo-band {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(0, 39, 35, 0.08);
  border-radius: 4px;
}
.avn-logo-band img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}
.avn-scale {
  background: #f4f1ea;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: 4px;
}
.avn-scale__list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.avn-scale__list li {
  padding: 0.55rem 0.75rem;
  background: #fff;
  border-left: 3px solid #86b23f;
  font-size: 0.98rem;
  color: #004e45;
}
.avn-section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}
.avn-h2 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  color: #002723;
}
.avn-section-lead {
  margin: 0;
  color: #555;
  line-height: 1.55;
}
.avn-brand-still {
  margin: 0 0 1.25rem;
  overflow: hidden;
  border-radius: 2px;
  background: #002723;
}
.avn-brand-still img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.avn-film-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) {
  .avn-film-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.5rem;
  }
}
.avn-film-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(0, 39, 35, 0.08);
  border-radius: 4px;
  overflow: hidden;
}
.avn-film-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.avn-film-card__body {
  padding: 1rem 1.1rem 0.5rem;
}
.avn-film-card__branch {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #86b23f;
}
.avn-film-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #002723;
}
.avn-film-card__src {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: #676767;
}
.avn-film-card .video-wrap {
  margin: 0;
  border-radius: 0;
}
.avn-extra-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .avn-extra-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.avn-extra-card {
  background: #fff;
  border: 1px solid rgba(0, 39, 35, 0.08);
  border-radius: 4px;
  padding: 1rem 1rem 0.75rem;
}
.avn-extra-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #002723;
}
.avn-note {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  color: #676767;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .avn-film-grid--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* AVN case — four branch films */
.avn-film-grid--four {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 700px) {
  .avn-film-grid--four { grid-template-columns: 1fr; }
}


/* Film case archive (cases/alle.html) — thumbnail showcase like live referencer */
.case-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 1.25rem;
}
@media (min-width: 640px) {
  .case-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; }
}
@media (min-width: 1000px) {
  .case-showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; }
}
.case-showcase__card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.case-showcase__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #002723;
  border-radius: 2px;
}
.case-showcase__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.case-showcase__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 39, 35, 0.55) 100%);
  opacity: 0.85;
  pointer-events: none;
  transition: opacity .35s ease;
}
.case-showcase__card:hover .case-showcase__media img {
  transform: scale(1.05);
}
.case-showcase__card:hover .case-showcase__shade {
  opacity: 1;
}
.case-showcase__title {
  margin: 0.85rem 0 0;
  font-size: clamp(0.95rem, 1.35vw, 1.1rem);
  font-weight: 700;
  line-height: 1.3;
  color: #002723;
  letter-spacing: 0.01em;
}
.case-showcase__card:hover .case-showcase__title {
  color: #86b23f;
}

/* Individual film case still (matches live title + still + youtube + quote) */
.case-still {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #002723;
  border-radius: 2px;
}
.case-still img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Legacy stacked archive (unused) */
.film-archive__item {
  margin-bottom: 3.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 39, 35, 0.1);
}
.film-archive__item:last-child {
  border-bottom: 0;
}
.film-archive__title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}
.film-archive__title a {
  color: inherit;
  text-decoration: none;
}
.film-archive__title a:hover {
  color: #86b23f;
}
.film-archive__still {
  margin: 0 0 1.25rem;
  overflow: hidden;
  border-radius: 2px;
  background: #002723;
}
.film-archive__still img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.film-archive__item .video-wrap {
  margin-bottom: 1.25rem;
}
.film-archive__item .quote {
  margin-top: 1.25rem;
}

/* ===== Hero Vi synliggør spacing · 2026-09-17 ===== */
/* Tight vertical stack (no extra line gap). Wider letter-spacing/tracking so letters aren’t cramped. */
.front__top__title {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0.12em !important;
  line-height: 1.05 !important;
  text-align: center !important;
  width: 100%;
}
.front__top__label {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: 0.015em;
}
.hero-rotate {
  display: block !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 1.1em !important;
  min-width: min(100%, 14ch) !important;
  line-height: 1.05 !important;
  overflow: visible !important;
  text-align: center !important;
}
.hero-rotate__word {
  display: none;
  color: #86b23f;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.hero-rotate__word.is-active {
  display: inline-block !important;
  animation: heroWordIn 0.45s ease both;
  line-height: 1.05;
  max-width: 100%;
  letter-spacing: 0.02em;
}
.front__top__text {
  margin-top: clamp(0.85rem, 2vw, 1.35rem) !important;
  clear: both;
}
@media (max-width: 600px) {
  .front__top__title {
    gap: 0.1em !important;
  }
  .front__top__label {
    letter-spacing: 0.012em;
  }
  .hero-rotate__word,
  .hero-rotate__word.is-active {
    letter-spacing: 0.018em;
    white-space: normal;
    word-break: keep-all;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-rotate__word.is-active { animation: none; }
}


/* ===== Forside experiment 2026-09-18 ===== */

/* Annoncekampagne: one line on desktop */
.front__sp__menu__item--text--nowrap {
  white-space: nowrap;
}
@media (max-width: 720px) {
  .front__sp__menu__item--text--nowrap {
    white-space: normal;
    font-size: 0.92em;
  }
}

/* Hero text — snapshot .front__top__text look (single type size, both lines)
   2026-09-23: drop 52/58rem max-width — it left-aligned the overflowing nowrap
   first line inside a centered box (looked right-shifted). Centering of lines
   is handled in index.html inline styles via fit-content + margin:auto. */
.front__top__text {
  display: block !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: clamp(0.85rem, 2vw, 1.35rem) !important;
  padding-top: clamp(0.85rem, 2vw, 1.35rem) !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  font-size: clamp(1.05rem, 2vw, 1.5rem) !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: normal !important;
  opacity: 0.95 !important;
  color: inherit !important;
}
@media (min-width: 900px) {
  .front__top__text {
    /* Prefer slightly tighter type on wide desktops; no max-width box */
    font-size: clamp(1rem, 1.55vw, 1.45rem) !important;
  }
}
/* Kill leftover split tagline/locale rules if any HTML remnant */
.front__top__tagline,
.front__top__locale {
  display: contents;
  font: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  opacity: inherit !important;
  line-height: inherit !important;
  white-space: inherit !important;
}

/* Featured logos — equal visual size, even 4+4 grid, white marks, no boxes */
.featured-logos {
  margin: clamp(2.25rem, 5vw, 4.25rem) 0 clamp(1.75rem, 4vw, 3.25rem);
  padding: 0;
  width: 100%;
}
.featured-logos__strip {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem) !important;
  align-items: center;
  justify-items: stretch;
  width: 100%;
  max-width: min(60rem, 100%);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  list-style: none;
}
.featured-logos__slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 520 / 160;
  min-height: 0;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
.featured-logos__logo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0.95;
  flex: none;
  transform: none !important;
}
.featured-logos__logo--invert {
  filter: brightness(0) invert(1);
}
.featured-logos__logo--white {
  filter: none;
}
.featured-logos__logo:hover { opacity: 1; }

@media (max-width: 720px) {
  .featured-logos__strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem 1.25rem !important;
    max-width: 100%;
  }
}

.stat-counters {
  list-style: none !important;
  margin: clamp(2.25rem, 5vw, 3.5rem) auto 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: clamp(1.25rem, 3.5vw, 3.25rem) !important;
  width: 100%;
  max-width: 100%;
  position: relative !important;
  z-index: 2 !important;
  clear: both;
  text-align: center;
}
.stat-counters__item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  position: relative !important;
  inset: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
  flex: 0 1 auto;
  float: none !important;
  text-align: center !important;
}
.stat-counters__num {
  display: block;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--teal, #004e45);
  white-space: nowrap;
  text-align: center;
}
.stat-counters__label {
  display: block;
  font-size: clamp(0.68rem, 1.1vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
  line-height: 1.25;
  max-width: none;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 899px) {
  .stat-counters {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    flex-wrap: wrap !important;
    justify-items: center !important;
    gap: 1.25rem 1rem !important;
    max-width: 28rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stat-counters__num { transition: none; }
}


/* ===== Pharmacy screen photo gallery ===== */
.screen-gallery {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) {
  .screen-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .screen-gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .screen-gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.screen-gallery__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.screen-gallery__frame {
  margin: 0;
  background: var(--sand-warm, #f3eee6);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.screen-gallery__frame--landscape {
  /* keep class for markup semantics; same crop box as siblings for even grid rhythm */
  aspect-ratio: 4 / 5;
}
.screen-gallery__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
.screen-gallery__frame--landscape img {
  object-position: center center;
}
.screen-gallery__item figcaption {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--grey);
  margin: 0;
}
.screen-hero-photo {
  margin: 0;
  background: var(--sand-warm, #f3eee6);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-height: min(52vh, 520px);
}
.screen-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.screen-gallery-head {
  max-width: 36rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.screen-gallery-head h2 {
  margin-bottom: 0.65rem;
}
.screen-gallery-head p {
  margin: 0;
  color: var(--grey);
  line-height: 1.55;
}
.format-examples-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1rem;
}

/* =========================================================
   QA · inner pages only (apoteksannonce/apotek/cases/film/FSC/AVN)
   Do not touch forside (.front__*, featured-logos, counters).
   2026-09-18
   ========================================================= */

/* Contain long compound titles so they cannot bleed into .lead */
.page-hero .container {
  grid-template-columns: minmax(0, 1.35fr) minmax(13rem, 0.5fr) !important;
  column-gap: clamp(1.25rem, 3.5vw, 3rem) !important;
  row-gap: 1.25rem !important;
  align-items: end !important;
}
.page-hero h1 {
  max-width: 100% !important;
  min-width: 0 !important;
  font-size: clamp(2.55rem, 5.6vw, 5.5rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.028em !important;
  overflow-wrap: break-word;
  hyphens: manual;
}
.page-hero .lead,
.page-hero .avn-lead {
  min-width: 0 !important;
  max-width: min(30rem, 100%) !important;
  margin: 0 !important;
  align-self: end !important;
  color: #fff !important;
  opacity: 0.92;
}
/* Extra hero children must span full width (buttons, meta) */
.page-hero .btn-row,
.page-hero .case-meta {
  grid-column: 1 / -1 !important;
}
.page-hero .case-meta {
  margin: 1.35rem 0 0 !important;
  color: #fff;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}
/* Teal-on-teal buttons were invisible on green heroes */
.page-hero .btn {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  background: transparent !important;
}
.page-hero .btn:hover {
  color: var(--lime) !important;
  border-color: var(--lime) !important;
  background: transparent !important;
}

/* AVN lead was authored as #334 (dark) while sitting in teal hero */
.avn-lead {
  color: #fff !important;
}

/* Film archive / cases listing: keep intro title from overflowing */
.page-hero ~ section .cases-intro__title {
  white-space: normal !important;
  letter-spacing: -0.035em;
  line-height: 1.06 !important;
}

@media (max-width: 899px) {
  .page-hero .container {
    grid-template-columns: 1fr !important;
  }
  .page-hero h1 {
    font-size: clamp(2.4rem, 11vw, 4.25rem) !important;
    overflow-wrap: normal;
  }
  .page-hero .lead,
  .page-hero .avn-lead {
    margin-top: 0.35rem !important;
  }
}

/* Case meta: even columns on teal heroes */
.page-hero .case-meta {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, max-content));
  justify-content: start;
  column-gap: clamp(2rem, 5vw, 4rem) !important;
  row-gap: 1rem !important;
  flex-wrap: unset;
}
@media (max-width: 700px) {
  .page-hero .case-meta {
    grid-template-columns: 1fr !important;
  }
}


/* Film archive card titles: avoid nowrap overflow */
.case-showcase__title {
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: manual;
  line-height: 1.15;
}


/* =========================================================
   2026-09-23: sitewide header offset (mirrored from frontpage index.html)
   Push header/nav lower (~32px extra top padding desktop; ~24px mobile).
   Keeps sticky/fixed + scrolled padding; does not change position/z-index.
   ========================================================= */
.header {
  padding-top: calc(1.35rem + 2rem) !important; /* +32px */
  padding-bottom: 1.35rem !important;
}
.header.is-scrolled {
  padding-top: calc(0.7rem + 1.25rem) !important;
  padding-bottom: 0.7rem !important;
}
@media (max-width: 899px) {
  .header {
    padding-top: calc(0.85rem + 1.5rem) !important; /* +24px */
    padding-bottom: 0.85rem !important;
  }
  .header.is-scrolled {
    padding-top: calc(0.7rem + 1rem) !important;
    padding-bottom: 0.7rem !important;
  }
}


/* =========================================================
   2026-09-24 · Mobile-only fixes (CEO / Daniel)
   Desktop (≥768) unchanged. Staging only.
   ========================================================= */

/* (1) Hero rotate: fit longest words (Virksomheder / Foreninger) */
@media (max-width: 767px) {
  .front__top__title {
    font-size: clamp(2.35rem, 10.2vw, 3.55rem) !important;
    letter-spacing: -0.038em !important;
    line-height: 1.05 !important;
    max-width: 100% !important;
    width: 100%;
    padding-inline: 0.15rem;
    box-sizing: border-box;
  }
  .front__top__label {
    letter-spacing: 0.01em;
  }
  .hero-rotate {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100%;
    overflow: visible !important;
  }
  .hero-rotate__word,
  .hero-rotate__word.is-active {
    display: inline-block !important;
    max-width: 100%;
    white-space: nowrap;
    letter-spacing: -0.03em !important;
    /* Slightly smaller than parent so 12-letter words clear ~390px gutters */
    font-size: 0.94em;
    line-height: 1.08;
  }
}

/* Very narrow phones: allow modest wrap rather than clip */
@media (max-width: 360px) {
  .front__top__title {
    font-size: clamp(2.05rem, 9.2vw, 2.85rem) !important;
  }
  .hero-rotate__word,
  .hero-rotate__word.is-active {
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
    font-size: 0.9em;
  }
}

/* (2) Mobile nav panel: full items + submenu always visible when open */
@media (max-width: 899px) {
  /* Align panel under taller sticky header (2026-09-23 offset) */
  .menu {
    top: calc(0.85rem + 1.5rem + 2.75rem + 0.85rem) !important;
  }
  .menu.is-open .menu__dropdown,
  .menu__dropdown {
    display: block !important;
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0.1rem 0 0.85rem 0.15rem !important;
  }
  .menu__dropdown::before { display: none !important; }
  .menu__list {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100%;
  }
  .menu__item {
    width: 100%;
    display: block !important;
    visibility: visible !important;
  }
  .menu__link {
    display: block !important;
  }
  /* Keep Kontakt reachable inside the open panel */
  .header__contact.mobile-show {
    display: flex !important;
    margin-top: 1.25rem;
  }
}


/* Forside: mobile panel only — keep desktop header unchanged */
@media (min-width: 900px) {
  .menu__item--forside { display: none !important; }
}
