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

body {
  font-family: system-ui, sans-serif;
  background: #fff;
  color: #111;
}

/* NAV */
header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 100;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
}

nav ul a {
  text-decoration: none;
  color: #333;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}

nav ul a:hover {
  color: #000;
}

nav ul a.active {
  color: #000;
  border-bottom: 1px solid #000;
  padding-bottom: 2px;
}

/* HERO – SUN VISUALIZATION */
.hero {
  min-height: calc(100vh - 89px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.suns-wrapper {
  display: flex;
  gap: clamp(16px, 6vw, 80px);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.circle-sun {
  position: relative;
  width: clamp(280px, 42vw, 500px);
  aspect-ratio: 1;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.circle-sun.dominant {
  z-index: 10;
}

.circle-sun.recessive {
  z-index: 5;
}

.sun-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sun-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s ease;
}

.sun-core:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.circle-sun.expanded .sun-core {
  transform: translate(-50%, -50%) scale(1.04);
}

/* Circle graphics */
.circle-graphic {
  position: relative;
  width: clamp(150px, 20vw, 220px);
  height: clamp(150px, 20vw, 220px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-graphic img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Perfect circle: reduce inner SVG so it visually matches the grunge logo size */
.circle-graphic--perfect {
  padding: 9%;
}

.circle-graphic--perfect > svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sun-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111;
  pointer-events: none;
  white-space: nowrap;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 760px) {
  /* Navbar */
  nav {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
  }

  nav ul {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul a {
    font-size: 0.78rem;
  }

  /* Hero suns */
  .suns-wrapper {
    flex-direction: column;
    gap: 32px;
  }

  .circle-sun {
    width: min(320px, 80vw);
  }

  .circle-graphic {
    width: min(160px, 42vw);
    height: min(160px, 42vw);
  }

  /* Sections */
  .section-inner {
    padding: 64px 16px;
  }

  .section-inner h2 {
    font-size: 1.3rem;
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form {
    padding: 24px 20px;
  }

  /* Test scale legend */
  .test-scale-legend {
    gap: 12px;
    font-size: 0.8rem;
    top: 0;
  }
}

@media (max-width: 480px) {
  .circle-sun {
    width: 88vw;
  }

  .circle-graphic {
    width: 44vw;
    height: 44vw;
  }

  nav ul a {
    font-size: 0.72rem;
  }
}

/* SECTIONS */
.section-content {
  border-top: 1px solid #e0e0e0;
  display: none;
}

.section-content.active {
  display: block;
}

.section-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 96px 24px;
}

.section-inner h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 40px;
  color: #111;
}

.section-inner p {
  font-size: 1rem;
  line-height: 1.85;
  color: #444;
  margin-bottom: 24px;
}

.section-inner p:last-child {
  margin-bottom: 0;
}

.section-inner h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111;
  margin-top: 56px;
  margin-bottom: 20px;
}

.section-inner h3:first-of-type {
  margin-top: 0;
}

.section-inner ul {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section-inner ul li {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  padding-left: 20px;
  position: relative;
}

.section-inner ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #aaa;
}

/* TEST */
.test-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 32px;
}

.test-scale-legend {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #777;
  border: 1px solid #e0e0e0;
  padding: 14px 20px;
  margin-bottom: 48px;
  position: sticky;
  top: 89px;
  background: #fff;
  z-index: 50;
}

.test-scale-legend strong {
  color: #111;
}

.test-questions {
  list-style: none;
  counter-reset: q-counter;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.test-question {
  counter-increment: q-counter;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 0;
  border-bottom: 1px solid #ebebeb;
}

.test-question:last-child {
  border-bottom: none;
}

.q-text {
  font-size: 0.97rem;
  line-height: 1.65;
  color: #222;
}

.q-text::before {
  content: counter(q-counter) ". ";
  color: #aaa;
  font-variant-numeric: tabular-nums;
}

.q-options {
  display: flex;
  gap: 10px;
}

.q-options label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.q-options input[type="radio"] {
  appearance: none;
  width: 36px;
  height: 36px;
  border: 1px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.q-options input[type="radio"]:checked {
  background: #111;
  border-color: #111;
}

.q-options span {
  font-size: 0.78rem;
  color: #888;
}

.test-error {
  color: #c00;
  font-size: 0.9rem;
  margin-top: 24px;
}

.test-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 40px;
  background: #111;
  color: #fff;
  border: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.test-btn:hover {
  background: #333;
}

.test-btn--ghost {
  background: transparent;
  color: #111;
  border: 1px solid #111;
  margin-top: 28px;
}

.test-btn--ghost:hover {
  background: #111;
  color: #fff;
}

/* RESULT */
.test-result {
  padding-top: 16px;
}

.result-score {
  font-size: 1.1rem;
  color: #111;
  margin-bottom: 16px;
}

.result-bar-wrap {
  width: 100%;
  height: 4px;
  background: #e8e8e8;
  margin-bottom: 36px;
}

.result-bar {
  height: 4px;
  background: #111;
  transition: width 0.6s ease;
}

.result-level {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #111;
  margin-bottom: 16px;
}

.result-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

/* SECTION FULL-WIDTH IMAGE */
.section-full-img {
  display: block;
  width: 100%;
  margin-top: 64px;
  filter: grayscale(100%);
  object-fit: cover;
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 680px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  display: block;
  margin-bottom: 28px;
  filter: grayscale(100%);
}

.contact-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 24px;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
}

.contact-details a {
  font-size: 0.95rem;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-details a:hover {
  color: #000;
}

.contact-form {
  background: #f7f7f7;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #888;
  font-weight: 600;
}

.field .optional {
  color: #bbb;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 400;
}

.field input,
.field textarea {
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
  font-size: 0.97rem;
  font-family: inherit;
  color: #111;
  background: transparent;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #bbb;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: #111;
}

.field textarea {
  min-height: 120px;
}

.contact-form .test-btn {
  margin-top: 8px;
  width: 100%;
  text-align: center;
}

.form-note {
  font-size: 0.78rem;
  color: #bbb;
  text-align: center;
  margin-top: -12px;
}

/* CHECKBOX CONSENT */
.field--checkbox {
  margin-top: -8px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #777;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1px solid #ccc;
  border-radius: 2px;
  margin-top: 2px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.checkbox-label input[type="checkbox"]:checked {
  background: #111;
  border-color: #111;
}

.checkbox-label a {
  color: #555;
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: #111;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 32px;
  color: #999;
  font-size: 0.85rem;
}

footer a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #111;
}
