/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

:root {
  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Inter', sans-serif;

  --bg: #fff6e9;
  --bg-alt: #ffedd1;
  --surface: #ffffff;
  --border: #ffd8a8;

  --text: #2c2118;
  --text-muted: #7a6a58;

  --accent: #ff6b4a;
  --accent-2: #ffb648;
  --accent-3: #4ea699;
  --accent-soft: rgba(255, 107, 74, 0.12);
  --accent-contrast: #ffffff;

  --radius-md: 16px;
  --radius-lg: 26px;

  --shadow: 0 14px 34px rgba(255, 140, 66, 0.16);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-heading); letter-spacing: -0.01em; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.4rem;
}

.logo-dot { color: var(--accent); }

.nav {
  display: flex;
  gap: 26px;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a {
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 200ms ease;
}

.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform 200ms ease;
}

.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---- Site switch (links back to the professional site) --------------- */
.site-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-switch-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.site-switch-label--muted { color: var(--text-muted); }

.site-switch-visual {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 3px;
  transition: border-color 200ms ease;
}

.site-switch:hover .site-switch-visual { border-color: var(--accent); }

.site-switch-thumb {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(24px);
  transition: transform 200ms ease;
}

.site-switch:hover .site-switch-thumb { transform: translateX(20px); }

/* ==========================================================================
   Page hero
   ========================================================================== */
.page-hero {
  padding: 80px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 420px;
  background: radial-gradient(60% 60% at 50% 0%, var(--accent-soft), transparent 70%);
  pointer-events: none;
}

.page-hero-inner { position: relative; max-width: 720px; }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 18px;
}

.page-subtitle {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
  border: 1px solid transparent;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: var(--accent-contrast); }

.btn-secondary { background: var(--surface); border-color: var(--border); color: var(--text); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-intro {
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 40px;
}

/* ---- Quick-highlight teaser cards (home page) ------------------------ */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.highlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.highlight-icon { font-size: 2rem; margin-bottom: 12px; }

.highlight-card h3 { font-size: 1.02rem; margin-bottom: 6px; }

.highlight-card p { color: var(--text-muted); font-size: 0.88rem; }

/* ---- Generic content grid (hobbies / interests) ----------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.content-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.content-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.content-card h3 { font-size: 1.1rem; margin-bottom: 8px; }

.content-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ---- Tag cloud (interests) --------------------------------------------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }

.tag-pill {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

/* ---- Stat tiles (fitness) ---------------------------------------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.stat-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.progress-list { display: flex; flex-direction: column; gap: 22px; }

.progress-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* ---- Blog cards --------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.blog-card-image {
  height: 150px;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }

.blog-card-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.blog-card-body h3 { font-size: 1.05rem; margin-bottom: 10px; }

.blog-card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  flex: 1;
}

.blog-card-link {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent);
}

.blog-note {
  margin-top: 40px;
  padding: 20px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 60px 24px 44px;
}

.footer-col h3 { font-size: 1.3rem; margin-bottom: 14px; }

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.footer-col p { color: var(--text-muted); font-size: 0.95rem; max-width: 340px; }

.footer-links li { margin-bottom: 12px; }
.footer-links li:last-child { margin-bottom: 0; }

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 200ms ease;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }

.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); text-align: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .page-hero { padding: 56px 0 40px; }
  .section { padding: 48px 0; }
}

@media (max-width: 560px) {
  .highlight-grid, .card-grid, .blog-grid, .stat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .site-switch-label { display: none; }
}

/* ---- Mobile nav drawer -------------------------------------------------- */
.nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  gap: 16px;
}
