/* ==========================================================
   Alena — Makeup Artist (recreation)
   Dark one-pager: black ground, gold serif titles, grey italic copy
   ========================================================== */

:root {
  --gold: #daa987;
  --ink: #222;
  --grey: #666;
  --paper: #333;
  --black: #000;
  --white: #fff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: var(--paper);
  background-color: var(--black);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ----------------------------------------------------------
   Fixed rotated agency tab (bottom right)
   ---------------------------------------------------------- */
.by-agency {
  position: fixed;
  right: -75px;
  bottom: 125px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-90deg);
}
.by-agency .square {
  width: 15px;
  height: 15px;
  background-color: var(--white);
}
.by-agency .agency-logo {
  width: 20px;
  height: 20px;
  transform: rotate(90deg); /* counter the tab's -90° so the mark reads upright */
}
.by-agency h5 {
  margin: 10px 0 10px 10px;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 200;
  color: var(--white);
}
.by-agency a {
  font-size: 15px;
  font-weight: 400;
  color: var(--white);
  text-decoration: underline;
}

/* ----------------------------------------------------------
   Hero slider
   ---------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #ddd;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.is-active { opacity: 1; }
.slide-1 { background-image: url("../assets/img/ig/pick-4.jpg"); }
.slide-2 { background-image: url("../assets/img/ig/pick-5.jpg"); }
.slide-3 { background-image: url("../assets/img/ig/bishal-ig-02.jpg"); }

/* Black veil over the slider with "Bishal" cut out of it —
   the slideshow shows through the letters */
.hero-logo-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Text wordmark (replaces the reference site's logo SVG) —
   upright high-contrast Didone, matching the original logotype's style */
.wordmark {
  font-family: "Bodoni Moda", serif;
  font-style: normal;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

/* ----------------------------------------------------------
   Biography
   ---------------------------------------------------------- */
.biography {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.display {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 0;
  font-family: "PT Serif", serif;
  font-style: italic;
  font-size: 350px;
  line-height: 44px;
  color: var(--ink);
  white-space: nowrap;
  margin: 0;
  transform: translate3d(0, -50%, 0);
  will-change: transform;
  pointer-events: none;
}
.content-biography {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  min-height: 80vh;
  margin: 0 auto;
  padding: 100px 60px;
}
.bio-image img { width: 100%; }
.bio-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.title {
  font-family: Merriweather, serif;
  font-style: italic;
  font-size: 60px;
  font-weight: 700;
  line-height: 50px;
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
}
.bio-text .title { margin-bottom: 20px; }

.paragraph {
  font-size: 14px;
  line-height: 20px;
  color: var(--paper);
  text-align: center;
  margin-bottom: 10px;
}
.title2 {
  font-family: Roboto, sans-serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 300;
  line-height: 20px;
  color: var(--grey);
  text-align: center;
  padding: 0 50px;
  margin-bottom: 10px;
}

/* ----------------------------------------------------------
   Clients & Collaborators
   ---------------------------------------------------------- */
.clients {
  display: flex;
  justify-content: center;
  align-items: center;
}
.content-clients {
  width: 70%;
  margin: 100px 0;
}
.content-clients .title { margin-bottom: 25px; text-align: center; }
.logos-clients {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 10px;
  row-gap: 25px;
  margin-top: 60px;
  justify-items: center;
  align-items: center;
}
.logo-cta {
  align-self: center;
  opacity: 0.4;
  transition: opacity 200ms ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-cta:hover { opacity: 1; }
.logo-cta img { max-height: 112px; width: auto; }

/* Placeholder brand wordmarks (fictional) */
.brand {
  display: inline-block;
  color: #e8e8e8;
  text-align: center;
  line-height: 1.1;
}
.brand small {
  display: block;
  margin-top: 6px;
  font-family: Roboto, sans-serif;
  font-size: 11px;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #cfcfcf;
}
.brand-caps {
  font-family: "Bodoni Moda", serif;
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.brand-script {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 36px;
  font-weight: 400;
}
.brand-wide {
  font-family: Roboto, sans-serif;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 8px;
}
.brand-serif {
  font-family: Merriweather, serif;
  font-size: 32px;
  font-weight: 700;
}

/* ----------------------------------------------------------
   Portfolio teaser
   ---------------------------------------------------------- */
.portfolio-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.portfolio-visuel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70%;
  height: 90vh;
  margin: 60px 0;
}
.visuel-portfolio {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(0deg, #000, transparent 14%),
    url("../assets/img/portfolio-composite.png?v=4");
  background-position: 0 0, 50% 100%;
  background-size: auto, auto 88%; /* shorter than the box so the name shows behind her */
  background-repeat: repeat, no-repeat;
}
.portfolio-texte {
  position: absolute;
  z-index: 0; /* behind .visuel-portfolio (z-index 1) — shows through the model PNG's transparency */
  width: 100%;
  height: 35vh;
  margin-top: -30px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}
.portfolio-texte.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.portfolio-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
  width: 70%;
}
.button-m {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  padding: 9px 15px;
  border-radius: 20px;
  background-color: var(--gold);
  color: var(--white);
  font-size: 14px;
  line-height: 20px;
  transition: background-color 200ms ease;
}
.button-m:hover { background-color: #c69675; }

/* ----------------------------------------------------------
   Contact
   ---------------------------------------------------------- */
.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.block-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 0 80px; /* tight to the section above, so the name sits right below it */
}

/* Staggered fade-up: each child rises in sequence when .contact gets .in-view */
.block-contact > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.contact.in-view .block-contact > * {
  opacity: 1;
  transform: translateY(0);
}
.contact.in-view .block-contact > *:nth-child(2) { transition-delay: 0.12s; }
.contact.in-view .block-contact > *:nth-child(3) { transition-delay: 0.24s; }
.portfolio-texte .wordmark {
  display: inline-block; /* transforms don't apply to inline elements */
  font-size: clamp(110px, 26vw, 300px);
}
.footer-wordmark {
  font-size: 64px;
}
.footer-wordmark-link {
  margin-bottom: 80px; /* extra drop before the Get in touch group */
}
.heading-8 {
  margin: 20px 0 10px;
  font-family: Roboto, sans-serif;
  font-size: 25px;
  font-weight: 700;
  font-style: italic;
  line-height: 44px;
  color: var(--grey);
}
.heading-9 {
  margin: -15px 0 10px;
  font-family: Roboto, sans-serif;
  font-size: 35px;
  font-weight: 300;
  font-style: italic;
  line-height: 45px;
  color: var(--grey);
}
.social-media {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 350px;
  margin: 0 auto;
}
.social-media .logo-cta { padding: 0 45px; }
.social-icon {
  width: 35px;
  height: 35px;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}
.social-icon.instagram { background-image: url("../assets/img/icon-instagram.svg"); }
.social-icon.facebook { background-image: url("../assets/img/icon-facebook.svg"); }
.social-icon.phone {
  width: 40px;
  height: 40px;
  background-image: url("../assets/img/icon-phone.svg");
}

/* ----------------------------------------------------------
   Portfolio page
   ---------------------------------------------------------- */
.portfolio-page-titles {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 120px 0 60px;
}
.title-line { align-self: flex-start; }
.title-line.right {
  align-self: flex-end;
  text-align: right;
}
.heading-3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 100px;
  font-weight: 700;
  line-height: 80px;
  color: #3c3937;
}
.heading-3 em { font-style: italic; }
.text-gold { color: var(--gold); }

.artwork {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 60px;
}
.grid-artwork {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.grid-artwork .cell {
  height: 415px;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}
/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */
@media (max-width: 991px) {
  .display { font-size: 220px; }
  .content-clients, .portfolio-visuel, .portfolio-cta { width: 85%; }
  .artwork, .portfolio-page-titles { max-width: 90%; }
  .heading-3 { font-size: 72px; line-height: 62px; }
  /* hero veil: smaller cutout so the name survives the slice-crop */
  .hero-logo-veil text { font-size: 150px; }
}

@media (max-width: 767px) {
  .content-biography {
    grid-template-columns: 1fr;
    padding: 60px 30px;
  }
  .display { font-size: 140px; }
  .by-agency { display: none; }
  .heading-9 { font-size: 24px; }
  .hero-logo-veil text { font-size: 105px; }

  /* clients: 2 columns with compact wordmarks */
  .logos-clients { grid-template-columns: repeat(2, 1fr); column-gap: 8px; }
  .brand-caps { font-size: 24px; letter-spacing: 1px; }
  .brand-script { font-size: 26px; }
  .brand-wide { font-size: 17px; letter-spacing: 4px; }
  .brand-serif { font-size: 23px; }
  .brand small { font-size: 9px; letter-spacing: 2.5px; }

  /* portfolio teaser: show the whole model (height-capped) with the name
     still peeking out at the sides */
  .portfolio-visuel { width: 92%; height: 40vh; margin: 40px 0; }
  .visuel-portfolio { background-size: auto, contain; }
  .portfolio-texte { height: 30vh; }
  .portfolio-texte .wordmark { font-size: clamp(84px, 26vw, 120px); }

  /* portfolio page grid */
  .grid-artwork { grid-template-columns: repeat(2, 1fr); }
  .grid-artwork .cell { height: 300px; }
  .portfolio-page-titles { padding: 90px 0 40px; }
}

@media (max-width: 479px) {
  .display { font-size: 90px; }
  .title { font-size: 42px; line-height: 40px; }
  .title2 { padding: 0 10px; }
  .heading-3 { font-size: 48px; line-height: 42px; }
  .portfolio-page-titles { padding: 70px 0 30px; }
  .social-media .logo-cta { padding: 0 25px; }
  .hero-logo-veil text { font-size: 92px; }
  .footer-wordmark { font-size: 48px; }
  .footer-wordmark-link { margin-bottom: 50px; }

  /* clients: single centered column on small phones */
  .logos-clients { grid-template-columns: 1fr; row-gap: 30px; }

  .grid-artwork { grid-template-columns: 1fr; }
  .grid-artwork .cell { height: 360px; }
}
