@import url('https://fonts.googleapis.com/css2?family=Oooh+Baby&display=swap');

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

:root {
  --bg: #ffffff;
  --text: #111111;
  --text-muted: #888888;
  --text-secondary: #444444;
  --border: #e5e5e5;
  --badge-bg: #f0faf0;
  --badge-dot: #22c55e;
  --badge-text: #166534;
  --toggle-bg: #f3f4f6;
  --toggle-hover: #e5e7eb;
}

[data-theme="dark"] {
  --bg: #0f0f0f;
  --text: #fefbfb;
  --text-muted: #666666;
  --text-secondary: #aaaaaa;
  --border: #222222;
  --badge-bg: #0a1f0a;
  --badge-dot: #22c55e;
  --badge-text: #4ade80;
  --toggle-bg: #1f1f1f;
  --toggle-hover: #2a2a2a;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ── Page wrapper ─────────────────────────────────────────── */
.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Hero: exactly one viewport tall ─────────────────────── */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--text);
  transition: opacity 0.15s;
}

.logo:hover {
  opacity: 0.6;
}

.logo svg {
  width: 32px;
  height: 32px;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--toggle-bg);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s;
}

.theme-toggle:hover {
  background: var(--toggle-hover);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
}

/* ── Main layout ──────────────────────────────────────────── */
.content {
  display: grid;
  grid-template-columns: 9fr 3fr;
  gap: 112px;
  padding-bottom: 64px;
  align-items: end;
  margin-top: auto;
}

/* ── Left column ──────────────────────────────────────────── */
.left-col {
  min-width: 0;
}

/* Desktop 8/12 + 4/12 split for intro and sidebar */
@media (min-width: 861px) {
  .left-col {
    grid-column: 1;
  }

  .sidebar {
    grid-column: 2;
    width: auto;
  }
}

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--badge-bg);
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  font-size: 13px;
  color: var(--badge-text);
  margin-bottom: 28px;
}

[data-theme="dark"] .availability-badge {
  border-color: #14532d;
}

.availability-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--badge-dot);
  flex-shrink: 0;
}

.greeting {
  font-family: 'Oooh Baby', cursive;
  font-size: 72px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 28px;
}

.bio {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.bio strong {
  color: var(--text);
  font-weight: 600;
}

.bio:last-child {
  margin-bottom: 0;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.sidebar {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 4px;
}

.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.sidebar-entry {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-link {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: opacity 0.15s;
}

.sidebar-link:hover {
  opacity: 0.6;
}

.sidebar-link .arrow {
  font-size: 13px;
  color: var(--text-muted);
}

.sidebar-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.sidebar-contact {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.sidebar-contact a {
  color: var(--text);
  font-weight: 500;
  transition: opacity 0.15s;
}

.sidebar-contact a:hover {
  opacity: 0.6;
}

/* ── Work section ─────────────────────────────────────────── */
.work-section {
  border-top: 1px solid var(--border);
  padding: 64px 0 96px;
}

.work-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.work-list {
  display: flex;
  flex-direction: column;
}

.work-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.15s;
  cursor: pointer;
}

.work-item:hover {
  opacity: 0.6;
}

.work-item:first-child {
  border-top: 1px solid var(--border);
}

.work-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.work-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.work-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.work-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.work-tag {
  font-size: 11.5px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 10px;
}

.work-arrow {
  font-size: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 860px) {
  .page {
    padding: 0 28px;
  }

  .navbar {
    padding: 22px 0;
  }

  .hero {
    height: auto;
    min-height: 0;
  }

  .content {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 48px;
    margin-top: 0;
    align-items: stretch;
  }

  .left-col,
  .sidebar,
  .work-left {
    min-width: 0;
  }


  .left-col{
    margin-top:180px;
   
  }
  .sidebar {
    width: 100%;
    gap: 24px;
    padding-top: 0;
  }

  .greeting {
    font-size: clamp(2.6rem, 9.5vw, 3.4rem);
    margin-bottom: 20px;
  }

  .availability-badge {
    margin-bottom: 20px;
  }

  .bio {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 14px;
  }

  .sidebar-label {
    margin-bottom: 0;
  }

  .sidebar-link,
  .sidebar-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 6px 0;
  }

  .work-section {
    padding: 52px 0 76px;
  }

  .work-label {
    margin-bottom: 24px;
  }

  .work-item {
    padding: 18px 0;
  }
}

@media (max-width: 520px) {
  .page {
    padding: 0 20px;
  }

  .content {
    gap: 36px;
  }

  .availability-badge {
    font-size: 12.5px;
    padding: 6px 12px;
  }

  .greeting {
    font-size: clamp(2.2rem, 11vw, 2.8rem);
    line-height: 1.1;
    margin-bottom: 16px;
  }

  .bio {
    font-size: 14.5px;
    line-height: 1.68;
    margin-bottom: 12px;
  }

  .sidebar {
    gap: 20px;
  }

  .sidebar-section {
    gap: 8px;
  }

  .sidebar-link {
    font-size: 14.5px;
    min-height: 44px;
    padding: 8px 0;
  }

  .sidebar-desc,
  .sidebar-contact {
    font-size: 13.5px;
    line-height: 1.55;
  }

  .work-section {
    padding: 44px 0 64px;
  }

  .work-label {
    margin-bottom: 18px;
  }

  .work-item {
    padding: 16px 0;
  }

  .work-title {
    font-size: 15px;
  }

  .work-desc {
    font-size: 13px;
  }

  .work-item {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding: 14px 0 16px;
  }

  .work-arrow {
    font-size: 17px;
    min-height: 24px;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
  }
}
