:root{
  --noir:#0B0A0A;
  --wine:#58282C;
  --dusty:#B67A86;
  --soft:#D8A1AD;
  --text:#F5F1EE;
  --muted:rgba(245,241,238,0.72);
  --line:rgba(245,241,238,0.10);
  --glass:rgba(11,10,10,0.72);
}

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

body{
  font-family:'Inter', sans-serif;
  font-size: large;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(88,40,44,0.28), transparent 55%),
    radial-gradient(900px 600px at 100% 10%, rgba(214,161,173,0.12), transparent 60%),
    var(--noir);
}
h2{font-family:'Playfair Display', serif;
  font-size:3rem;
  letter-spacing:3px;
}

a{color:var(--text);text-decoration:none;}
a:hover{color:var(--soft);}

.nav{
  position:fixed;top:0;left:0;right:0;
  z-index:1000;
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 10%;
  background:var(--glass);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(10px);
}

.logo{
  font-family:'Playfair Display', serif;
  letter-spacing:3px;
  font-size:1.2rem;
}

.nav-links a{
  margin-left:22px;
  color:var(--muted);
  transition:0.25s ease;
  font-weight:400;
}
.nav-links a:hover{color:var(--soft);}
.nav-links a.active{color:var(--text);}
.nav-links a.external{border-bottom:1px solid rgba(182,122,134,0.35);}

main{padding-top:74px;}

.hero{
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  text-align:center;
  background-image: url("../img/cagenoir-hero.svg"); /* DESKTOP */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 820px) {
  body .hero {
    height: 70vh;
    background-image: url("../img/portfolio/ianT-dark-beauty.jpg") !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-color: transparent !important;
  }
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(11,10,10,1));
  z-index:1;
  pointer-events:none;
}

.hero-content{ position:relative; z-index:2; }
.hero-content{position:relative;z-index:2;padding:0 10%;}
.hero-content h1{
  font-family:'Playfair Display', serif;
  font-size:4rem;
  letter-spacing:3px;
}
.hero-line{margin-top:10px;color:var(--muted);letter-spacing:1px;}
.hero-sub{margin-top:8px;color:var(--muted);letter-spacing:1px;font-size:0.95rem;}

.hero-cta{margin-top:22px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}

.btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid rgba(214,161,173,0.35);
  color:var(--text);
  transition:0.25s ease;
}
.btn:hover{
  border-color:rgba(214,161,173,0.9);
  box-shadow:0 0 0 4px rgba(88,40,44,0.22);
  transform:translateY(-1px);
}
.btn-ghost{
  border-color:rgba(245,241,238,0.18);
  color:var(--muted);
}
.btn-ghost:hover{color:var(--text);border-color:rgba(214,161,173,0.6);}

.section{
  padding:96px 10%;
  border-top:1px solid var(--line);
  text-align:center;
}
.section-title{
  font-family:'Playfair Display', serif;
  font-size:3rem;
  text-align: center;
  letter-spacing:2px;
}
.page{min-height:70vh;}
.page-title{
  font-family:'Playfair Display', serif;
  font-size:2.4rem;
  letter-spacing:2px;
}

.center{text-align:center;}
.max{max-width:760px;margin:0 auto;}
.muted{color:var(--muted);line-height:1.7;}
.space-top{margin-top:28px;}

/* Grid  */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px; /* more breathing room */
}

@media (min-width: 1200px) {
  .grid {
    gap: 36px; /* even more luxury spacing on large screens */
  }
}

.tile img, .tile-img{
  width:100%;
  height:480px;
  object-fit:cover;
  border:1px solid var(--line);
  border-radius: .5em;
  transition:0.35s ease;
  filter:saturate(0.98) contrast(1.03);
}
.tile img:hover, .tile-img:hover{
  transform:translateY(-3px);
  border-color:rgba(182,122,134,0.75);
  box-shadow:0 20px 60px rgba(0,0,0,0.6);
}

.inline-link{
  text-decoration:underline;
  text-decoration-color:rgba(182,122,134,0.55);
}
.inline-link:hover{
  color:var(--soft);
  text-decoration-color:rgba(214,161,173,0.95);
}

.editorial{
  background:linear-gradient(180deg, rgba(88,40,44,0.38), rgba(11,10,10,1));
}

.stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:16px;
  margin:0 auto;
  max-width:900px;
}
.stat{
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px 14px;
  background:rgba(11,10,10,0.35);
}
.stat span{display:block;color:var(--muted);font-size:0.92rem;}
.stat strong{display:block;margin-top:6px;font-weight:500;}

.card{
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  background:rgba(11,10,10,0.35);
}
.card-title{
  font-family:'Playfair Display', serif;
  letter-spacing:2px;
  margin-bottom:10px;
}

.contact-card{
  max-width:680px;
  margin:0 auto;
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  background:rgba(11,10,10,0.35);
}
.contact-row{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
}
.contact-row:last-child{border-bottom:none;}
.contact-row span{color:var(--muted);}

.footer{
  border-top:1px solid var(--line);
  padding:34px 10%;
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:0.9rem;
}
.footer-links a{margin-left:14px;color:var(--muted);}
.footer-links a:hover{color:var(--soft);}

@media (max-width:640px){
  .hero-content h1{font-size:2.9rem;}
  .nav{padding:16px 6%;}
  .section{padding:76px 6%;}
  .footer{padding:26px 6%;}
  .nav-links a{margin-left:14px;}
}

/* Hero Image */

.hero{
  height:100vh;
  background:url('../img/hero.jpg') center right/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding-left:10%;
  position:relative;
  text-align:left;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(
    to right,
    rgba(11,10,10,0.85) 0%,
    rgba(11,10,10,0.55) 35%,
    rgba(11,10,10,0.15) 65%,
    rgba(11,10,10,0) 100%
  );
}

.hero-content{
  position:relative;
  z-index:2;
  max-width:600px;
}

.hero-content h1{
  font-size:4rem;
  letter-spacing:4px;
}

.hero-line{
  margin-top:14px;
  color:var(--soft);
}

.hero-sub{
  margin-top:6px;
  color:var(--muted);
}

.hero-content h1::after{
  content:'';
  display:block;
  width:60px;
  height:2px;
  background:var(--dusty);
  margin-top:18px;
}

/* Comp Card Section */
.comp-card-section{
  background:linear-gradient(180deg, rgba(88,40,44,0.38), rgba(11,10,10,1));
}

.comp-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 800px;
  margin: 0 auto;
}

.comp-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.comp-card-item img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: 0.35s ease;
  filter: saturate(0.98) contrast(1.03);
}

.comp-card-item img:hover {
  transform: translateY(-3px);
  border-color: rgba(182,122,134,0.75);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.comp-card-item .btn {
  margin-top: 8px;
}

@media (max-width: 640px) {
  .comp-card-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}


/* Profile Page  */

.booking-page{
  padding: 4rem 7%;
  max-width: 1440px;
  margin: 0 auto;
}

.booking-hero{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 5rem;
}

.eyebrow{
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted, #a6a0a0);
  margin-bottom: 1rem;
}

.booking-title{
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
  margin-bottom: 1.25rem;
}

.booking-text,
.booking-note{
  max-width: 34rem;
  color: var(--muted, #b8b2b2);
  line-height: 1.7;
  font-size: 1rem;
}

.booking-card{
  margin: 2rem 0 1.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
}

.contact-row{
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-row:last-child{
  border-bottom: none;
}

.contact-row span{
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--muted, #9f9898);
}

.inline-link{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.inline-link:hover{
  opacity: 0.7;
  border-color: rgba(255,255,255,0.55);
}

.booking-main-image img{
  width: 100%;
  height: 820px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.section-heading{
  margin-bottom: 1.75rem;
}

.section-heading h2{
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin: 0;
}

.digitals-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.digital-card{
  grid-column: span 6;
  margin: 0;
}

.digital-card.tall{
  grid-column: span 6;
}

.digital-card img{
  width: 100%;
  display: block;
  border-radius: 20px;
  cursor: zoom-in;
}

/* Full body images: show the full image */
.full-body-card .headshot-card img{
  height: 700px;
  object-fit: contain;
  object-position: center;
  background: rgba(255,255,255,0.03);
  padding: 0.35rem;
}

/* 3/4 image: show from top */
.three-quarter-card img{
  height: 800px;
  object-fit: cover;
  object-position: top center;
}

/* Headshot can stay nicely cropped */
/* .headshot-card img{
  height: 520px;
  object-fit: cover;
  object-position: center;
} */

.digital-card figcaption{
  margin-top: 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted, #a8a2a2);
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 9999;
}

.lightbox.open{
  opacity: 1;
  visibility: visible;
}

.lightbox-image{
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.45);
}

.lightbox-close{
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

body.lightbox-open{
  overflow: hidden;
}

@media (max-width: 980px){
  .digital-card,
  .digital-card.tall{
    grid-column: span 12;
  }

  .full-body-card img{
    height: 620px;
  }

  .three-quarter-card img,
  .headshot-card img{
    height: 560px;
  }
}

@media (max-width: 640px){
  .full-body-card img{
    height: 460px;
    border-radius: 16px;
  }

  .three-quarter-card img,
  .headshot-card img{
    height: 420px;
    border-radius: 16px;
  }

  .lightbox{
    padding: 1rem;
  }

  .lightbox-close{
    top: 0.75rem;
    right: 0.9rem;
    font-size: 2rem;
  }
}