:root {
  --bg: #0d0e0d;
  --panel: #161716;
  --text: #f2f2ee;
  --muted: rgba(242,242,238,.55);
  --line: rgba(255,255,255,.18);
  --green: #5d963e;
  /* made ~20% more transparent (alpha lowered from .76 to .56) */
  --nav: rgba(42,40,39,.45);
  --max: 1850px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

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

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding-top: 0;
  pointer-events: none;
}

.nav {
  width: min(1480px, calc(100vw - 300px));
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px 0 22px;
  background: var(--nav);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 0 0 4px 4px;
  pointer-events: auto;
}

.logo img {
  width: 150px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

.hero {
  position: relative;
  width: 100vw;
  min-height: 900px;
  height: 100vh;
  overflow: hidden;
  background: #050505;
}

.hero-image {
  position: absolute;
  inset: 0 0 0 0px;
  background-size: cover;
  background-position: center center;
}

.hero-left-shade {
  position: absolute;
  inset: 0 auto 0 0;
  width: 10vw;
  min-width: 100px;
  display: none; /* left gradient removed */
}

.hero-bottom-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 200px;
  background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 52%, rgba(0,0,0,0) 100%);
}

.hero-copy {
  position: absolute;
  left: 46px;
  right: 46px;
  bottom: 38px;
  z-index: 2;
}

.hero h1 {
  margin: 0 0 18px;
  max-width: 760px;
  font-size: clamp(18px, 5vw, 55px);
  line-height: .98;
  letter-spacing: -0.075em;
  font-weight: 500;
}

.hero h1 span { display: block; }
.hero h1 em { font-style: normal; color: var(--green); }

.hero-description {
  position: absolute;
  /* moved further to the right; reduce this value to push the text closer to the right edge */
  right: 120px;
  bottom: 86px;
  margin: 0;
  max-width: 640px;
  font-size: clamp(18px, 1.15vw, 26px);
  line-height: 1.05;
  font-weight: 500;
  color: rgba(255,255,255,.95);
}

.hero-line {
  height: 1px;
  width: 100%;
  background: var(--line);
  margin-top: 24px;
}




.hero-meta span { color: white; }
.hero-meta a { color: var(--green); }

.work-section {
  width: min(var(--max), calc(100vw - 72px));
  margin: 0 auto;
  padding: 92px 0 110px;
}

.work-section h2 {
  margin: 0 0 92px;
  text-align: center;
  font-size: clamp(18px, 4vw, 55px);
  line-height: 1;
  letter-spacing: -0.065em;
  font-weight: 600;
}

.work-section h2 span {
  color: var(--green);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 38px;
  row-gap: 72px;
}

.work-card {
  min-width: 0;
}

.image-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  display: block;
  width: 100%;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 4px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.image-button img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 4px;
  transform: scale(1.001);
  transition: transform .35s ease, opacity .35s ease;
}

.image-button:hover img {
  transform: scale(1.025);
  opacity: .92;
}

.work-card h3 {
  margin: 28px 0 6px;
  color: var(--green);
  /* Title: larger and fluid */
  font-size: clamp(22px, 1.8vw, 36px);
  line-height: .98;
  letter-spacing: -0.05em;
  font-weight: 600;
}
.work-card p {
  margin: 0;
  color: #fff;
  /* Secondary lines: noticeably smaller than the title, responsive */
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.footer {
  min-height: 455px;
  background: linear-gradient(180deg, #171717 0%, #151515 48%, #0e0e0e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 86px;
  padding: 78px 20px 58px;
}

.footer-links {
  display: flex;
  gap: 115px;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,.88);
}

.footer-links .social-icon {
  width: 40px;
  height: auto;
  display: block;
}

/* Specific crop adjustments for the Reno image */
.image-button img.crop-reno {
  object-fit: cover;
  /* tweak this to shift the crop: 'center top', 'center 30%', 'center 60%' etc. */
  object-position: center 18%;
  /* optional: adjust displayed height if you want a different crop framing */
  height: 360px;
}

@media (max-width: 720px) {
  .image-button img.crop-reno {
    height: 245px;
    object-position: center 22%;
  }
}

.footer-logo {
  width: min(320px, 70vw);
  opacity: .8;
}

.footer-email {
  margin: -55px 0 0;
  color: rgba(255,255,255,.56);
  font-size: 18px;
  text-align: center;
}

/* Ensure the email image is a reasonable size and centered */
.footer-email img {
  display: block;
  max-width: 320px;
  width: auto;
  height: auto;
}

.save-png {
  display: inline-block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
}

/* Copy-email button styles */
.footer-email .copy-email {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* Toast notification */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  background: rgba(20,20,20,0.95);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 200;
  font-size: 14px;
}
.toast.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Improved focus outlines for keyboard users */
button:focus {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.9);
  display: grid;
  place-items: center;
  padding: 30px;
  cursor: zoom-out;
}

.lightbox img {
  max-width: min(1300px, 94vw);
  max-height: 90vh;
  object-fit: contain;
}

.lightbox .close {
  position: fixed;
  top: 18px;
  right: 26px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 46px;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .nav {
    width: calc(100vw - 32px);
  }

  .hero-image {
    left: 0;
  }

  .hero-description {
    position: static;
    margin-top: 20px;
  }

  .hero-copy {
    left: 28px;
    right: 28px;
  }

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

  .image-button img {
    height: 430px;
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: 54px;
    padding: 0 16px;
  }

  .logo img {
    width: 122px;
  }

  .nav-links {
    gap: 16px;
    font-size: 14px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-image {
    inset: 0;
    background-position: center top;
  }

  .hero-left-shade {
    width: 70vw;
  }

  .hero-copy {
    left: 22px;
    right: 22px;
    bottom: 28px;
  }

  .hero h1 {
    font-size: clamp(56px, 16vw, 78px);
  }

  .hero-description {
    font-size: 18px;
  }

  .hero-meta {
    font-size: 10px;
  }

  .work-section {
    width: calc(100vw - 32px);
    padding-top: 72px;
  }

  .work-section h2 {
    margin-bottom: 52px;
    font-size: 46px;
  }

  .work-grid {
    row-gap: 52px;
  }

  .image-button img {
    height: 240px;
  }

  .work-card h3 {
    font-size: 24px;
    margin-top: 18px;
  }

  .work-card p {
    font-size: 24px;
  }

  .footer {
    min-height: 300px;
    gap: 60px;
  }

  .footer-links {
    gap: 24px;
  }
}
