:root {
    --bg: #edeadd;
    --card: #f9f8f3;
    --sage: #b6c3a2;
    --sage-dark: #7b8764;
    --blue: #a6bfc8;
    --font-main: 'EB Garamond', serif;
    --font-sans: 'Inter', Arial, sans-serif;
    --radius-lg: 36px;
    --radius-md: 18px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px 0 rgba(120, 100, 80, 0.09);
  }
  
  body {
    background: var(--bg);
    margin: 0;
    font-family: var(--font-sans);
    min-height: 100vh;
  }
  
  .background {
    position: fixed;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    opacity: 0.18;
    top: 0; left: 0;
  }
  
  .card {
    position: relative;
    z-index: 1;
    max-width: 540px;
    margin: 3rem auto 2rem auto;
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 2.5px solid var(--sage);
    padding-bottom: 0.5rem;
  }
  
  .header-arc {
    position: relative;
    width: 100%;
    height: 160px;
    background: transparent;
    border-bottom-left-radius: 80% 60px;
    border-bottom-right-radius: 80% 60px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  
  .header-bg {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-bottom-left-radius: 80% 60px;
    border-bottom-right-radius: 80% 60px;
  }
  
  .profile-img-wrapper {
    position: absolute;
    left: 50%;
    bottom: -45px;
    transform: translateX(-50%);
    background: var(--card);
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(120,100,80,0.08);
  }
  
  .profile-img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--sage);
    background: #fff;
  }
  
  .title-area {
    margin-top: 55px;
    text-align: center;
    position: relative;
  }
  
  .title-area h1 {
    font-family: var(--font-main);
    font-size: 2.1rem;
    color: var(--sage-dark);
    margin: 0;
    letter-spacing: 1px;
  }
  
  .subtitle {
    font-family: var(--font-main);
    font-size: 1.1rem;
    color: var(--sage);
    margin: 0.1em 0 0.5em 0;
  }
  
  .mushrooms {
    font-size: 1.2em;
    color: var(--sage-dark);
    letter-spacing: 0.5em;
    margin-bottom: 0.5em;
  }
  
  nav {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 1.5em 0 1em 0;
  }
  
  .nav-btn {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: 0.5em 1.6em;
    font-family: var(--font-main);
    font-size: 1.1em;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(166, 191, 200, 0.09);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
  }
  
  .nav-btn.active,
  .nav-btn:hover {
    background: var(--sage-dark);
    color: #fff;
  }
  
  .section {
    padding: 0 1.5em 0.5em 1.5em;
  }
  
  .welcome-title {
    font-family: var(--font-main);
    font-size: 2rem;
    color: var(--sage-dark);
    margin: 0.5em 0 0.3em 0;
  }
  
  .welcome-row {
    display: flex;
    gap: 1.2em;
    margin-bottom: 1.2em;
  }
  
  .welcome-text {
    flex: 2;
  }
  
  .welcome-text h2 {
    font-family: var(--font-main);
    color: var(--sage-dark);
    margin: 0 0 0.4em 0;
    font-size: 1.4em;
  }
  
  .welcome-text ul {
    margin: 0 0 0.7em 1em;
    padding: 0;
    color: #444;
    font-size: 1em;
  }
  
  .highlight-box {
    background: var(--sage);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 0.7em 1em;
    margin-top: 0.7em;
    font-size: 1em;
  }
  
  .welcome-img {
    flex: 1.1;
    display: flex;
    align-items: flex-start;
  }
  
  .welcome-img img {
    width: 100%;
    border-radius: var(--radius-sm);
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(120,100,80,0.08);
  }
  
  .social-row {
    display: flex;
    justify-content: center;
    gap: 1.2em;
    margin-top: 1.1em;
  }
  
  .social-btn {
    width: 38px;
    height: 38px;
    background: var(--sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }
  
  .social-btn img {
    width: 22px;
    height: 22px;
    filter: invert(90%) sepia(10%) saturate(250%) hue-rotate(70deg);
  }
  
  .social-btn:hover {
    background: var(--blue);
  }
  
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1em;
    margin-bottom: 1.2em;
  }
  
  .about-img img,
  .project-img img {
    width: 100%;
    border-radius: var(--radius-sm);
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(120,100,80,0.08);
  }
  
  .about-quote, .project-quote {
    background: var(--sage);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 1em;
    font-family: var(--font-main);
    font-size: 1.06em;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .about-quote span, .project-quote span {
    font-size: 0.94em;
    color: #eae8dc;
    margin-top: 0.4em;
  }
  
  .about-info, .project-info {
    background: var(--blue);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 1em;
    font-family: var(--font-main);
    font-size: 1.08em;
  }
  
  .about-info h3, .project-info h3 {
    margin: 0 0 0.4em 0;
    font-size: 1.2em;
    font-family: var(--font-main);
    color: var(--sage-dark);
  }
  
  .likes-row {
    display: flex;
    gap: 1.5em;
    justify-content: center;
    margin-bottom: 1em;
  }
  
  .likes-title {
    font-family: var(--font-main);
    color: var(--sage-dark);
    font-size: 1.1em;
    margin-bottom: 0.2em;
  }
  
  .likes-row ul {
    margin: 0.2em 0 0.2em 1.1em;
    padding: 0;
    color: #444;
    font-size: 1em;
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1em;
    margin-bottom: 1.2em;
  }
  
  .project-card {
    display: flex;
    flex-direction: column;
    background: #f3f3ec;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(120,100,80,0.05);
    overflow: hidden;
    align-items: stretch;
    text-align: left;
  }
  
  .project-img img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }
  
  .project-info {
    padding: 0.7em 1em 1em 1em;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .project-info h3 {
    font-size: 1.08em;
    margin: 0 0 0.3em 0;
  }
  
  .project-link {
    margin-top: 0.6em;
    display: inline-block;
    background: var(--sage);
    color: #fff;
    padding: 0.35em 1em;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1em;
    text-decoration: none;
    transition: background 0.2s;
  }
  
  .project-link:hover {
    background: var(--sage-dark);
  }
  
  footer {
    text-align: center;
    color: #b1b1a6;
    font-size: 0.95em;
    margin: 1.2em 0 0.2em 0;
  }
  
  footer a {
    color: var(--sage-dark);
    text-decoration: underline;
  }
  
  @media (max-width: 700px) {
    .card {
      max-width: 98vw;
      margin: 1rem;
      border-radius: 18px;
    }
    .header-arc, .header-bg {
      height: 120px;
    }
    .profile-img {
      width: 60px;
      height: 60px;
    }
    .title-area {
      margin-top: 35px;
    }
    .welcome-row,
    .about-grid,
    .likes-row,
    .projects-grid {
      flex-direction: column;
      grid-template-columns: 1fr;
      gap: 0.8em;
    }
    .project-img img {
      height: 90px;
    }
  }
  