
    :root {
      --cream: #f5f2ec;
      --paper: #fbfaf7;
      --ink: #20201d;
      --muted: #77736b;
      --line: #d9d4ca;
      --wood: #9a6847;
      --dark-wood: #573b2c;
      --white: #ffffff;
      --serif: "Cormorant Garamond", Georgia, serif;
      --sans: "Manrope", Arial, sans-serif;
    }

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

    html {
      scroll-behavior: smooth;
    }

    body {
      background: var(--cream);
      color: var(--ink);
      font-family: var(--sans);
      line-height: 1.6;
    }

    img {
      display: block;
      width: 100%;
      object-fit: cover;
    }

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

    button,
    input,
    textarea {
      font: inherit;
    }

    .container {
      width: min(1160px, calc(100% - 48px));
      margin: 0 auto;
    }

    .eyebrow {
      color: var(--muted);/*var(--wood);*/
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .section-heading {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 32px;
      margin-bottom: 48px;
    }

    h1,
    h2,
    h3 {
      font-family: var(--serif);
      font-weight: 500;
      line-height: 0.95;
    }

    h2 {
      max-width: 620px;
      font-size: clamp(3rem, 7vw, 6rem);
      letter-spacing: -0.04em;
    }

    .section-intro {
      max-width: 340px;
      color: var(--muted);
      font-size: 0.9rem;
    }

    /* Navigation */

    .site-header {
      position: absolute;
      z-index: 10;
      top: 0;
      left: 0;
      width: 100%;
      color: var(--white);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 18px 0;
    }

    .brand {
      font-family: var(--serif);
      font-size: 1.7rem;
      font-weight: 600;
      letter-spacing: 0.02em;
    }

    .nav-links {
      display: flex;
      gap: 28px;
      list-style: none;
      font-size: 0.75rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .nav-links a {
      opacity: 0.85;
      transition: opacity 0.25s ease;
    }

    .nav-links a:hover {
      opacity: 1;
    }

    .menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 1.5rem;
    }


    /* Back to TOP */
    .back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.3rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--ink);
  color: var(--white);
}

@media (max-width: 600px) {
  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }
}

    /* Hero */

    .hero {
      position: relative;
      display: flex;
      align-items: end;
      min-height: 100svh;
      overflow: hidden;
      color: var(--white);
      background:
        /*linear-gradient(90deg, rgba(17, 14, 11, 0.66), rgba(17, 14, 11, 0.08)),*/
        url("../gallery/ren-mirrors/ren-river-stones-0025-wmirror1e.jpg")
        center / cover;
    }

    .hero::after {
      position: absolute;
      inset: 0;
      /*background: linear-gradient(0deg, rgba(12, 10, 8, 0.52), transparent 55%);*/
      content: "";
    }

    .hero-content {
      position: relative;
      z-index: 1;
      width: min(1160px, calc(100% - 48px));
      margin: 0 auto;
      padding: 150px 0 90px;
    }

    .hero h1 {
      max-width: 760px;
      margin: 20px 0 28px;
      font-size: clamp(4.5rem, 12vw, 10rem);
      letter-spacing: -0.06em;
      color:#000000;
      text-shadow: 
        0 2px 4px rgba(255, 255, 255, 0.95),
        0 0 6px rgba(255, 255, 255, 0.8),
        0 5px 18px rgba(0, 0, 0, 0.18);
    }

    .hero-eyebrow {
      color: #000000;
      font-size: 1.35rem;
      font-weight: bold;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      text-shadow: 0 1px 6px rgba(255, 255, 255, 1);
    }

    .scroll-note {
      position: absolute;
      right: 0;
      bottom: 90px;
      display: flex;
      align-items: center;
      gap: 12px;
      color: rgba(255, 255, 255, 0.75);
      font-size: 0.7rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      writing-mode: vertical-rl;
    }

    .scroll-note::before {
      width: 1px;
      height: 70px;
      background: rgba(255, 255, 255, 0.6);
      content: "";
    }

    /* General sections */

    section {
      padding: 120px 0;
    }

    .products {
      background: var(--paper);
    }

    .product-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .product-card {
      position: relative;
      overflow: hidden;
    }

    .product-card img {
      height: 450px;
      transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    }

    .product-card:hover img {
      transform: scale(1.04);
    }

    .product-info {
      padding: 22px 0 0;
    }

    .product-info h3 {
      font-size: 2rem;
    }

    .product-info p {
      margin-top: 5px;
      color: var(--muted);
      font-size: 0.83rem;
    }

    /* Portfolio */

    .portfolio {
      background: var(--cream);
    }

    .portfolio-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 20px;
    }

    .portfolio-item {
      position: relative;
      overflow: hidden;
    }

    .portfolio-item:first-child {
      grid-row: span 2;
    }

    .portfolio-item img {
      min-height: 360px;
      height: 100%;
      filter: saturate(0.84);
      transition: transform 0.7s ease;
    }

    .portfolio-item:first-child img {
      min-height: 740px;
    }

    .portfolio-item:hover img {
      transform: scale(1.035);
    }

    .portfolio-caption {
      position: absolute;
      right: 22px;
      bottom: 20px;
      left: 22px;
      color: var(--white);
      text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
    }

    .portfolio-caption h3 {
      font-size: 2.2rem;
    }

    .portfolio-caption p {
      font-size: 0.75rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    /* About */

    .about {
      background: var(--dark-wood);
      color: var(--white);
    }

    .about-layout {
      display: grid;
      grid-template-columns: 0.85fr 1.15fr;
      gap: 90px;
      align-items: center;
    }

    .about-image {
      height: 640px;
    }

    .about-copy h2 {
      margin: 22px 0 30px;
      font-size: clamp(3.5rem, 7vw, 6.8rem);
    }

    .about-copy p {
      max-width: 530px;
      color: rgba(255, 255, 255, 0.72);
      font-size: 1rem;
    }

    .about-copy p + p {
      margin-top: 20px;
    }

    /* Contact */

    .contact {
      background: var(--paper);
    }

    .contact-layout {
      display: grid;
      grid-template-columns: 0.75fr 1.25fr;
      gap: 100px;
    }

    .contact-copy h2 {
      margin: 22px 0 24px;
    }

    .contact-copy p {
      max-width: 350px;
      color: var(--muted);
    }

    .contact-details {
      margin-top: 42px;
      color: var(--muted);
      font-size: 0.86rem;
    }

    .contact-details a {
      display: block;
      margin-top: 7px;
      color: var(--ink);
    }

    .contact-form {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px;
    }

    .field {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .field.full {
      grid-column: 1 / -1;
    }

    label {
      color: var(--muted);
      font-size: 0.72rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    input,
    textarea {
      width: 100%;
      border: 0;
      border-bottom: 1px solid var(--line);
      border-radius: 0;
      outline: 0;
      background: transparent;
      color: var(--ink);
      padding: 10px 0 14px;
      transition: border-color 0.25s ease;
    }

    input:focus,
    textarea:focus {
      border-color: var(--wood);
    }

    textarea {
      min-height: 130px;
      resize: vertical;
    }

    .submit-button {
      grid-column: 1 / -1;
      justify-self: start;
      margin-top: 15px;
      border: 1px solid var(--ink);
      background: var(--ink);
      color: var(--white);
      cursor: pointer;
      padding: 15px 28px;
      font-size: 0.75rem;
      letter-spacing: 0.13em;
      text-transform: uppercase;
      transition: background 0.25s ease, color 0.25s ease;
    }

    .submit-button:hover {
      background: transparent;
      color: var(--ink);
    }

    /* Footer */

    footer {
      border-top: 1px solid var(--line);
      background: var(--paper);
      color: var(--muted);
      padding: 25px 0;
      font-size: 0.72rem;
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    /* Animations */

    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Responsive */

    @media (max-width: 800px) {
      .container,
      .hero-content {
        width: min(100% - 36px, 600px);
      }

      .nav {
        padding: 22px 0;
      }

      .menu-toggle {
        display: block;
      }

      .nav-links {
        position: absolute;
        top: 75px;
        right: 18px;
        left: 18px;
        display: none;
        flex-direction: column;
        gap: 18px;
        padding: 24px;
        background: rgba(32, 32, 29, 0.96);
      }

      .nav-links.open {
        display: flex;
      }

      section {
        padding: 80px 0;
      }

      .section-heading {
        display: block;
        margin-bottom: 32px;
      }

      .section-intro {
        margin-top: 20px;
      }

      .hero-content {
        padding-bottom: 70px;
      }

      .hero h1 {
        font-size: clamp(4rem, 19vw, 7rem);
      }

      .scroll-note {
        display: none;
      }

      .product-grid,
      .portfolio-grid,
      .about-layout,
      .contact-layout {
        grid-template-columns: 1fr;
      }

      .product-card img {
        height: 390px;
      }

      .portfolio-item:first-child {
        grid-row: auto;
      }

      .portfolio-item img,
      .portfolio-item:first-child img {
        min-height: 360px;
        height: 360px;
      }

      .about-layout,
      .contact-layout {
        gap: 45px;
      }

      .about-image {
        height: 460px;
      }

      .contact-form {
        grid-template-columns: 1fr;
      }

      .field.full,
      .submit-button {
        grid-column: auto;
      }

      .footer-inner {
        display: block;
      }

      .footer-inner span + span {
        display: block;
        margin-top: 8px;
      }
    }

    /* added styles */
    /* Fixed off-white navigation bar */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(32, 32, 29, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header .brand,
.site-header .nav-links a,
.menu-toggle {
  color: var(--ink);
}

.site-header .nav-links a:hover {
  opacity: 0.6;
}

/* Black hero typography with a lighter image treatment */
.hero {
  color: var(--ink);
  background:
    /*linear-gradient(
      90deg,
      rgba(245, 242, 236, 0.9),
      rgba(245, 242, 236, 0.22)
    ),*/
    url("../gallery/ren-mirrors/ren-river-stones-0025-wmirror1e.jpg")
    center / cover;
}

.hero::after {
  background: linear-gradient(
    0deg,
    rgba(245, 242, 236, 0.18),
    transparent 60%
  );
}

.scroll-note {
  color: rgba(0, 0, 0, 0.7);
}

.scroll-note::before {
  background: rgba(0, 0, 0, 0.55);
}

/* Enlarged portfolio images */
.portfolio-grid {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.portfolio-item img {
  min-height: 460px;
}

.portfolio-item:first-child img {
  min-height: 920px;
}

/* Dark footer */
footer {
  background: #20201d;
  color: rgba(255, 255, 255, 0.65);
  border-top: 0;
}

footer .footer-inner {
  color: rgba(255, 255, 255, 0.65);
}

/* Mobile navigation adjustments */
@media (max-width: 800px) {
  .nav-links {
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 10px 25px rgba(32, 32, 29, 0.12);
  }

  .nav-links a {
    color: var(--ink);
  }
}

  .hero-content {
    padding-top: 170px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item img,
  .portfolio-item:first-child img {
    min-height: 480px;
    height: 480px;
  }

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 150px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

@media (max-width: 800px) {
  .brand img {
    width: 125px;
    max-height: 42px;
  }
}

/* Portfolio image interaction */
.portfolio-item {
  cursor: hand;
}

.portfolio-item,
.portfolio-item img {
  cursor: pointer;
}

/* Gallery modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 80px;
  background: rgba(20, 18, 15, 0.94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-content {
  display: flex;
  max-width: 1100px;
  width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.gallery-content img {
  width: auto;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

#galleryCaption {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--serif);
  font-size: 1.7rem;
  text-align: center;
}

#galleryCounter {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.gallery-close,
.gallery-arrow {
  position: absolute;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-close:hover,
.gallery-arrow:hover {
  opacity: 0.65;
}

.gallery-close {
  top: 24px;
  right: 32px;
  font-size: 2.5rem;
  font-weight: 300;
}

.gallery-arrow {
  top: 50%;
  font-size: 2.5rem;
  transform: translateY(-50%);
}

.gallery-arrow:hover {
  transform: translateY(-50%) scale(1.12);
}

.gallery-prev {
  left: 30px;
}

.gallery-next {
  right: 30px;
}

@media (max-width: 700px) {
  .gallery-modal {
    padding: 60px 20px 30px;
  }

  .gallery-content img {
    max-height: 68vh;
  }

  .gallery-close {
    top: 12px;
    right: 18px;
  }

  .gallery-arrow {
    top: auto;
    bottom: 24px;
    font-size: 2rem;
    transform: none;
  }

  .gallery-arrow:hover {
    transform: scale(1.12);
  }

  .gallery-prev {
    left: 30%;
  }

  .gallery-next {
    right: 30%;
  }

  #galleryCaption {
    font-size: 1.4rem;
  }
}
