/* ================= TOKENS ================= */
:root {
  --porcelain: #fbfdfb;
  --ink: #0e2a1b;
  --ink-soft: #4d6f5b;
  --azure: #15803d;
  --aqua: #5ec780;
  --sky: #a8dcba;
  --glow: #e8f5ec;
  --white: #ffffff;

  --ease: cubic-bezier(0.625, 0.05, 0, 1);
  --font-display: "Clash Display", sans-serif;
  --font-body: "Satoshi", sans-serif;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
}

img,
video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

svg {
  overflow: visible;
}

button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

li {
  list-style: none;
}

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

body {
  background: var(--porcelain);
  color: var(--ink);
  overflow-x: hidden;
}

html[data-loading] {
  overflow: hidden;
}

/* ================= FLUID SCALE =================
   1rem ≈ 10px at 1920w — whole layout scales like a canvas */
html {
  font-size: clamp(5px, calc(10 * ((100vw + 2.1rem) / 1920)), 19px);
  -webkit-tap-highlight-color: transparent;
}

@media screen and (max-width: 1000px) and (orientation: landscape) {
  html {
    font-size: clamp(3px, calc(10 * ((100vw + 2.1rem) / 1920)), 19px);
  }
}

@media screen and (max-width: 481px) and (orientation: portrait) {
  html {
    font-size: calc(10 * (100vw / 430));
  }
}

@media screen and (min-width: 482px) and (max-width: 991px) and (orientation: portrait) {
  html {
    font-size: calc(10 * (100vw / 550));
  }
}

/* ================= SCROLLBAR ================= */
::-webkit-scrollbar {
  display: none;
}

/* ================= UTILITIES ================= */
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.8rem;
  border-radius: 99rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(21, 128, 61, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 1rem 3rem rgba(21, 128, 61, 0.12);
}

.tag-chip.is--small {
  padding: 0.7rem 1.5rem;
  font-size: 1.3rem;
}

.tag-chip__spark {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--azure);
}

/* Visible keyboard focus */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 3px;
  border-radius: 0.4rem;
}

/* ================= MEDIA VIDEO (in-content loops) ================= */
.media-video {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 2rem;
}

.media-video.is--45 {
  aspect-ratio: 4 / 5;
}
