  :root {
      --background: #e9dfce;
      --text: #2f241c;
      --muted: #74685d;
      --accent: #8d6b3d;
      --line: rgba(47, 36, 28, 0.18);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      min-height: 100vh;

      background: var(--background);
      color: var(--text);

      font-family:
        Georgia,
        "Times New Roman",
        serif;
    }

    .page {
      width: min(900px, calc(100% - 40px));
      margin: 0 auto;
      padding: 50px 0 40px;

      text-align: center;
    }


    /* ========================================
       LOGO
    ======================================== */

    .logo-area {
      width: min(560px, 95vw);
      margin: 0 auto 40px;

      position: relative;
    }

    .logo-media {
      display: block;

      width: 100%;
      height: auto;
    }

    #logoVideo {
      opacity: 1;

      transition:
        opacity 700ms ease;
    }

    #staticLogo {
      position: absolute;
      inset: 0;

      opacity: 0;

      transition:
        opacity 700ms ease;

      pointer-events: none;
    }

    .logo-area.finished #logoVideo {
      opacity: 0;
    }

    .logo-area.finished #staticLogo {
      opacity: 1;
    }


    /* ========================================
       TYPOGRAPHY
    ======================================== */

    .eyebrow {
      margin: 0 0 16px;

      font-family:
        Arial,
        Helvetica,
        sans-serif;

      font-size: 0.7rem;
      font-weight: 700;

      letter-spacing: 0.25em;
      text-transform: uppercase;

      color: var(--accent);
    }

    h1 {
      max-width: 720px;

      margin:
        0 auto 22px;

      font-size:
        clamp(
          2rem,
          5vw,
          3.7rem
        );

      font-weight: 400;

      line-height: 1.05;
      letter-spacing: -0.025em;
    }

    .intro {
      max-width: 620px;
      margin: 0 auto;

      font-family:
        Arial,
        Helvetica,
        sans-serif;

      font-size:
        clamp(
          1rem,
          2vw,
          1.1rem
        );

      line-height: 1.8;

      color: var(--muted);
    }

    .intro-shop-link {
      display: inline-block;
      margin-top: 24px;

      color: var(--text);

      font-family: Arial, Helvetica, sans-serif;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-underline-offset: 4px;
      text-transform: uppercase;
    }

    .intro-shop-link:hover,
    .intro-shop-link:focus-visible {
      color: var(--accent);
    }


    /* ========================================
       DIVIDERS
    ======================================== */

    .divider {
      display: flex;
      align-items: center;

      gap: 16px;

      max-width: 380px;

      margin:
        45px auto;
    }

    .divider::before,
    .divider::after {
      content: "";

      height: 1px;
      flex: 1;

      background: var(--line);
    }

    .divider span {
      color: var(--accent);

      font-size: 0.75rem;
    }


    /* ========================================
       COFFEE INFO
    ======================================== */

    .info {
      display: grid;

      grid-template-columns:
        repeat(3, 1fr);

      gap: 24px;

      max-width: 760px;

      margin: 0 auto;
    }

    .info-item {
      padding: 12px;
    }

    .info-label {
      display: block;

      margin-bottom: 9px;

      font-family:
        Arial,
        Helvetica,
        sans-serif;

      font-size: 0.67rem;
      font-weight: 700;

      letter-spacing: 0.2em;
      text-transform: uppercase;

      color: var(--accent);
    }

    .info-value {
      font-size: 1.05rem;

      line-height: 1.5;
    }
/* ========================================
   FEATURED ROAST
======================================== */

.featured-roast {
  max-width: 800px;
  margin: 0 auto;

  display: flex;
  align-items: stretch;

  gap: 50px;

  text-align: left;
}


/* BAG */

.roast-product-image {
  width: 330px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.roast-product-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}


/* COPY */

.roast-product-copy {
  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.roast-product-copy .eyebrow {
  margin-bottom: 8px;
  text-align: left;
}

.roast-product-copy h2 {
  margin: 0 0 16px;

  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 400;
}

.roast-description {
  margin: 0 0 24px;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size: 0.97rem;
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;

  color: var(--muted);
}


/* DETAILS */

.roast-details {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.roast-details div {
  display: flex;
  justify-content: space-between;

  gap: 20px;

  padding: 10px 0;

  border-bottom: 1px solid var(--line);
}

.roast-details div:last-child {
  border-bottom: none;
}

.roast-details span {
  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size: 0.65rem;
  font-weight: 700;

  letter-spacing: 0.15em;
  text-transform: uppercase;

  color: var(--accent);
}

.roast-details strong {
  font-size: 0.95rem;
  font-weight: 400;

  text-align: right;
}


/* MOBILE */

@media (max-width: 650px) {

  .featured-roast {
    flex-direction: column;

    align-items: center;

    gap: 25px;

    text-align: center;
  }

  .roast-product-image {
    width: min(330px, 85vw);
  }

  .roast-product-image img {
    width: 100%;
    height: auto;
  }

  .roast-product-copy {
    width: 100%;
  }

  .roast-product-copy .eyebrow {
    text-align: center;
  }

}

    /* ========================================
       TEAM
    ======================================== */

.team {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.team-title {
  margin: 0 0 12px;

  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 400;
}

    /* ========================================
       ROASTER
    ======================================== */

    .roaster {
      max-width: 700px;

      margin: 0 auto;

      display: flex;
      align-items: center;

      gap: 38px;

      text-align: left;
    }
	
	
.roaster + .roaster {
  margin-top: 70px;
}

    .roaster-photo {
      width: 240px;
      height: auto;

      flex-shrink: 0;

      display: block;
    }

    .roaster-copy {
      flex: 1;
    }

    .roaster-copy h2 {
      margin:
        0 0 13px;

      font-size:
        clamp(
          1.8rem,
          4vw,
          2.3rem
        );

      font-weight: 400;

      text-align: left;
    }

    .roaster-copy p:last-child {
      margin: 0;

      font-family:
        Arial,
        Helvetica,
        sans-serif;

      font-size: 0.97rem;

      line-height: 1.75;

      color: var(--muted);

      text-align: justify;
      text-justify: inter-word;
    }

    /* ========================================
       FOOTER
    ======================================== */

    footer {
      margin-top: 60px;

      padding-top: 25px;

      border-top:
        1px solid var(--line);

      font-family:
        Arial,
        Helvetica,
        sans-serif;

      font-size: 0.75rem;

      color: var(--muted);
    }

    footer p {
      margin: 0 0 10px;
    }

    footer a {
      color: inherit;
      text-underline-offset: 3px;
    }

    footer a:hover,
    footer a:focus-visible {
      color: var(--text);
    }

    .footer-links {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px 20px;

      margin: 18px 0;
    }

    .footer-copyright {
      margin-bottom: 0;
    }


    /* ========================================
       MOBILE
    ======================================== */

    @media (max-width: 650px) {

      .page {
        width:
          min(
            100% - 28px,
            900px
          );

        padding-top: 25px;
      }

      .logo-area {
        width:
          min(
            480px,
            100%
          );

        margin-bottom: 30px;
      }

      .info {
        grid-template-columns: 1fr;

        gap: 12px;
      }

      .info-item {
        padding: 6px;
      }

      .divider {
        margin:
          38px auto;
      }

      .roaster {
        flex-direction: column;
        align-items: center;

        gap: 24px;

        text-align: center;
      }

		.roaster + .roaster {
		  margin-top: 50px;
		}

      .roaster-photo {
        width:
          min(
            290px,
            82vw
          );

        height: auto;
      }

      .roaster-copy {
        width: 100%;
      }

      .roaster-copy h2 {
        text-align: center;
      }

      .roaster-copy p:last-child {
        text-align: left;
      }

    }


    /* ========================================
       REDUCED MOTION
    ======================================== */

    @media (
      prefers-reduced-motion: reduce
    ) {

      #logoVideo {
        display: none;
      }

      #staticLogo {
        position: relative;

        opacity: 1;
      }

    }
	
	
	/* ========================================
   ROAST PURCHASE
======================================== */

.roast-purchase {
  margin-top: 28px;
}

.roast-purchase-link {
  display: inline-block;
  min-width: 212px;
  height: 48px;
  padding: 0 24px;

  border: 1px solid rgba(44, 30, 22, 0.2);
  border-radius: 6px;
  background: #2c1e16;
  color: #ffffff;

  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 48px;
  text-align: center;
  text-decoration: none;

  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.roast-purchase-link:hover {
  background: #4a3427;
  transform: translateY(-1px);
}

.roast-purchase-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.roast-purchase-link:active {
  transform: translateY(0);
}

.roast-purchase-details {
  margin: 14px 0 0;

  font-size: 14px;
  line-height: 1.6;

  opacity: 0.82;
}

.roast-batch-story {
  max-width: 760px;
  margin: 56px auto 0;

  text-align: center;
}


/* ========================================
   POLICIES
======================================== */

.policy-page {
  max-width: 760px;
  text-align: left;
}

.policy-header {
  margin-bottom: 45px;
  text-align: center;
}

.policy-header h1 {
  margin-bottom: 16px;
}

.policy-home-link,
.policy-section a {
  color: var(--text);
  text-underline-offset: 3px;
}

.policy-section {
  scroll-margin-top: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin: 0 0 12px;
  font-weight: 400;
}

.policy-section p {
  margin: 0 0 12px;

  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}


	/* ========================================
   BAG LIGHTBOX
======================================== */

.bag-lightbox-trigger {
  display: block;
  width: 100%;

  padding: 0;

  border: 0;
  background: transparent;

  cursor: zoom-in;
}

.bag-lightbox-trigger img {
  display: block;

  width: 100%;
  height: auto;

  transition: transform 200ms ease;
}


.bag-lightbox {
  position: fixed;
  inset: 0;

  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;

  background:
    rgba(20, 15, 11, 0.88);

  cursor: zoom-out;
}

.bag-lightbox[hidden] {
  display: none;
}

.bag-lightbox img {
  max-width: 95vw;
  max-height: 92vh;

  width: auto;
  height: auto;

  object-fit: contain;
}

.bag-lightbox-close {
  position: absolute;

  top: 18px;
  right: 24px;

  border: 0;
  background: transparent;

  color: #fff;

  font-size: 2.5rem;
  line-height: 1;

  cursor: pointer;
}

.bag-lightbox-trigger:hover img {
  transform: scale(1.02);
}
