:root {
  --bg-gray: #06f9d0;
  --bg-blue: #0154ee;
  --text: #121212;
  --muted: rgba(214, 214, 214, 0.9);
  --content-width: min(92vw, 1120px);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: var(--serif);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { display: block; max-width: 100%; }

.page { width: 100%; }
.wrap {
  width: var(--content-width);
  margin: 0 auto;
}

.section {
  position: relative;
  overflow: hidden;
}

.section--gray { background: var(--bg-gray); }
.section--blue { background: var(--bg-blue); color: #fff; }

.hero {
  min-height: 45rem;
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(2rem, 7vw, 5rem);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(221, 221, 221, 0.42);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  width: min(76vw, 760px);
  margin: 0 auto clamp(6rem, 11vw, 10rem);
}

.hero__intro hr {
	color: #fff;
	margin-bottom: 18px;
}

.section-hello {
  padding: clamp(2rem, 7vw, 5rem) 0 clamp(2rem, 7vw, 5rem);
  isolation: isolate;
}

.section-contact {
  padding: clamp(2rem, 7vw, 5rem) 0 clamp(2rem, 7vw, 5rem);
  isolation: isolate;
}

.text-block {
  text-align: center;
  line-height: 1.18;
}

.text-block p {
  margin: 0 0 1.2rem;
}

.text-block--small {
  max-width: 32rem;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
}

.contact-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-card {
  text-align: center;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
}

.contact-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 1.45vw, 1.4rem);
  font-weight: 400;
}

.contact-card p {
  margin: 0;
}

.section--blue {
  padding: clamp(3.25rem, 8vw, 6rem) 0 clamp(3.25rem, 8vw, 6rem);
}

.section--english {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(3rem, 8vw, 4.75rem);
}

.text-block--wide {
  max-width: 58rem;
  font-size: clamp(1.05rem, 1.45vw, 1.5rem);
}

.text-block--swedish {
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.ticker {
  position: relative;
  left: 50%;
  width: 120vw;
  transform: translateX(-50%) rotate(-6deg);
}

.ticker__viewport {
  overflow: hidden;
  width: 100%;
}

.ticker__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 28s linear infinite;
}

.ticker__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 2rem;
  padding-right: 2rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.6vw, 2.7rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticker__item {
  flex: 0 0 auto;
}

@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

.footer {
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(3rem, 6vw, 4rem);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.footer__seal {
  width: min(46vw, 270px);
}

.footer__copyright {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 2rem);
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero__logo {
    width: min(92vw, 640px);
    margin-bottom: 3.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .ticker {
    width: 145vw;
    transform: translateX(-50%) rotate(-8deg);
  }
}

@media (max-width: 520px) {
  :root {
    --content-width: min(92vw, 38rem);
  }

  .text-block--wide,
  .contact-card {
    font-size: 1rem;
  }

  .contact-card h2 {
    font-size: 1rem;
  }

  .ticker__group {
    font-size: 1.1rem;
    gap: 1.1rem;
    padding-right: 1.1rem;
  }

  .footer__seal {
    width: min(68vw, 180px);
  }
}
