/* ─── Fonts ─────────────────────────────────────────────── */
@font-face {
  font-family: 'Coolvetica';
  src: url('fonts/coolvetica/coolvetica rg.otf') format('opentype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Runda';
  src: url('fonts/Runda/archive/Runda-Normal.woff2') format('woff2'),
       url('fonts/Runda/Runda-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

br { line-height: 1.1; display: block; }

/* ─── Base ──────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

/* STYLE 1 — Body: Runda Regular */
body {
  font-family: 'Runda', -apple-system, Arial, sans-serif;
  font-weight: 400;
  background: #fff;
  color: #000;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
  padding: 0.75rem 0.75rem 0.75rem;
}

@media (min-width: 700px) {
  body {
    max-width: 680px;
    margin: 0;
    padding: 1.5rem 0 1.5rem 1.5rem;
  }
}

/* STYLE 2 — Titles: Coolvetica Bold, slightly tracked */
.name,
.section-heading {
  font-family: 'Coolvetica', sans-serif;
  font-weight: 900;
  letter-spacing: 0.10em;
  line-height: 1.1;
}

.section-body {
  line-height: 1.1;
  margin-bottom: 1em;
}

/* ─── Layout spacing ─────────────────────────────────────── */
.name          { margin-bottom: 0.15em; }
.meta          { margin-bottom: 1.8em; }
.section       { margin-bottom: 1.6em; }
.section-heading { margin-bottom: 1em; }
.section-body { line-height: 1.1; }

/* ─── Email copy ─────────────────────────────────────────── */
#email { cursor: pointer; }
#email:hover { opacity: 0.6; }

/* ─── Links: base reset ──────────────────────────────────── */
a {
  color: inherit;
  text-decoration: none;
}

/* ─── Links inside accordion body ───────────────────────── */
.accordion-inner a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.accordion-inner a:hover { opacity: 0.6; }

/* ─── Accordion ──────────────────────────────────────────── */
.toggle-input { display: none; }

.accordion-wrap { margin-bottom: 1.1em; }

.accordion-label {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  cursor: pointer;
  padding: 0.1em 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.accordion-label:active { opacity: 0.6; }

.accordion-title { flex: 1; }

/* Arrow */
.arrow {
  display: inline-block;
  flex-shrink: 0;
  margin-left: 0.8em;
  font-size: 1em;
  font-family: Arial, sans-serif;
  transform: rotate(270deg);
  transition: transform 0.25s ease;
}
.toggle-input:checked + .accordion-label .arrow {
  transform: rotate(180deg);
}

/* Smooth expand */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.toggle-input:checked ~ .accordion-content {
  max-height: 2400px;
}

.accordion-inner {
  padding: 0.6em 0 1.1em;
}

/* ─── Star ───────────────────────────────────────────────── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.star {
  text-align: left;
  margin: 2.5em 0 1.8em;
}
.star img {
  width: 55%;
  max-width: 240px;
  animation: spin 40s linear infinite;
  transform-origin: center;
}

/* ─── Clock ───────────────────────────────────────────────── */
#clock { padding-top: 1em; }
