/* ug.css (FULL CLEAN) — DCD nav/header + shared site styles
   Dreamweaver-safe
*/

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
}

body{
  font-family:"widescreen-ex", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#111;
  background:#fff;
  line-height:1.55;
  font-weight:300;
  letter-spacing:.3px;
}

strong,
b{
  font-family:"widescreen-ex", sans-serif;
  font-weight:500;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  color:inherit;
}

.wrap{
  width:92%;
  max-width:1200px;
  margin:0 auto;
}

/* --------------------------------
   GLOBAL TYPE + RULES
-------------------------------- */

.main{
  padding:10px 0 30px;
}

.content{
  max-width:960px;
}

.h1{
  margin:0 0 6px;
  font-size:34px;
  line-height:1.12;
  font-weight:400;
  font-family:"widescreen-ex", sans-serif;
}

.h2{
  margin:0 0 18px;
  font-size:20px;
  font-weight:300;
  font-family:"widescreen-ex", sans-serif;
  width:100%;
  border-bottom:1px solid #CCC;
}

.h3{
  margin:22px 0 10px;
  font-size:14px;
  font-weight:100;
  font-family:"widescreen-ex", sans-serif;
}

.h4{
  margin:0 0 18px;
  font-size:20px;
  font-weight:300;
  font-family:"widescreen-ex", sans-serif;
  width:100%;
}

p{
  margin:0 0 14px;
  font-size:16px;
  font-weight:300;
}

strong,
b{
  font-family:"widescreen-ex", sans-serif;
  font-weight:500;
  font-size:15px;
}

.rule{
  margin:24px 0;
  border:0;
  border-top:1px solid #e7e7e7;
}

.bullets{
  margin:0 0 12px 28px;
  padding:0;
}

.bullets li{
  margin:6px 0;
}

.bullets--tight li{
  margin:4px 0;
}

/* --------------------------------
   BUTTONS
-------------------------------- */

.btn,
.pill,
.portfolio-link,
.photo-back-btn{
  display:inline-block;
  padding:6px 10px;
  border:1px solid #CCC;
  border-radius:999px;
  background:#fff;
  color:#000;
  text-decoration:none;
  font-size:13px;
  font-weight:500;
  letter-spacing:0.6px;
  text-transform:uppercase;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn:visited,
.pill:visited,
.portfolio-link:visited,
.photo-back-btn:visited{
  color:#000;
}

.btn:hover,
.btn:focus,
.pill:hover,
.pill:focus,
.portfolio-link:hover,
.portfolio-link:focus,
.photo-back-btn:hover,
.photo-back-btn:focus{
  background:#000;
  color:#fff;
  border-color:rgba(0,0,0,0.85);
}

/* --------------------------------
   TOP BAR
-------------------------------- */

.topbar{
  background:#fff;
  border-bottom:0;
  margin-top:20px;
}

.topbar-inner{
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:28px;
  padding:8px 0 10px;
  border-bottom:1px solid #CCC;
}

.brand{
  display:inline-flex;
  align-items:flex-end;
  gap:14px;
  text-decoration:none;
  flex:0 0 auto;
}

.brand-logo{
  height:56px;
  width:auto;
}

.brand-since{
  font-size:14px;
  font-weight:800;
  margin-bottom:6px;
}

.top-actions{
  display:flex;
  gap:12px;
  align-items:flex-end;
  flex:0 0 auto;
}

.top-actions .pill{
  background:#fff;
  color:#000;
  border:1px solid #CCC;
}

.top-actions .pill:visited{
  color:#000;
}

.top-actions .pill:hover,
.top-actions .pill:focus{
  background:#000;
  color:#fff;
}

/* --------------------------------
   NAV
-------------------------------- */

.nav{
  background:#fff;
  color:#000;
  border:0;
  flex:1 1 auto;
  align-self:stretch;
  margin-bottom:0;
  display:flex;
  align-items:flex-end;
  font-family:"widescreen-ex", sans-serif;
}

.nav-inner{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  position:relative;
  width:100%;
}

.nav-list{
  list-style:none;
  margin:0;
  padding:0 0 7px;
  display:flex;
  gap:30px;
  align-items:flex-end;
  justify-content:center;
}

.nav-link{
  display:inline-block;
  padding:0;
  text-decoration:none;
  font-weight:500;
  letter-spacing:.6px;
  font-size:14px;
  color:#000;
  transition:color .15s ease;
}

.nav-link:hover{
  color:#00bcd4;
  opacity:1;
}

.nav-link.is-active{
  color:#999;
  font-weight:700;
}

.nav-item{
  position:relative;
}

.has-dropdown > .nav-link{
  display:flex;
  align-items:center;
  gap:6px;
}

.has-dropdown > .nav-link::after{
  content:"▾";
  font-size:12px;
  line-height:1;
  transform:translateY(-1px);
  transition:transform .18s ease;
  opacity:.75;
}

.has-dropdown:hover > .nav-link::after,
.has-dropdown:focus-within > .nav-link::after{
  transform:translateY(-1px) rotate(180deg);
}

.nav-dropdown{
  display:none;
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  z-index:200;
  min-width:230px;
  margin:0;
  padding:10px 0;
  list-style:none;
  background:#fff;
  border:1px solid #CCC;
  box-shadow:0 12px 24px rgba(0,0,0,.12);
}

.nav-dropdown a{
  display:block;
  padding:9px 18px;
  color:#000;
  text-decoration:none;
  font-size:13px;
  font-weight:400;
  letter-spacing:.5px;
  text-transform:uppercase;
  white-space:nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus{
  background:#f4f4f4;
  color:#00bcd4;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown{
  display:block;
}

.nav-toggle{
  display:none;
  position:relative;
  width:44px;
  height:44px;
  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;
}

.nav-toggle:focus{
  outline:2px solid rgba(0,0,0,.35);
  outline-offset:2px;
  border-radius:10px;
}

.bars{
  position:absolute;
  left:50%;
  top:50%;
  width:24px;
  height:2px;
  margin-left:-12px;
  margin-top:-1px;
  background:#000;
}

.bars:before,
.bars:after{
  content:"";
  position:absolute;
  left:0;
  width:24px;
  height:2px;
  background:#000;
}

.bars:before{
  top:-7px;
}

.bars:after{
  top:7px;
}

/* --------------------------------
   HERO
-------------------------------- */

.hero{
  background:#fff;
  padding:0;
}

.hero-inner{
  width:92%;
  max-width:1200px;
  margin:0 auto;
  text-align:center;
}

.hero-img{
  width:auto;
  max-width:100%;
  max-height:650px;
  margin:0 auto;
}

.hero--simple{
  padding:32px 0 18px;
}

.hero-simple-inner .h1{
  margin:0;
}

.hero-simple-inner .h2{
  margin-top:6px;
}

.hero--equip{
  padding:18px 0 12px;
}

.hero--equip .wrap{
  width:100%;
  max-width:none;
  margin:0;
}

.hero--equip .h1{
  margin-bottom:4px;
}

.hero--equip .h2{
  margin-bottom:0;
}

/* Hero icon lockup */

.hero-header{
  display:flex;
  align-items:flex-start;
  gap:5px;
}

.hero-text{
  display:flex;
  flex-direction:column;
  gap:0;
}

.hero-icon{
  height:200px;
  width:auto;
  flex-shrink:0;
  display:block;
  margin-top:-20px;
}

/* --------------------------------
   FOOTER
-------------------------------- */

.footer{
  background:#0f0f10;
  color:#fff;
  margin-top:26px;
}

.footer a{
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.18);
}

.footer a:hover{
  border-bottom-color:rgba(255,255,255,.40);
}

.footer-top{
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding:22px 0 16px;
}

.footer-block{
  min-width:240px;
}

.footer-title{
  font-weight:600;
  font-size:15px;
  margin-bottom:10px;
}

.footer-line{
  display:flex;
  align-items:baseline;
  gap:14px;
  margin:7px 0;
  font-size:14px;
  opacity:.95;
}

.footer-label{
  flex:0 0 100px;
  opacity:.70;
}

.footer-brand{
  text-align:right;
}

.footer-brand-name{
  font-weight:600;
  font-size:16px;
}

.footer-tagline{
  margin-top:6px;
  font-size:13px;
  opacity:.75;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:14px 0 18px;
  border-top:1px solid rgba(255,255,255,.10);
  font-size:13px;
  opacity:.90;
}

/* --------------------------------
   ABOUT PAGE
-------------------------------- */

.about-grid{
  display:flex;
  gap:34px;
  align-items:flex-start;
  padding-top:8px;
}

.about-left{
  width:320px;
  flex:0 0 320px;
}

.about-right{
  flex:1 1 auto;
  min-width:0;
}

.profile-card{
  border:1px solid #CCC;
  border-radius:14px;
  overflow:hidden;
  background:#fff;

}




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

.profile-meta{
  padding-top:14px;
}

.profile-name{
  font-weight:500;
  font-size:18px;
  line-height:.5;
}

.profile-role{
  margin-top:4px;
  color:#6a6a6a;
  font-size:13px;
}

.profile-link{
  margin-top:10px;
  font-size:13px;
}

.about-note{
  margin-top:12px;
}

.skills-top{
  margin-top:10px;
  margin-bottom:14px;
}

.skill-line{
  margin:4px 0;
  font-size:16px;
}

.skills-block{
  margin-top:12px;
}

.skills-head{
  font-weight:700;
  margin-bottom:6px;
}

/* --------------------------------
   EQUIPMENT SECTIONS
-------------------------------- */

.equip-wide{
  margin-top:6px;
}

.equip-wide--post{
  margin-top:28px;
  padding-top:24px;

}

.equip-wide-grid{
  display:flex;
  gap:34px;
  align-items:flex-start;
}

.equip-wide-left{
  width:320px;
  flex:0 0 320px;
}

.equip-wide-img{
  width:100%;
  height:auto;
  display:block;
  border-radius:0;
}

.equip-wide-right{
  flex:1 1 auto;
  min-width:0;
}

.equip-subhead{
  margin:14px 0 6px;
  font-weight:900;
  font-size:18px;
}

.equip-note{
  margin-top:10px;
}

/* --------------------------------
   PORTFOLIO SUB-NAV
-------------------------------- */

.portfolio-subnav{
  margin:10px 0 18px;
  text-align:center;
}

.portfolio-subnav-inner{
  display:inline-block;
}

.portfolio-subnav-line{
  display:flex;
  align-items:baseline;
  justify-content:flex-start;
  gap:18px;
  margin:6px 0;
  text-align:left;
}

.portfolio-subnav-head{
  width:120px;
  font-size:12px;
  font-weight:900;
  letter-spacing:1.1px;
  text-transform:uppercase;
  opacity:0.55;
  white-space:nowrap;
}

.portfolio-subnav-links{
  display:flex;
  flex-wrap:wrap;
  gap:14px 18px;
}

.portfolio-subnav-a{
  text-decoration:none;
  font-weight:400;
  letter-spacing:0.5px;
  text-transform:uppercase;
  font-size:13px;
  opacity:0.92;
  border-bottom:2px solid transparent;
  padding-bottom:2px;
}

.portfolio-subnav-a:hover,
.portfolio-subnav-a:focus{
  border-bottom-color:rgba(0,0,0,0.65);
  opacity:1;
}

.subnav-band{
  display:table;
  margin:0 auto;
  text-align:center;
}

.rule--band{
  width:100%;
  margin:12px 0;
}

/* --------------------------------
   MODALS
-------------------------------- */

.img-modal__panel,
.vid-modal__panel{
  width:96%;
  max-width:1200px;
  padding:12px;
}

.img-modal__img{
  max-height:88vh;
  background:transparent;
}

.img-modal__close,
.vid-modal__close{
  position:absolute;
  top:14px;
  right:14px;
  left:auto;
  z-index:50;
  width:44px;
  height:44px;
  padding:0;
  border:0;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.14);
  color:#f00;
  font-size:28px;
  line-height:1;
  text-align:center;
  cursor:pointer;
}

.img-modal__close:hover,
.vid-modal__close:hover{
  background:rgba(255,255,255,0.20);
}

.img-modal__close:focus-visible,
.vid-modal__close:focus-visible{
  outline:2px solid rgba(0,188,212,0.9);
  outline-offset:2px;
}

/* --------------------------------
   BACK BUTTONS
-------------------------------- */

.photo-back{
  text-align:center;
}

.portfolio-back{
  text-align:center;
  margin:2.5rem 0 0;
}

.portfolio-back .portfolio-link{
  float:none;
}

/* --------------------------------
   FADE-IN ON SCROLL
-------------------------------- */

.fade-in{
  opacity:0;
  transform:translateY(12px);
  transition:opacity 0.6s ease, transform 0.6s ease;
  will-change:opacity, transform;
}

.fade-in.is-visible{
  opacity:1;
  transform:translateY(0);
}

/* --------------------------------
   PORTFOLIO ONLY
-------------------------------- */

.portfolio-sep{
  display:none;
}

/* --------------------------------
   RESPONSIVE
-------------------------------- */

@media (max-width:980px){

  .brand-logo{
    height:50px;
  }

  .topbar-inner{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:12px 20px;
    position:relative;
    border-bottom:1px solid #000;
  }

  .brand{
    order:1;
  }

  .top-actions{
    order:2;
    margin-left:auto;
  }

  .nav{
    order:3;
    width:100%;
    flex:0 0 100%;
    border-top:1px solid #000;
    position:relative;
    z-index:100;
    margin-bottom:0;
    align-self:auto;
  }

  .nav-inner{
    justify-content:center;
    padding-left:0;
    min-height:44px;
    position:relative;
  }

  .nav-toggle{
    display:block;
    margin:0 auto;
    z-index:102;
  }

  .nav-list{
    position:absolute;
    top:44px;
    left:50%;
    transform:translateX(-50%);
    width:100vw;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:0;
    background:#fff;
    border-top:1px solid #000;
    border-bottom:1px solid #000;
    box-shadow:0 12px 24px rgba(0,0,0,.12);
    z-index:101;
  }

  .nav-link{
    display:block;
    padding:14px 24px;
    border-top:1px solid rgba(0,0,0,.12);
    text-align:left;
    background:#fff;
  }

  .nav-list li:first-child .nav-link{
    border-top:0;
  }

  html.js .nav-list{
    display:none;
  }

  html.js .nav-list.is-open{
    display:flex;
  }

}

@media (max-width:900px){

  .about-grid{
    flex-direction:column;
    gap:18px;
  }

  .about-left{
    width:100%;
    flex:0 0 auto;
  }

  .profile-card{
    max-width:420px;
  }

  .equip-wide-grid{
    flex-direction:column;
    gap:16px;
  }

  .equip-wide-left{
    width:100%;
    flex:0 0 auto;
  }

  .equip-wide-img{
    max-width:420px;
  }

}

@media (max-width:700px){

  .hero-img{
    max-height:300px;
  }

  .topbar-inner{
    flex-direction:row;
    align-items:center;
  }

  .brand{
    max-width:48%;
  }

  .brand-since{
    display:none;
  }

  .top-actions{
    width:auto;
    justify-content:flex-end;
    margin-left:auto;
  }

  .top-actions .pill{
    padding:10px 16px;
    font-size:12px;
  }

  .h1{
    font-size:30px;
  }

  .content{
    max-width:none;
  }

  .footer-top{
    flex-direction:column;
    text-align:left;
  }

  .footer-brand{
    text-align:left;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }

}

@media (max-width:520px){

  .brand-logo{
    height:46px;
  }

  .top-actions{
    gap:8px;
  }

  .top-actions .pill{
    padding:9px 13px;
    font-size:11px;
  }

  .hero-icon{
    display:none;
  }

}

@media (min-height:900px){

  .img-modal__img{
    max-height:90vh;
  }

}

html{
  scroll-behavior:smooth;
}

/* --------------------------------
   ABOUT PAGE IMAGE FADE-IN
-------------------------------- */

.profile-img,
.equip-wide-img{
  opacity:0;
  animation:aboutFade 1.2s ease forwards;
}

/* profile first */

.profile-img{
  animation-delay:.15s;
}

/* production image */

.equip-wide:nth-of-type(1) .equip-wide-img{
  animation-delay:.45s;
}

/* post-production image */

.equip-wide--post .equip-wide-img{
  animation-delay:.75s;
}

@keyframes aboutFade{

  from{
    opacity:0;
  }

  to{
    opacity:1;
  }

}