@charset "UTF-8";

/* HIRE DAVE — davidcohen.co site style */

.hire-page,
.hire-page *{
  box-sizing:border-box;
}

.hire-page{
  width:95%;
  margin:0 auto;
  font-family:"montserrat",sans-serif;
  color:#aaa;
}

.hire-page h1,
.hire-page h2{
  margin:0;
  color:#ddd;
  font-family:"montserrat",sans-serif;
  font-weight:600;
  text-shadow:2px 2px 3px rgba(0,0,0,.75);
}

.hire-page h2{
  margin-top:8px;
  font-size:clamp(24px,2.35vw,38px);
  line-height:1.18;
  letter-spacing:-.02em;
}

.hire-hero{
  position:relative;
  aspect-ratio:2000 / 777;
  overflow:hidden;
  border:1px solid #333;
  border-radius:10px;
  background:#000;
  box-shadow:4px 4px 5px rgba(0,0,0,.65);
}

.hire-hero>img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

.hire-hero-copy{
  position:absolute;
  left:5%;
  top:50%;
  width:min(520px,41%);
  transform:translateY(-50%);
  z-index:2;
}


.hire-kicker,
.hire-small-title{
  color:#aaa;
  font-size:10px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.hire-kicker{
  display:inline-block;
  padding-bottom:8px;
  border-bottom:1px solid rgba(255,255,255,.35);
}

.hire-hero h1{
  max-width:520px;
  margin:16px 0 14px;
  font-size:clamp(30px,3.55vw,54px);
  line-height:1.03;
  letter-spacing:-.035em;
}

.hire-hero-copy>p{
  max-width:500px;
  margin:0;
  color:#ccc;
  font-size:clamp(14px,1.05vw,17px);
  line-height:1.6;
  text-shadow:2px 2px 3px #000;
}

.hire-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.hire-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:0 17px;
  border:1px solid #555;
  border-radius:4px;
  background:linear-gradient(#292929,#111);
  color:#ddd;
  box-shadow:2px 2px 4px rgba(0,0,0,.55),inset 1px 1px 1px rgba(255,255,255,.06);
  font-size:10px;
  font-weight:700;
  letter-spacing:.06em;
  text-decoration:none;
  text-transform:uppercase;
}

.hire-button:hover{
  color:#fff;
  border-color:#777;
  background:linear-gradient(#3a3a3a,#171717);
}

.hire-button-alt{
  background:rgba(0,0,0,.42);
}

.hire-panel,
.hire-feature{
  margin:0;
  border:1px solid #333;
  border-radius:10px;
  background-image: url('wood2.png');
box-shadow:
    3px 3px 3px rgba(0,0,0,0.55),
    inset 1px 1px 2px rgba(0,0,0,0.65);
}

.hire-intro{
  display:grid;
  grid-template-columns:0.8fr 1.2fr;
  gap:clamp(30px,5vw,72px);
  padding:clamp(28px,4vw,52px);
}

.hire-intro p{
  margin-top:0;
}

.hire-lead{
  color:#ddd;
  font-size:clamp(17px,1.45vw,21px);
  line-height:1.55;
}

.hire-story{
  display:grid;
  gap:0;
}

.hire-feature{
  display:grid;
  grid-template-columns:minmax(320px,520px) minmax(0,1fr);
  gap:clamp(28px,4vw,58px);
  align-items:center;
  padding:clamp(24px,3vw,38px);
  overflow:hidden;
}

.hire-feature-reverse{
  grid-template-columns:minmax(0,1fr) minmax(320px,520px);
}

.hire-feature-reverse .hire-feature-image{
  order:2;
}

.hire-feature-image{
  width:100%;
  max-width:520px;
  margin:auto;
}

.hire-image-link{
  display:block;
  cursor:zoom-in;
}

.hire-feature-image img{
  display:block;
  width:100%;
  height:auto;
  max-height:420px;
  object-fit:cover;
  border:1px solid #444;
  box-shadow:4px 4px 8px rgba(0,0,0,.6);
}

.hire-feature-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(28px,3.4vw,46px);
  background:linear-gradient(to top left,#111,#222);
}

.hire-feature-copy p{
  margin:15px 0 0;
  color:#999;
  font-size:14px;
  line-height:1.7;
}

.hire-published{
  display:grid;
  grid-template-columns:minmax(240px,340px) minmax(0,1fr);
  gap:clamp(32px,5vw,70px);
  align-items:center;
  overflow:hidden;
  padding:clamp(28px,4vw,52px);
}

.hire-cover{
  width:100%;
  max-width:340px;
  margin:auto;
  border:1px solid #444;
  box-shadow:6px 6px 12px rgba(0,0,0,.72);
}

.hire-cover img{
  display:block;
  width:100%;
  height:auto;
}

.hire-published-copy{
  min-width:0;
}

.hire-published-copy p{
  max-width:760px;
  font-size:14px;
  line-height:1.7;
}

.hire-publications{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  max-width:760px;
  margin-top:24px;
  border:1px solid #444;
  background:#444;
}

.hire-publications span{
  padding:11px 13px;
  background:#111;
  color:#aaa;
  font-size:10px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.hire-package-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.hire-package,
.hire-process{
  padding:clamp(28px,4vw,48px);
}

.hire-package h2{
  font-size:clamp(34px,4vw,52px);
}

.hire-note{
  color:#888;
  font-size:13px;
}

.hire-package ul{
  list-style:none;
  margin:24px 0;
  padding:0;
}

.hire-package li{
  position:relative;
  padding:9px 0 9px 28px;
  border-bottom:1px solid #383838;
  font-size:14px;
}

.hire-package li:before{
  content:"\f00c";
  position:absolute;
  left:0;
  top:10px;
  color:#aaa;
  font-family:"Font Awesome 5 Free";
  font-weight:900;
}

.hire-step{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:16px;
  padding:18px 0;
  border-bottom:1px solid #383838;
}

.hire-step:last-child{
  border-bottom:0;
}

.hire-step>span{
  color:#666;
  font-size:19px;
  font-weight:800;
}

.hire-step strong{
  display:block;
  color:#ddd;
  font-size:16px;
}

.hire-step p{
  margin:5px 0 0;
  color:#999;
  font-size:14px;
  line-height:1.6;
}

.hire-footer-cta{
  position:relative;
  aspect-ratio:2000 / 667;
  min-height:0;
  overflow:hidden;
  border:1px solid #333;
  border-radius:10px;
  background:#000;
  box-shadow:4px 4px 5px rgba(0,0,0,.65);
}

.hire-footer-cta>img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

.hire-footer-shade{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(
    90deg,
    rgba(0,0,0,.62) 0%,
    rgba(0,0,0,.42) 24%,
    rgba(0,0,0,.16) 43%,
    rgba(0,0,0,0) 62%
  );
}

.hire-footer-copy{
  position:absolute;
  left:5%;
  top:50%;
  z-index:2;
  width:min(520px,41%);
  padding:0;
  transform:translateY(-50%);
  text-align:left;
}

.hire-footer-copy p{
  max-width:500px;
  margin:14px 0 0;
  color:#ccc;
  font-size:clamp(14px,1.05vw,17px);
  line-height:1.6;
  text-shadow:2px 2px 3px #000;
}

.hire-buttons-centre{
  justify-content:flex-start;
}

@media(max-width:1000px){
  .hire-hero-copy{
    width:min(500px,48%);
  }

  .hire-feature,
  .hire-feature-reverse{
    grid-template-columns:1fr;
  }

  .hire-feature-reverse .hire-feature-image{
    order:0;
  }

  .hire-feature-image img{
    min-height:0;
  }

  .hire-published{
    grid-template-columns:minmax(220px,310px) minmax(0,1fr);
  }
}

@media(max-width:760px){
  .hire-intro,
  .hire-published,
  .hire-package-grid{
    grid-template-columns:1fr;
  }

  .hire-cover{
    max-width:320px;
  }
}

@media(max-width:700px){
  .hire-hero{
    position:relative;
    aspect-ratio:auto;
    min-height:760px;
  }

  .hire-hero>img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:68% center;
  }

  .hire-hero:after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(0deg,
      rgba(0,0,0,.92) 0%,
      rgba(0,0,0,.68) 40%,
      rgba(0,0,0,.08) 74%);
  }

  .hire-hero-copy{
    left:6%;
    right:6%;
    top:auto;
    bottom:6%;
    width:auto;
    transform:none;
    margin-top:0;
  }

  .hire-hero h1{
    font-size:clamp(36px,8vw,58px);
    line-height:1.04;
  }

  .hire-buttons,
  .hire-buttons .hire-button{
    width:100%;
  }

  .hire-intro,
  .hire-published,
  .hire-package,
  .hire-process{
    padding:26px 21px;
  }

  .hire-feature-copy{
    padding:30px 22px;
  }

  .hire-publications{
    grid-template-columns:1fr;
  }

  .hire-footer-cta{
    aspect-ratio:auto;
    min-height:620px;
  }

  .hire-footer-cta>img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:72% center;
  }

  .hire-footer-shade{
    background:linear-gradient(
      0deg,
      rgba(0,0,0,.94) 0%,
      rgba(0,0,0,.72) 42%,
      rgba(0,0,0,.08) 76%
    );
  }

  .hire-footer-copy{
    left:6%;
    right:6%;
    top:auto;
    bottom:6%;
    width:auto;
    transform:none;
    text-align:left;
  }
}


/* Smaller editorial images and CSS-only modal viewer */

.hire-feature-copy{
  padding:0;
  background:none;
}

.hire-cover .hire-image-link{
  cursor:zoom-in;
}

.hire-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.hire-modal:target{
  display:flex;
}

.hire-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.92);
}

.hire-modal-box{
  position:relative;
  z-index:2;
  width:min(92vw,1400px);
  max-height:90vh;
}

.hire-modal-box img{
  display:block;
  width:100%;
  max-height:90vh;
  object-fit:contain;
  border:1px solid #555;
  box-shadow:0 12px 40px rgba(0,0,0,.8);
  background:#000;
}

.hire-modal-box-cover{
  width:min(78vw,760px);
}

.hire-modal-close{
  position:absolute;
  top:-18px;
  right:-18px;
  z-index:3;
  width:40px;
  height:40px;
  border:1px solid #666;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#111;
  color:#ddd;
  font-size:28px;
  line-height:1;
  text-decoration:none;
  box-shadow:2px 2px 6px rgba(0,0,0,.7);
}

@media(max-width:1000px){
  .hire-feature,
  .hire-feature-reverse{
    grid-template-columns:minmax(260px,440px) minmax(0,1fr);
  }

  .hire-feature-reverse{
    grid-template-columns:minmax(0,1fr) minmax(260px,440px);
  }
}

@media(max-width:760px){
  .hire-feature,
  .hire-feature-reverse{
    grid-template-columns:1fr;
    gap:24px;
  }

  .hire-feature-reverse .hire-feature-image{
    order:0;
  }

  .hire-feature-image{
    max-width:100%;
  }

  .hire-modal{
    padding:14px;
  }

  .hire-modal-close{
    top:8px;
    right:8px;
  }
}


/* Hero image treatment */
.hire-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(
    90deg,
    rgba(0,0,0,.62) 0%,
    rgba(0,0,0,.42) 24%,
    rgba(0,0,0,.16) 43%,
    rgba(0,0,0,0) 62%
  );
}


/* Modal images should not have a visible keyline */
.hire-modal-box img{
  border:0;
}



.hire-hero-copy{
  z-index:2;
}

@media(max-width:700px){
  .hire-hero-copy{
    top:auto;
  }
}




/* Consistent paired CTA buttons */
.hire-hero .hire-buttons,
.hire-footer-cta .hire-buttons{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  width:min(100%,420px);
  gap:10px;
}

.hire-hero .hire-button,
.hire-footer-cta .hire-button{
  width:100%;
  min-width:0;
  padding-left:14px;
  padding-right:14px;
  white-space:nowrap;
}

.hire-footer-cta .hire-buttons{
  margin-left:auto;
  margin-right:auto;
}

@media(max-width:700px){
  .hire-hero .hire-buttons,
  .hire-footer-cta .hire-buttons{
    grid-template-columns:1fr;
    width:100%;
  }
}


/* Site-standard dividers between feature panels.
   Wrapped so the grid does not add spacing between dl and ul. */
.hire-section-divider{
  width:100%;
  margin:0;
  padding:0;
}

.hire-section-divider .dl,
.hire-section-divider .ul{
  width:100%;
  margin-left:auto;
  margin-right:auto;
}


/* Remove inherited site margins from all Hire Dave content boxes */
.hire-page section,
.hire-page article{
  margin-top:0;
  margin-bottom:0;
}


/* Feature boxes sit flush against the site-standard dl/ul dividers */
.hire-story{
  gap:0;
}

.hire-story > .hire-feature,
.hire-story > .hire-section-divider{
  margin:0;
}

.hire-section-divider .dl,
.hire-section-divider .ul{
  margin-top:0;
  margin-bottom:0;
}


/* Smooth internal-page scrolling */
html{
  scroll-behavior:smooth;
}


/* Camera image above HOW IT WORKS */
.hire-process-camera{
    display:block;
    width:50%;
    max-width:215px;
    height:auto;
    margin:0 auto 26px;
}


/* Heavy Duty Magazine Flickr gallery */
.hire-gallery{
  padding:clamp(28px,4vw,52px);
}

.hire-gallery-heading{
  max-width:850px;
  margin:0 auto 28px;
  text-align:center;
}

.hire-gallery-heading p{
  margin:14px 0 0;
  font-size:14px;
  line-height:1.7;
}

.hire-gallery-note{
  margin:12px 0 0;
  color:#777;
  font-size:10px;
  text-align:center;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.flickr-slideshow{
  position:relative;
  width:100%;
  aspect-ratio:3/2;
  overflow:hidden;
  border:1px solid #444;
  border-radius:8px;
  background:#000;
  box-shadow:4px 4px 8px rgba(0,0,0,.65);
  user-select:none;
}

.flickr-slideshow img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  opacity:0;
  transition:opacity 700ms ease-in-out;
  background:#000;
}

.flickr-slideshow img.show{
  opacity:1;
}

.slideshow-controls{
  position:absolute;
  inset:0;
  z-index:10;
  opacity:0;
  transition:opacity .3s ease;
  pointer-events:none;
}

.flickr-slideshow:hover .slideshow-controls,
.flickr-slideshow:focus .slideshow-controls,
.flickr-slideshow:focus-within .slideshow-controls{
  opacity:1;
}

.slideshow-controls button{
  position:absolute;
  border:0;
  padding:0;
  background:rgba(0,0,0,.58);
  color:#ddd;
  cursor:pointer;
  pointer-events:auto;
}

.slideshow-controls .prevBtn,
.slideshow-controls .nextBtn{
  top:50%;
  width:42px;
  height:42px;
  border-radius:50%;
  transform:translateY(-50%);
}

.slideshow-controls .prevBtn{
  left:12px;
}

.slideshow-controls .nextBtn{
  right:12px;
}

.slideshow-controls .prevBtn::before,
.slideshow-controls .nextBtn::before{
  display:block;
  font-size:25px;
  line-height:42px;
}

.slideshow-controls .prevBtn::before{
  content:"\2039";
}

.slideshow-controls .nextBtn::before{
  content:"\203A";
}

.playPauseWrap{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  pointer-events:none;
}

.slideshow-controls .playPauseBtn{
  position:relative;
  width:50px;
  height:50px;
  border-radius:50%;
}

.slideshow-controls .playPauseBtn::before{
  content:"";
  position:absolute;
  left:20px;
  top:14px;
  width:0;
  height:0;
  border-top:11px solid transparent;
  border-bottom:11px solid transparent;
  border-left:16px solid #ddd;
}

.slideshow-controls .playPauseBtn.is-playing::before{
  left:17px;
  top:14px;
  width:16px;
  height:22px;
  border:0;
  background:linear-gradient(
    90deg,
    #ddd 0 5px,
    transparent 5px 11px,
    #ddd 11px 16px
  );
}

.fs-meta-wrap{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:6;
  padding:42px 18px 14px;
  color:#eee;
  background:linear-gradient(transparent,rgba(0,0,0,.82));
  transform:translateY(100%);
  transition:transform .25s ease;
}

.flickr-slideshow:hover .fs-meta-wrap,
.flickr-slideshow:focus .fs-meta-wrap,
.flickr-slideshow:focus-within .fs-meta-wrap{
  transform:translateY(0);
}

.fs-title{
  margin:0;
  color:#eee;
  font-size:15px;
  font-weight:600;
}

.fs-desc{
  margin:4px 0 0;
  color:#ccc;
  font-size:11px;
  line-height:1.4;
}

@media(max-width:700px){
  .hire-gallery{
    padding:26px 21px;
  }

  .hire-gallery-heading{
    text-align:left;
  }

  .slideshow-controls,
  .flickr-slideshow .fs-meta-wrap{
    opacity:1;
  }

  .flickr-slideshow .fs-meta-wrap{
    transform:translateY(0);
  }
}


.hire-gallery-grid{
 display:grid;
 grid-template-columns:48% 1fr;
 gap:32px;
 align-items:start;
}

.hire-gallery-heading{
 max-width:none;
 margin:0;
 text-align:left;
}

.hire-gallery-note{
 margin-top:24px;
}

@media(max-width:900px){
 .hire-gallery-grid{
   grid-template-columns:1fr;
 }
 .hire-gallery-heading{
   margin-bottom:18px;
 }
}


/* Feature image rotators */
.card-rotator{
  position:relative;
  width:100%;
  overflow:hidden;
  border:1px solid #444;
  box-shadow:4px 4px 8px rgba(0,0,0,.6);
    border-radius: 16px;
}

.card-rotator .card-img{
  display:block;
  width:100%;
  height:auto;
  opacity:0;
  transition:opacity .8s ease;
}

/* The first image establishes the rotator's natural 3:2 height. */
.card-rotator .card-img:first-child{
  position:relative;
}

/* The remaining images sit directly over the first image. */
.card-rotator .card-img:not(:first-child){
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
}

.card-rotator .card-img.active{
  opacity:1;
}

