:root {
  --brown: #3c2415;
  --yellow: #f0b429;
  --orange: #e07a5f;
  --teal: #2a9d8f;
  --cream: #fff8e6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--cream);
  color: var(--brown);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  max-width: 280px;
  margin: 0 auto 15px;
  display: block;
}

/* Rainbow decoration */
.rainbow {
  height: 15px;
  background: linear-gradient(90deg, var(--yellow), var(--orange), var(--teal), var(--yellow));
  margin: 40px 0;
}

/* Yarn decoration */
.yarn-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 0;
  opacity: 0.1;
}

.yarn-ball {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, white, var(--yellow));
  opacity: 0.6;
}

.yarn-ball:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 5%;
  background: radial-gradient(circle at 30% 30%, white, var(--yellow));
}

.yarn-ball:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  background: radial-gradient(circle at 30% 30%, white, var(--teal));
}

.yarn-ball:nth-child(3) {
  width: 80px;
  height: 80px;
  bottom: 10%;
  left: 20%;
  background: radial-gradient(circle at 30% 30%, white, var(--orange));
}

/* Footer */
footer {
  background-color: var(--brown);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--yellow);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.copyright {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 15px 0;
}

.footer-legal a {
  color: var(--yellow);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.footer-legal a:not(:last-child)::after {
  content: " | ";
  color: rgba(255, 255, 255, 0.5);
  margin-left: 20px;
}

.contact-intro a {
  color: var(--teal);
  text-decoration: underline;
  transition: all 0.2s ease-in-out;
}

.contact-intro a:hover {
  color: var(--orange);
  text-decoration: none;
}

/* === Global Links: single source of truth === */
a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

a:hover {
  color: var(--orange);
  text-decoration-thickness: 1.5px;
}

a:focus-visible {
  outline: 2px dashed var(--yellow);
  outline-offset: 2px;
  text-decoration: underline;
}

a:active {
  color: var(--brown);
}

/* Current page helpers */
a[aria-current="page"],
a.active {
  color: var(--brown);
  text-decoration: underline;
}

/* Optional utilities (opt-in) */
.link--muted   { color: #9ca3af; text-decoration: none; }
.link--inverse { color: var(--cream); }
.link--button  { text-decoration: none; } /* for links styled as buttons */

/* Footer */
footer {
  background-color: var(--brown);
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--yellow);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.copyright {
  margin-top: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Footer legal links (already present earlier, keep with footer) */
.footer-legal {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 15px 0;
}

.footer-legal a {
  color: var(--yellow);
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.footer-legal a:not(:last-child)::after {
  content: " | ";
  color: rgba(255, 255, 255, 0.5);
  margin-left: 20px;
}

/* Rainbow decoration (global) */
.rainbow {
  height: 15px;
  background: linear-gradient(90deg, var(--yellow), var(--orange), var(--teal), var(--yellow));
  margin: 40px 0;
}

