/* Through My Lens — contact page. Same design language as the gallery:
   black grunge backdrop, Bebas Neue slabs, hard offset shadows. */

@font-face {
  font-family: "Bebas Neue";
  src: url("../assets/fonts/BebasNeue.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #c10000;
  --bebas: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; }

html { background: #050505; }

body {
  margin: 0;
  color: #fff;
  background: #050505;
  font-family: var(--bebas);
  overflow-x: hidden;
}

/* ---- Fixed grunge backdrop, same recipe as the gallery ---- */

.fixed-art {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #050505;
}

.fixed-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/landingpage/remplissage/FullRedGrunge.png") center/cover;
  opacity: 0.13;
}

.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fill-whitegrudge { opacity: 0.45; }
.fill-whitepoints { opacity: 0.8; }
.fill-redgrudge   { opacity: 0.9; }

.red-shard { position: absolute; background: var(--red); opacity: 0.8; transform: rotate(-24deg); }
.shard-one { width: 600px; height: 115px; right: -260px; bottom: 40px; }
.shard-two { width: 430px; height: 70px;  right: -210px; top: 200px; }

/* ---- Page ---- */

.contact-page {
  position: relative;
  z-index: 4;
  max-width: 1100px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 28px 30px;
  display: flex;
  flex-direction: column;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-mask { width: clamp(100px, 10vw, 160px); transform: rotate(-4deg); }
.home-mask img { display: block; width: 100%; filter: drop-shadow(3px 4px 0 rgba(0, 0, 0, 0.6)); }

/* Punk paper-cut GALLERY button (inline SVG in contact.html) */
.gallery-link {
  width: clamp(200px, 20vw, 320px);
  transform: rotate(1.5deg);
}
.gallery-link svg { display: block; width: 100%; height: auto; overflow: visible; }
.gallery-link:focus { outline: none; }

.contact-title {
  position: relative;
  align-self: flex-start;
  margin: clamp(30px, 7vh, 80px) 0 0;
  font-size: clamp(70px, 11vw, 170px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 18px 40px 8px;
  transform: rotate(-2deg);
  clip-path: polygon(1.2% 5%, 99% 0, 100% 93%, 0 100%);
  box-shadow: 8px 9px 0 rgba(0, 0, 0, 0.6);
}

.contact-title::after { /* grunge wear, same as the gallery's contact button */
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/gallerypage/filling/remplissageGRUDGEwhite.png") center/160% auto;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.pitch {
  align-self: flex-start;
  margin: 26px 0 0 10px;
  font-size: clamp(20px, 2vw, 32px);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #050505;
  background: #fff;
  padding: 8px 18px 6px;
  transform: rotate(-1deg);
  clip-path: polygon(1.5% 7%, 98% 0, 100% 88%, 0 100%);
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.55);
}

/* ---- The three punk paper-cut link slabs (inline SVG in contact.html) ---- */

.links {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.6vh, 26px);
  margin: clamp(36px, 8vh, 90px) 0 0;
  width: min(680px, 100%);
}

.punk-slab { display: block; }
.punk-slab svg { display: block; width: 100%; height: auto; overflow: visible; }
.punk-slab:focus { outline: none; }

.punk-slab:nth-child(odd)  { transform: rotate(-1.2deg); }
.punk-slab:nth-child(even) { transform: rotate(1deg); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---- Footer ---- */

footer {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.barcode { width: clamp(130px, 13vw, 200px); transform: rotate(-3deg); }
.framelife { width: clamp(110px, 11vw, 170px); transform: rotate(-4deg); filter: drop-shadow(4px 5px 0 rgba(0, 0, 0, 0.6)); }

@media (max-width: 700px) {
  .gallery-link { width: 160px; }
}

/* ---- Mentions légales / RGPD link (below the footer) ---- */

.legal-row { text-align: center; padding-top: 22px; }
.legal-row a {
  font-size: 15px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.55;
  text-decoration: none;
}
