/* ug.css — DCD personal portfolio
   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;
    
}



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

a{
  color:inherit;
}


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

/* --------------------------------
   GLOBAL TYPE
-------------------------------- */

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

.content{
  max-width:960px;
}

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

.h3{
  margin:22px 0 10px;
  font-size:16px;
  font-weight:900;
}

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

}

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

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

.rule2{
  margin:24px 0;
  border:0;
  border-top:2px solid #e7e7e7;
}

.bullets{
  margin:0 0 12px 28px;
  padding:0;
        font-size:16px;

}

.bullets li{
  margin:6px 0;
}

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

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

.btn:hover,
.btn:focus,
.pill:hover,
.pill:focus,
.portfolio-link:hover,
.portfolio-link:focus,
.photo-back-btn:hover,
.photo-back-btn:focus{
  background:#fff;
  color:#000;
}

/* --------------------------------
   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;
}

.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:300;
  margin-bottom:6px;
  font-family:"widescreen-ex", sans-serif;
}

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

.top-actions .pill{
  background:#fff;
  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:20px;
  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:600;
}

.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;
}

.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;
}

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

.dcd-hero{
  background:#fff;
  padding:18px 0 26px;
}

.dcd-hero-inner{
  max-width:960px;
  display:flex;
  align-items:stretch;
  justify-content:flex-start;
  gap:54px;
}

.dcd-profile{
  width:245px;
  flex:0 0 245px;
  margin-top:20px;
}

.dcd-profile img{
  width:100%;
  height:auto;
  display:block;
  border-radius:20px;
  box-shadow:5px 5px 10px #AAA;
}

.dcd-logo-text{
  flex:1 1 auto;
  min-width:0;
  color:#222;
  line-height:1;

  display:flex;
  flex-direction:column;
  justify-content:flex-end;

  padding-bottom:8px;
}

.dcd-name{
  font-family:"widescreen-ex", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size:clamp(30px, 4.5vw, 50px);
  font-weight:300;
  letter-spacing:1px;
  white-space:nowrap;
}

.dcd-tagline{
  font-size:clamp(18px, 1.8vw, 22px);
  font-weight:200;
  letter-spacing:.4px;
  line-height:1;
  margin-top:2px;
  font-family:"widescreen-ex", sans-serif;
}

/* =========================================================
   HOME HERO IMAGE
   ========================================================= */

.home-hero{
  padding:18px 0 10px;
}


.home-hero-image{
  overflow:hidden;
  background:#fff;
}

.home-hero-image img{
  display:block;
  width:100%;
  height:auto;

  opacity:0;
  transform:
    scale(1.02)
    translateY(8px);

  filter:
    blur(4px)
    brightness(1.04);

  animation:heroFade 2.1s cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay:.12s;

  will-change:
    opacity,
    transform,
    filter;
}

@keyframes heroFade{

  0%{
    opacity:0;

    transform:
      scale(1.02)
      translateY(8px);

    filter:
      blur(4px)
      brightness(1.04);
  }

  55%{
    opacity:1;
  }

  100%{
    opacity:1;

    transform:
      scale(1)
      translateY(0);

    filter:
      blur(0)
      brightness(1);
  }

}



.home-hero-text{
  padding-top:18px;
}

.home-title{
  margin:0;
  font-family:"widescreen-ex", sans-serif;
  font-size:clamp(1.85rem, 4vw, 3.85rem);
  line-height:.95;
  font-weight:300;
  letter-spacing:-0.03em;
  max-width:920px;
}

.home-tagline{
  margin:10px 0 0;
  font-size:1.15rem;
  letter-spacing:.02em;
  opacity:.82;
  max-width:920px;
}

/* --------------------------------
   SIMPLE HERO TEXT FADE
-------------------------------- */

.home-title{
  opacity:0;
  animation:simpleFade 1.2s ease forwards;
  animation-delay:.55s;
}

.home-tagline{
  opacity:0;
  animation:simpleFade 1.2s ease forwards;
  animation-delay:.95s;
}

@keyframes simpleFade{

  from{
    opacity:0;
  }

  to{
    opacity:1;
  }

}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:780px){

  .home-hero{
    padding-top:12px;
  }

  .home-hero-text{
    padding-top:14px;
  }

  .home-title{
    font-size:clamp(2rem, 9vw, 3rem);
  }

  .home-tagline{
    font-size:1rem;
  }

}

/* --------------------------------
   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;
}

/* --------------------------------
   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;
  z-index:50;

  width:44px;
  height:44px;
  border:0;
  border-radius:999px;

  display:flex;
  align-items:center;
  justify-content:center;

  background:rgba(255,255,255,0.14);
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}

/* --------------------------------
   HELPERS
-------------------------------- */

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

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

.portfolio-sep{
  display:none;
}

/* --------------------------------
   RESPONSIVE
-------------------------------- */
@media (max-width:1080px){

  .brand-since{
    display:none;
  }
}

@media (max-width:980px){

  .brand-logo{
    height:50px;
  }

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

  .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:10px 24px;
    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:980px){

  .nav-item{
    position:static;
  }

  .nav-dropdown{
    display:none;
    position:static;
    transform:none;
    min-width:0;
    width:100%;
    padding:0;
    border:0;
    box-shadow:none;
    background:#fff;
  }

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

  .nav-dropdown a{
    padding:10px 36px;
    font-size:12px;
    color:#555;
  }
}

  html.js .nav-list:not(.is-open) .nav-dropdown{
    display:none;
  }

  .brand-since{
    display:none;
  }
}

@media (max-width:900px){

  .dcd-hero-inner{
    gap:34px;
  }

  .dcd-profile{
    width:210px;
    flex-basis:210px;
  }

  .brand-since{
    display:none;
  }
}

@media (max-width:700px){

  .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:650px){

  .dcd-hero{
    padding:18px 0 22px;
  }

  .dcd-hero-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:22px;
  }

  .dcd-profile{
    width:230px;
    max-width:75%;
    flex:0 0 auto;
    margin-top:20px;
  }

  .dcd-logo-text{
    width:100%;
    padding-bottom:0;
  }

  .dcd-name{
    white-space:normal;
    letter-spacing:-1px;
  }
}

@media (max-width:520px){

  .brand-logo{
    height:46px;
  }

  .top-actions{
    gap:8px;
  }

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

  .footer-line{
    gap:10px;
  }

  .footer-label{
    flex:0 0 88px;
  }
}