/* ================= Base & Tokens =================
   Fahkwang for headings, Montserrat for body
*/

/* ================= Utilities ================= */
.container { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }
.section { padding: 30px 0 20px; }
main * { color: #FEFDFC; }
main {
  background-color: #1C1919;
  border-bottom: 1px solid #FEFDFC;
 }

/* ================= Type ================= */
.h1, .h2, .h3, h1, h2, h3 {
  font-family: 'Fahkwang', serif;
  letter-spacing: .01em;
  margin: 0 0 .5rem;
  line-height: 1.15;
  font-style: normal;
  font-weight: 300;
  letter-spacing: 1px;
}
.h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

/* ================= Header ================= */
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(8px);
  background: rgba(15,15,16,.55);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.brand { color: var(--text); text-decoration: none; display: grid; }
.brand-title { font-family: 'Fahkwang', serif; font-weight: 600; }
.brand-sub { color: var(--muted); font-size: .8rem; }

/* ================= Hero ================= */
#hero.section {
  padding-bottom: 40px;
}
.hero-inner { text-align: center; }
.tagline {
  color: var(--muted);
  max-width: 760px;
  margin-inline: auto;
  font-weight: 300;
  opacity: 0.9;
  margin-top: 30px;
  padding: 0 20px
}

/* ================= About =================
   Grid switches to two columns on larger screens
*/
.about.section {
  padding-top: 0px;
}
.about-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}
.photo {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transform: scale(1);
  transition: transform .6s ease;
}
.photo:hover img { transform: scale(1.02); }

.copy { display: grid; gap: .6rem; margin: 20px }
.copy > p {
  font-weight: 300;
  opacity: 0.9;
}

/* ================= Footer ================= */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { text-align: center; color: var(--muted); }

/* ================= Fade-in on scroll ================= */
.fade-on-scroll { opacity: 0; transform: translateY(8px); transition: opacity .7s ease, transform .7s ease; }
.fade-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* ================= Responsive ================= */
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.1fr 1.2fr;
    margin: 0 64px;
  }
}

@media (min-width: 1440px) {
  .about-grid {
    margin: 0 160px;
  }
}

.footer {
  padding-top: 30px;
}