/* ===== palette ===== */
:root{
  --bg: #fafaf9;
  --text: #1c1917;
  --muted: #78716c;
  --line: #e7e5e4;
  --dark: #111;
  --white: #fff;
  --accent: #7f1d1d;
  --pad-x: clamp(20px, 4vw, 40px);
  --section-pad: clamp(3rem, 6vw, 6rem);
  --fs-hero: clamp(7rem, 12vw, 15rem);
  --fs-page-title: clamp(4rem, 8vw, 8rem);
  --fs-about: clamp(1.4rem, 2.5vw, 2.2rem);
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'DM Mono', monospace;
}

#logo-container,
#logo-container .letter{
  font-family: 'Bitcount Single', sans-serif !important;
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

/* ===== SITE GRID ===== */
.site-grid{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  min-height: 100vh;
}

.site-grid > *{
  grid-column: 1 / -1;
}

/* ===== NAV BAR ===== */
.site-nav{
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  z-index: 9999;
  pointer-events: none;
}

.nav-name{
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000;
  padding-left: var(--pad-x);
  pointer-events: auto;
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-name:hover{
  color: var(--accent);
}

.nav-links{
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-right: var(--pad-x);
  gap: 26px;
  pointer-events: auto;
}

.nav-links a{
  position: relative;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.nav-links a:not(:last-child)::after{
  content:"";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(0,0,0,0.35);
}

/* ===== HERO ===== */
.hero{
  min-height: 100vh;
  width: 100%;
  background-image: url("../images/hero-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #a8a8a8;
  background-blend-mode: multiply;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
  pointer-events: none;
}

.hero-content{
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

#logo-container{
  position: relative;
  top: 24px;
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: baseline;
  font-family: 'Bitcount Single', sans-serif;
  font-weight: 600;
  font-size: var(--fs-hero);
  line-height: 0.7;
  margin: 0 0 2rem 0;
  color: var(--accent);
}

#logo-container .letter{
  color: inherit;
}

.hero-sub{
  position: absolute;
  top: 65px;
  left: 83.5%;
  transform: translateX(-50%);
  z-index: 10;
  white-space: nowrap;
  letter-spacing: 0.19em;
  font-size: clamp(0.75rem, 1.2vw, 1.17rem);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: none;
  pointer-events: none;
}

.scroll-indicator{
  position: absolute;
  top: 170px;
  left: 51%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  opacity: 0.7;
  z-index: 10;
  pointer-events: none;
}

/* ===== ABOUT ===== */
.about{
  max-width: 100%;
  margin: 0;
  padding: var(--section-pad) var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-inner{
  display: contents;
}

.about-text p{
  font-size: var(--fs-about);
  line-height: 1.3;
  font-weight: 300;
  max-width: 520px;
  color: #292524;
  margin: 0;
}

.bio-tagline{
  font-family: 'Bitcount Single', sans-serif !important;
  color: var(--accent);
  font-weight:500
}

.about-image{
  position: relative;
  justify-self: end;
  margin-left: 0;
  overflow: hidden;
  max-width: 100%;
}

.about-image img{
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(100%) contrast(1.5) brightness(0.9);
  transition: filter 700ms ease, transform 250ms ease, opacity 250ms ease;
  clip-path: url(#brush-clip);
}

.maroon-overlay{
  position: absolute;
  inset: 0;
  background: rgba(127, 29, 29, 0.2);
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
  clip-path: url(#brush-clip);
}

.about-image:hover img{
  transform: scale(1.02);
}

.about-image:hover .maroon-overlay{
  opacity: 1;
}

/* ===== SUB PAGE HEADER ===== */
.page-header{
  padding: calc(120px + 4vw) var(--pad-x) calc(40px + 3vw);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-header h1{
  font-family: 'Bitcount Single', sans-serif;
  font-size: var(--fs-page-title);
  font-weight: 600;
  color: var(--accent);
  line-height: 0.85;
  margin-bottom: 1rem;
}

.page-header p{
  font-family: 'DM Mono', monospace;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 400;
}

/* ===== GALLERY ===== */
.gallery-section{
  padding: var(--section-pad) var(--pad-x);
  background: var(--bg);
}

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.gallery-card{
  background: transparent;
  overflow: hidden;
  cursor: pointer;
}

.gallery-card .card-image{
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #d6d3d1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow: hidden;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.gallery-card:hover .card-image{
  filter: grayscale(0%);
}

.gallery-card .card-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.gallery-card:hover .card-image img{
  filter: grayscale(0%);
  transform: scale(1.03);
}

.gallery-card .card-body{
  padding: 18px 0;
}

.gallery-card .card-body h3{
  font-family: 'Bitcount Single', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text);
  transition: color 0.3s ease;
}

.gallery-card:hover .card-body h3{
  color: var(--accent);
}

.gallery-card .card-body p{
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ===== FOOTER ===== */
footer{
  background-color: #cfcfcf;
  padding: 60px 0px;
}

footer h2{
  font-family: 'Bitcount Single', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.footer-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  max-width: 100%;
  padding: 0 var(--pad-x);
}

.footer-left h2{
  font-family: 'Bitcount Single', sans-serif !important;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 500;
  font-style: italic;
  margin: 0 0 1rem 0;
}

.footer-email{
  font-size: 1rem;
  color: #333;
  border-top: 1px solid #333;
  padding-top: 0.5rem;
  display: inline-block;
}

.footer-right{
  text-align: right;
}

.footer-icons{
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.footer-icons a{
  color: #000;
  transition: color 0.3s ease;
}

.footer-icons a:hover{
  color: var(--accent);
}

.footer-icons i,
.footer-icons svg{
  width: 28px;
  height: 28px;
}

.footer-copy{
  font-size: 0.85rem;
  color: #999;
}

/* ===== RESPONSIVE 768px ===== */
@media (max-width: 768px){
  .hero-sub{
    left: 50%;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
  }
  .about{
    grid-template-columns: 1fr;
  }
  .about-image{
    justify-self: center;
  }
  .footer-inner{
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-right{
    text-align: center;
  }
  .footer-icons{
    justify-content: center;
  }
  .nav-links{
    gap: 18px;
  }
  .nav-links a{
    font-size: 13px;
    letter-spacing: 0.1em;
  }
  .nav-links a:not(:last-child)::after{
    display: none;
  }
}

/* ===== RESPONSIVE 480px ===== */
@media (max-width: 480px){
  .site-nav{
    top: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nav-name{
    font-size: 14px;
    padding-left: var(--pad-x);
  }
  .nav-links{
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
    gap: 14px;
    flex-wrap: wrap;
  }
  .nav-links a{
    font-size: 12px;
  }
  .hero-sub{
    display: none;
  }
  .scroll-indicator{
    display: none;
  }
  .about-text p{
    max-width: 100%;
  }
  .gallery-grid{
    grid-template-columns: 1fr;
  }
  .footer-left h2{
    font-size: 1.3rem;
  }
}
