:root {
  --red: #770136;
  --red-light: #9a0147;
  --red-pale: #f4e8ee;
  --red-mid: #c4537e;
  --cream: #faf8f5;
  --ink: #18080e;
  --muted: #7a5a66;
}
* { box-sizing: border-box; margin: 0; padding: 0; }


@font-face {
  font-family: "q5-heading";
  src: url("./fonts/AndQFive_Headlinefont_Thick.ttf") format("truetype");
}
@font-face {
  font-family: "q5-heading-slim";
  src: url("./fonts/AndQFive_Headlinefont_Thin.ttf") format("truetype");
}

body {
  background: var(--cream);
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

/* grain */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 999; opacity: 0.35;
}

/* HERO GRID */
.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  min-height: 100vh;
  position: relative;
}

/* ── LEFT PANEL ── */
.left {
  background-image: url("../assets/images/V2.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4rem 10% 4rem 10%;
  position: relative;
  overflow: hidden;
  animation: fadeLeft 0.9s cubic-bezier(.4,0,.2,1) both;
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* concentric circle decoration */
.circles {
  position: absolute;
  top: 0%; left: 45%;
  /* transform: translate(-50%,-50%); */
  pointer-events: none;
  width: 50%;
  height: auto;
}
/* .c-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.07);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: breathe 7s ease-in-out infinite;
}
.c-ring:nth-child(1) { width: 300px; height: 300px; animation-delay: 0s; }
.c-ring:nth-child(2) { width: 480px; height: 480px; animation-delay: 1.5s; }
.c-ring:nth-child(3) { width: 660px; height: 660px; animation-delay: 3s; }
@keyframes breathe {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.6; }
  50%      { transform: translate(-50%,-50%) scale(1.05); opacity: 1; }
} */

.left-top { position: relative; z-index: 2; }
.logo { width: 300px; filter: brightness(0) invert(1); opacity: 0.92; margin-bottom: 3rem; }

.tagline {
  font-family: 'q5-heading', sans-serif;
  font-size: 2.6rem;
  text-transform: uppercase;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1rem;
}
.tagline em { font-style: italic; opacity: 0.85; }

.calc-grid {
  margin-top: 6.5rem;
  display: grid; 
  grid-template-columns: 1fr 1fr 1fr; 
  gap: 2rem;
}
.calc-item {
  display: flex; 
  flex-direction: column; 
  align-items: start; 
  justify-content: start;
  text-align: left;
  color: var(--cream);
}
.calc-title {
  font-size: 1.3rem;
  font-family: 'q5-heading', sans-serif;
  font-weight: 500; 
  margin-bottom: 0.25rem;
  width: 100%;
  display: flex; 
  align-items: baseline;
  text-transform: uppercase;
}

.calc-title em {
  font-style: italic;
  opacity: 0.9;
}

.sub-tag {
  font-size: 1rem;
/*   letter-spacing: 0.16em;
 */

  line-height: 25px;
  color: rgba(255,255,255,1);
  font-weight: 400;
}
.top-tag {
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,1);
  font-weight: 500;
}
/* quotient dots */
.left-bottom { position: relative; z-index: 2; }
.q-dots {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 1rem;
}
.q-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: all 0.4s;
  position: relative;
  cursor: default;
}
.q-dot.on { background: #fff; transform: scale(1.5); }
.q-dot-tip {
  position: absolute; bottom: 16px; left: 50%;
  transform: translateX(-50%);
  font-size: 9px; color: rgba(255,255,255,0.7);
  white-space: nowrap; letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.q-dot.on .q-dot-tip { opacity: 1; }

.formula {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255,255,255,0.35);
}

/* ── RIGHT PANEL ── */
.right {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  gap: 0;
  animation: fadeRight 0.9s cubic-bezier(.4,0,.2,1) 0.15s both;
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

.q-track-bg {
  fill: none;
  stroke: #7d5c6e;
  stroke-opacity: 0.22;
  stroke-width: 1.25;
}
.q-track-fill {
  fill: none;
  stroke: #f36faa;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.score-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  fill: #770136;
}

/* .score-text,
.name-text {
  transition: fill 0.3s ease-in-out, opacity 0.3s ease-in-out;
} */


.score-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  fill: #bba8b0;
  letter-spacing: 1.5px;
}

.score-mult {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  fill: #c4537e;
  opacity: 0.5;
}
/* orbit stage */
.orbit-stage {
  width: 85%; height: 320px;
  flex-shrink: 0;
  margin-bottom: 1.75rem;
}
.orbit-svg { width: 100%; height: 100%; overflow: visible; }

.orbit-bg-ring {
  fill: none;
  stroke: #e8dfe4;
  stroke-width: 1;
  stroke-dasharray: 3 7;
}

#score-arc {
  fill: none; stroke: var(--red); stroke-width: 2.5;
  stroke-linecap: round; opacity: 0.6;
  transition: stroke-dasharray 1s cubic-bezier(.4,0,.2,1);
}

.q-watermark {
  font-family: 'Montserrat', sans-serif;
  font-size: 80px;
  fill: var(--red); opacity: 0.06;
  user-select: none;
}

.orbit-nodes {
  transform-origin: 160px 160px;
  animation: spin 50s linear infinite;
}
.orbit-nodes:hover { animation-play-state: paused; }
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* info panel */
.info { text-align: center; width: 100%; max-width: 320px; }

.info-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem; color: black;
  min-height: 2rem; margin-bottom: 5px;
  transition: opacity 0.3s;
}
.mode-row {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 0.875rem;
}
.mode-pill {
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  border: 1px solid rgb(34, 34, 34);
  color: rgb(34, 34, 34); cursor: pointer;
  transition: all 0.2s;
}
.mode-pill.on { background: black; border-color: black; color: #fff; }

.mode-pill:hover {
  border: 1px solid rgb(99, 99, 99);
  color: rgb(99, 99, 99); 
}


.info-desc {
  font-size: 0.83rem; line-height: 1.65;
  color: rgb(34, 34, 34); min-height: 70px;
  margin-bottom: 1rem;
  transition: opacity 0.3s;
}

/* meter */
.meter-wrap { width: 100%; margin-bottom: 2.5rem; }
.meter-track { height: 2px; background: #e8dfe4; border-radius: 2px; margin-bottom: 5px; overflow: hidden; }
.meter-fill {
  height: 100%; border-radius: 2px;
  background-color: black;
  transition: width 0.9s cubic-bezier(.4,0,.2,1);
}
.meter-ends {
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: black;
}

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 26px;
  background: black; color: #fff;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: none; border-radius: 2px; cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border-radius: 10px;
}
.cta:hover { background: rgb(39, 39, 39); gap: 14px; }
.arrow {
  width: 12px; height: 12px;
  border-top: 1.5px solid #fff; border-right: 1.5px solid #fff;
  transform: rotate(45deg);
}

/* ── STRIP ── */
.strip {
  background: transparent;
  height: 52px;
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 0 3.5rem; gap: 2rem;
  position: absolute; bottom: 0; left: 0; right: 0;
}
.strip span {
  font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
}
.strip .formula-strip {
  font-family: 'Montserrat', sans-serif;
  font-style: italic; font-size: 0.85rem;
  color: rgba(255,255,255,0.5); letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; }
  .left { padding: 2.5rem 2rem; }
  .right { padding: 2.5rem 2rem; }
  .orbit-stage { width: 85%; height: 270px; }
  .strip { padding: 0 2rem; flex-wrap: wrap; height: auto; padding: 0.75rem 2rem; }
}

