/* clashwithbao.com — holding page.
   Background is a montage of the channel's own stills, knocked well back so it
   reads as texture rather than competing with the text. */

:root {
  --bg:      #151315;
  --surface: #221f22;
  --line:    #3b363b;
  --text:    #ece8e6;
  --muted:   #a49c98;
  --accent:  #e8a85a;
  --max:     52rem;
}

* { box-sizing: border-box; }

body {
  margin: 0; color: var(--text);
  font: 17px/1.7 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex; flex-direction: column; min-height: 100vh;
  background:
    linear-gradient(rgba(21,19,21,.80), rgba(21,19,21,.93)),
    url("img/bg-montage.webp") center / 1960px repeat;
  background-attachment: fixed, fixed;
}

main {
  max-width: var(--max); width: 100%; margin: 0 auto;
  padding: 4rem 1.5rem 0; flex: 1;
}

.hero {
  background: rgba(21,19,21,.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2.5rem 2.5rem 2rem;
  backdrop-filter: blur(3px);
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
  text-align: center;
}

.hero-portrait {
  width: 190px; margin: 0 auto 1.75rem;
  border-radius: 50%; overflow: hidden; line-height: 0;
  border: 3px solid var(--accent);
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
}
.hero-portrait p { margin: 0; line-height: 0; }
.hero-portrait img {
  display: block; width: 100%; aspect-ratio: 1/1;
  object-fit: cover; object-position: center 28%;
}

h1 {
  font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1;
  letter-spacing: -.02em; margin: 0 0 1rem;
}
p { margin: 0 0 1.1rem; }
.lead { font-size: 1.12rem; color: #cfc7c3; }
.lead:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
a { color: var(--accent); }

footer.site {
  max-width: var(--max); width: 100%; margin: 3rem auto 0;
  padding: 0 1.5rem 3rem; color: var(--muted); font-size: .92rem;
}
.forsale {
  background: rgba(34,31,34,.88); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: 8px;
  padding: 1.4rem 1.6rem; margin: 0 0 1.5rem;
  backdrop-filter: blur(3px);
}
.forsale p { margin: .2rem 0; }
.forsale strong { color: var(--text); font-size: 1.05rem; }
.forsale p:has(.email-img) { margin-top: .9rem; }
.email-img { display: block; width: 207px; height: auto; max-width: 100%; }

@media (max-width: 40rem) {
  .gallery { grid-template-columns: repeat(2, 1fr); max-width: none; }
  main { padding: 2rem 1rem 0; }
  .hero { padding: 1.75rem 1.4rem 1.4rem; }
  .hero-portrait { width: 150px; }
  body { background-attachment: scroll, scroll; background-size: auto, 900px; }
}


/* ---------- body sections ---------- */

h2 {
  font-size: clamp(1.3rem, 3.4vw, 1.8rem);
  margin: 3.5rem 0 1rem; color: var(--accent);
  letter-spacing: -.015em;
}
main > p, main > ul { max-width: 44rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
strong { color: var(--text); }

.gallery {
  display: grid; gap: 1rem; margin: 2rem 0 1rem;
  /* Fixed 3-up: six portraits then read as two even rows. auto-fit was
     packing five across and orphaning the sixth. */
  grid-template-columns: repeat(3, 1fr);
  max-width: 40rem;
}
.shot {
  border-radius: 8px; overflow: hidden; border: 1px solid var(--line);
  line-height: 0; box-shadow: 0 10px 26px rgba(0,0,0,.45);
}
.shot p { margin: 0; line-height: 0; }
.shot img {
  display: block; width: 100%; aspect-ratio: 1/1;
  object-fit: cover; object-position: center 22%;
}

/* Keep the contact block a full screen below the fold — spammers and
   scrapers shouldn't meet it on arrival. */
footer.site { margin-top: 7rem; }
