:root {
    --forest: #14272e;
    --sage: #d3dacd;
    --sage-light: #e8ecdf;
    --moss: #476450;
    --white: #ffffff;
  }

  * { box-sizing: border-box; }

  /* Safety net: an <img> with no sizing class still can't overflow its column.
     Rules like .gallery img / .craft-card .swatch.photo img are more specific
     and still win where they apply. */
  img { max-width: 100%; height: auto; }

  body {
    margin: 0;
    font-family: 'Poppins', Arial, sans-serif;
    background: var(--white);
    color: var(--forest);
    line-height: 1.6;
  }

  a { color: inherit; }

  .preview-banner {
    background: var(--moss);
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
  }

  /* Nav */
  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: var(--white);
    border-bottom: 1px solid var(--sage-light);
    position: sticky;
    top: 0;
    z-index: 10;
  }

  nav .logo {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    color: var(--forest);
    text-decoration: none;
  }

  nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
  }

  nav ul a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--forest);
  }

  nav ul a:hover { color: var(--moss); }

  .nav-toggle {
    display: none;
  }

  .nav-toggle-label {
    display: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--forest);
  }

  .nav-toggle-label::before {
    content: "\2630";
  }

  .nav-toggle:checked + .nav-toggle-label::before {
    content: "\2715";
  }

  @media (max-width: 640px) {
    .nav-toggle-label {
      display: block;
    }

    nav ul {
      display: none;
      flex-direction: column;
      align-items: flex-start;
      gap: 1.25rem;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--white);
      border-bottom: 1px solid var(--sage-light);
      padding: 1.5rem 2rem;
    }

    .nav-toggle:checked ~ ul {
      display: flex;
    }
  }

  /* Hero */
  .hero {
    text-align: center;
    padding: 5rem 1.5rem 4rem;
    background: var(--sage-light);
  }

  .hero .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--moss);
    font-weight: 600;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin: 0.75rem 0;
    color: var(--forest);
  }

  .hero p {
    max-width: 34rem;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--forest);
    opacity: 0.85;
  }

  /* Category grid */
  section { padding: 4rem 1.5rem; }

  .section-head {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .section-head .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--moss);
    font-weight: 600;
  }

  .section-head h2 {
    font-size: 1.9rem;
    font-weight: 600;
    margin: 0.5rem 0 0;
  }

  .crafts {
    max-width: 64rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.5rem;
  }

  .craft-card {
    background: var(--sage-light);
    border-radius: 0.5rem;
    overflow: hidden;
    text-align: center;
    transition: transform 0.15s ease;
  }

  .craft-card:hover { transform: translateY(-4px); }

  .craft-card .swatch {
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    background: var(--sage);
    color: var(--forest);
  }

  .craft-card .body { padding: 1.5rem; }

  .craft-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
  }

  .craft-card p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
  }

  /* Tagline band */
  .tagline-band {
    background: var(--forest);
    color: var(--white);
    text-align: center;
  }

  .tagline-band h2 {
    font-weight: 300;
    font-size: clamp(1.4rem, 3vw, 2rem);
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.5;
  }

  /* Shop coming soon */
  .shop-coming-soon {
    text-align: center;
    background: var(--sage-light);
    border-radius: 1rem;
    max-width: 40rem;
    margin: 0 auto;
    padding: 3rem 2rem;
  }

  .shop-coming-soon p {
    max-width: 28rem;
    margin: 0.5rem auto 0;
    opacity: 0.85;
  }

  .pill {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    background: var(--moss);
    color: #fff;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
  }

  /* Follow / newsletter */
  .follow {
    text-align: center;
    background: var(--sage);
  }

  .follow h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .follow p {
    max-width: 28rem;
    margin: 0 auto 1.5rem;
    opacity: 0.85;
  }

  .follow a.pill { background: var(--forest); }

  .follow .pill-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  footer {
    text-align: center;
    padding: 2.5rem 1.5rem;
    font-size: 0.85rem;
    color: var(--forest);
    opacity: 0.6;
  }

  .craft-card .swatch.photo {
    padding: 0;
  }

  .craft-card .swatch.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Gallery */
  .gallery {
    max-width: 64rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.5rem;
  }

  .gallery figure {
    margin: 0;
    background: var(--sage-light);
    border-radius: 0.5rem;
    overflow: hidden;
  }

  .gallery img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
    display: block;
  }

  .gallery figcaption {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    opacity: 0.8;
  }

  /* Blog post photo */
  .post-photo {
    display: block;
    width: 100%;
    max-width: 11rem;
    height: auto;
    border-radius: 0.5rem;
    margin: 0 0 1.25rem;
  }

  nav .logo img {
    height: 2.25rem;
    width: auto;
    display: block;
  }

  .hero h1 {
    line-height: 0;
  }

  .hero-logo {
    width: min(90vw, 26rem);
    height: auto;
  }
