.circle-hero {
  height: 300px;
  background: #a76d69;
  min-height: 300px;
  padding: 0;
}

.circle-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 1rem;
  padding-top: 72px;
}

.circle-hero-logo {
  width: min(220px, 48vw);
  height: auto;
  display: block;
  position: relative;
  top: 93px;
}

.circle-tagline {
  text-align: center;
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(1.75rem, 4vw, 3rem);
}

.circle-section {
  background: #fff;
  padding-top: 40px;
}

.circle-card {
  background: #fff;
  width: min(1220px, 100%);
  margin: 10px auto 0;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 18px 50px rgba(39, 65, 51, 0.09);
}

.session-tabs {
  display: inline-flex;
  gap: 0.75rem;
  padding: 0.35rem;
  margin: 0 auto 2.25rem;
  background: rgba(167, 109, 105, 0.08);
  border-radius: 999px;
}

.session-tab {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(39, 65, 51, 0.7);
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.session-tab.active {
  background: #a76d69;
  color: #fff;
}

.session-panel {
  display: none;
}

.session-panel.active {
  display: block;
}

.circle-page-intro {
  max-width: 920px;
  margin: 0 auto 3rem;
  text-align: center;
}

.circle-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  color: rgba(39,65,51,0.6);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

.circle-title {
  font-family: "Aboreto", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--dark-green);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.circle-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: rgba(39,65,51,0.68);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.circle-intro-copy {
  margin: 0 auto;
  max-width: 78ch;
  color: rgba(39,65,51,0.72);
  font-size: 1.02rem;
  line-height: 1.8;
}

.circle-scale-card {
  max-width: 760px;
  margin: 1.75rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(39,65,51,0.12);
}

.scale-title {
  font-size: 0.82rem;
  color: var(--dark-green);
  margin-bottom: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.scale-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  color: rgba(39,65,51,0.7);
  font-size: 0.98rem;
}

.scale-line {
  flex: 1;
  height: 1px;
  background: rgba(39,65,51,0.2);
}

.scale-notes {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(39,65,51,0.62);
  line-height: 1.55;
}

.circle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 430px);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.wheel-container {
  text-align: center;
}

#wheelSvg {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: min(100%, 860px);
  height: auto;
}

.wheel-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: transparent;
  color: #1f2a22;
  border: none;
  padding: 0.2rem 0.4rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.7;
}

.circle-secondary-actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
}

.btn-secondary {
  background: #fff;
  color: var(--dark-green);
  border: 1px solid rgba(39,65,51,0.16);
  padding: 13px 24px;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: rgba(39,65,51,0.32);
}

.sliders-panel {
  background: #fff;
  padding: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
}

.sliders-title {
  font-size: 0.84rem;
  color: var(--dark-green);
  margin-bottom: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.sliders-subtitle {
  color: rgba(39,65,51,0.65);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.4rem;
}

.slider-row {
  border-bottom: 1px solid rgba(39,65,51,0.1);
  padding: 0.95rem 0 1rem;
}

.slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.slider-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark-green);
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.slider-value {
  font-size: 0.9rem;
  color: rgba(39,65,51,0.72);
  min-width: 20px;
  text-align: right;
  font-weight: 600;
}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #274133;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.save-notice {
  padding: 1rem 0 0;
  font-size: 0.85rem;
  color: rgba(39,65,51,0.62);
  text-align: center;
  margin-top: 0.4rem;
  font-weight: 300;
  line-height: 1.65;
}

.save-success {
  background: rgba(100,150,100,0.1);
  border: 1px solid rgba(39,65,51,0.12);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  color: var(--dark-green);
  text-align: center;
  margin-top: 1rem;
  display: none;
}

.save-success.visible {
  display: block;
}

.history-section {
  margin-top: 2rem;
}

.video-session-intro {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.video-card {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(167, 109, 105, 0.08) 0%, rgba(225, 217, 199, 0.35) 100%);
  border-radius: 24px;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.history-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(39,65,51,0.5);
  margin-bottom: 1rem;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.history-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,0.88);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(39,65,51,0.06);
  font-size: 0.95rem;
}

.history-date {
  color: rgba(39,65,51,0.5);
  font-weight: 300;
}

.history-avg {
  color: var(--rust);
  font-weight: 500;
}

.btn-view-history {
  background: none;
  border: none;
  color: var(--rust);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  font-family: "Montserrat", sans-serif;
}

@media (max-width: 920px) {
  .circle-layout {
    grid-template-columns: 1fr;
  }

  #wheelSvg {
    width: min(100%, 680px);
  }

  .circle-secondary-actions {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .circle-hero,
  .circle-hero-content {
    min-height: 300px;
  }

  .circle-hero {
    height: 300px;
    padding: 0;
  }

  .circle-card {
    padding: 1.5rem;
  }

  .session-tabs {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .history-item {
    grid-template-columns: 1fr;
  }
}
