 :root {
      --pink: #ed1d85;
      --turquoise: hsl(182, 92%, 46%);
      --yellow: hsl(51, 92%, 52%);
      --text: #030e72;
      --bg: hsl(230, 30%, 99%);
      --card: hsl(230, 30%, 98%);
      --radius: 20px;
         --radius2: 10px;
      --shadow: 0 6px 18px -8px hsl(230 30% 20% / 0.25);
      font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    header {
      position: fixed;
      top: 0; left: 0; right: 0;
      background: rgba(255, 255, 255, 0.85);
      backdrop-filter: blur(10px);
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      z-index: 100;
    }

    .header-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem clamp(2rem, 6vw, 5rem);
      box-sizing: border-box;
    }

    .header-inner img {
      height: 55px;
      width: auto;
    }

    nav {
      display: flex;
      gap: 2rem;
    }
    nav a {
      text-decoration: none;
      color: var(--text);
      font-weight: 600;
      font-size: 1.1rem;
      transition: color .2s ease;
    }
    nav a:hover {
      color: var(--pink);
    }

    main {
      margin-top: 90px;
    }

   
    .hero {
      background:
        linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255, 136, 205, 0.5)),
        url('https://www.huee.fi/hero.jpg') center/cover no-repeat;
      min-height: 80vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: var(--text);
      padding: 2rem;
    }
    .hero-inner {
      max-width: 100%;
    }
    .hero h1 {
      font-size: clamp(1.8rem, 5vw, 4.5rem);
      margin-bottom: 0.5rem;
    }
    .hero p {
      font-size: clamp(1rem, 2.2vw, 1.5rem);
      margin-bottom: 1.5rem;
      font-weight: bolder;
    }
    .btn {
      display: inline-block;
      background: var(--pink);
      color: white;
      padding: 0.8rem 1.4rem;
      border-radius: var(--radius2);
      font-weight: 500;
      letter-spacing: 2px;
      text-decoration: none;
      box-shadow: var(--shadow);
      transition: transform 0.2s;
    }
    .btn:hover { transform: translateY(-3px);  
      background: var(--text);}

       .btn_blue {
      display: inline-block;
      background: var(--text);
      color: white;
      padding: 0.8rem 1.4rem;
      border-radius: var(--radius2);
      font-weight: 500;
      letter-spacing: 2px;
      text-decoration: none;
      box-shadow: var(--shadow);
      transition: transform 0.2s;
    }
    .btn_blue:hover { transform: translateY(-3px);  
      background: var(--pink);}


    section {
      padding: clamp(2rem, 5vw, 4rem) 1.5rem;
      max-width: 1100px;
      margin: 0 auto; 
    }

    section.hero {
      max-width: none;
      margin: 0;
      padding: 0;
    }

    h2 {
      text-align: center;
      font-size: clamp(1.8rem, 3vw, 2.4rem);
      margin-bottom: 2rem;
    }

 
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem;
    }
    .card {
      background: var(--card);
      border-radius: var(--radius);
      overflow: hidden;
      text-decoration: none;
      color: var(--text);
      box-shadow: var(--shadow);
      transition: transform .2s;
    }
    .card:hover { transform: translateY(-4px); }
    .card img {
      width: 100%;
      display: block;
      height: auto;
    }
    .card h3 {
      margin: 0.8rem 1rem 0.3rem;
    }
    .card p {
      margin: 0 1rem 1rem;
      color: hsl(230 10% 40%);
    }

 
    .about {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
      align-items: center;
    }
    .about img {
      width: 100%;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

 
    .work-section {
      padding: clamp(2rem, 5vw, 4rem) 1.5rem;
      max-width: 1100px;
      margin: 0 auto;
    }

    .work-hero {
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
      margin-bottom: 2rem;
    }

    .work-hero img {
      width: 100%;
      height: auto;
      display: block;
    }

    .work-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      align-items: start;
    }

    .work-info h3 {
      font-size: clamp(1.6rem, 4vw, 2.2rem);
      margin-bottom: 0.5rem;
    }

    .work-info p {
      margin-bottom: 1rem;
      color: hsl(230 15% 35%);
    }

    .work-meta {
      list-style: none;
      padding: 0;
      margin: 1.5rem 0;
      font-size: 0.95rem;
    }

    .work-meta li strong {
      color: var(--pink);
      display: inline-block;
      width: 110px;
    }

    .work-gallery {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      justify-content: flex-start;
    }

    .work-gallery img {
      width: 160px;
      border-radius: var(--radius);
      cursor: pointer;
      box-shadow: var(--shadow);
      transition: transform 0.2s ease;
    }

    .work-gallery img:hover {
      transform: scale(1.05);
    }

 
    footer {
      text-align: center;
      padding: 2rem 1rem;
      background: var(--text);
      color: var(--bg);
      font-size: 0.9rem;
      border-top: 1px solid hsl(230 20% 85%);
    }
 
     .work-gallery img {
    width: 25%;
    max-width: 120px;
  }

    @media (max-width: 700px) {
      .header-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        padding: 1rem 2rem;
        text-align: center;
      }

      .header-inner img {
        height: 50px;
        margin-bottom: 0.3rem;
      }

      nav {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
        width: 100%;
      }

      nav a {
        font-size: 1.1rem;
      }

      .hero {
        min-height: 65vh;
        padding: 3rem 1.2rem;
        background-position: center;
        background-size: cover;
      }

      .hero h1 {
        font-size: clamp(2rem, 6vw, 2.6rem);
      }

      .hero p {
        font-size: 1rem;
      }

       .work-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .work-gallery {
    order: 1;  
    justify-content: center;
    width: 100%;
    margin-top: 1.5rem;
  }

  .work-info {
    order: 2;  
    width: 100%;
    text-align: left;
  }

  .work-gallery img {
    width: 25%;
    max-width: 120px;
  }
    }