@import url("https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:ital,wght@0,400..900;1,400..900&display=swap");

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: theme("colors.swiss.white");
  color: theme("colors.swiss.black");
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Swiss typography enforces rigorous adherence to clean, non-rounded forms */
a,
button {
  transition: none;
  border-radius: 0 !important;
}

img,
.placeholder-img {
  border-radius: 0 !important;
  box-shadow: none !important;
}

::selection {
  background-color: theme("colors.swiss.red");
  color: theme("colors.swiss.white");
}

/* Section Divider Title */
.text-massive-bg {
  font-size: clamp(
    3rem,
    10.5vw,
    156px
  ); /* Fills container perfectly to max 1440 */
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: #f0f0f0;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  pointer-events: none;
}

/* Table of Contents (TOC) Styles */
.toc-link {
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
}

.toc-link.active {
  color: #e02424; /* swiss-red */
  font-weight: 700;
  border-left-color: #e02424;
}

.mobile-toc-link.active {
  color: #e02424;
  font-weight: 700;
}

/* Ensure sections have enough top margin for scroll-spy clarity */
section {
  scroll-margin-top: 140px;
}
