/* ug.css (FULL) — cleaned + consistent buttons + consistent bullets
   Dreamweaver-safe
*/

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

body{
  font-family: "widescreen", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#111;
  background:#fff;
  line-height:1.55;
}

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:28px 0 30px; }
.content{ max-width:960px; }

.h1{ margin:0 0 6px; font-size:34px; line-height:1.12; }
.h2{ margin:0 0 18px; font-size:22px; font-weight:900; }
.h3{ margin:22px 0 10px; font-size:16px; font-weight:900; }
p{ margin:0 0 14px; }

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

/* Bullet lists (single source of truth) */
.bullets{
  margin:0 0 12px 28px;
  padding:0;
}
.bullets li{ margin:6px 0; }
.bullets--tight li{ margin:4px 0; }

/* --------------------------------
   BUTTONS — SITE STANDARD
   black pill + full reverse hover
   (includes :visited to prevent black-on-black)
-------------------------------- */

.btn,
.pill,
.portfolio-link,
.photo-back-btn{
  display:inline-block;
  padding:12px 22px;
  border:1px solid rgba(0,0,0,0.85);
  border-radius:999px;
  background:#000;
  color:#fff;
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  letter-spacing:0.6px;
  text-transform:uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* visited lock */
.btn:visited,
.pill:visited,
.portfolio-link:visited,
.photo-back-btn:visited{
  color:#fff;
}

/* full reverse hover/focus */
.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;
  border-color:rgba(0,0,0,0.85);
}

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

.topbar{ background:#fff; border-bottom:1px solid #e7e7e7; }

.topbar-inner{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  padding:14px 0 10px;
  gap:16px;
}

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

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

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

.nav{
  background:#0f0f10;
  color:#fff;
  border-top:1px solid #00FFF6;
  border-bottom:1px solid #F100FF;
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  min-height:44px;
}

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

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

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

.nav-toggle{
  display:none;
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;
}

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

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

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

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

@media (max-width:700px){
  .hero-img{ max-height:300px; }
}

/* Simple hero (used on inner pages) */
.hero--simple{ padding:32px 0 18px; }
.hero-simple-inner .h1{ margin:0; }
.hero-simple-inner .h2{ margin-top:6px; }

/* Mid-page hero used inside .wrap.content (equipment header) */
.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; }


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

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

.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:900; font-size:15px; margin-bottom:10px; }
.footer-line{ margin:7px 0; font-size:14px; opacity:.95; }
.footer-label{ display:inline-block; width:72px; opacity:.70; }

.footer-brand{ text-align:right; }
.footer-brand-name{ font-weight:900; 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;
}

/* --------------------------------
   RESPONSIVE NAV + LAYOUT
-------------------------------- */

@media (max-width:980px){
  .brand-logo{ height:50px; }

  .nav-toggle{ display:block; }
  .nav-toggle{ transform:none; top:4px; }
  .nav-inner{ justify-content:flex-start; padding-left:48px; }

  .nav-list{
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:10px 0 14px;
  }

  .nav-link{
    display:block;
    padding:14px 0;
    border-top:1px solid rgba(255,255,255,.12);
    text-align:center;
  }

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

@media (max-width:700px){
  .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }

  .top-actions{
    width:100%;
    justify-content:flex-end;
  }

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

/* --------------------------------
   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 #e7e7e7;
  box-shadow:0 10px 30px rgba(0,0,0,.10);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}

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

.profile-meta{ padding-top:14px; }
.profile-name{ font-weight:700; font-size:18px; line-height:1.2; }
.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; }

@media (max-width:900px){
  .about-grid{ flex-direction:column; gap:18px; }
  .about-left{ width:100%; flex:0 0 auto; }
  .profile-card{ max-width:420px; }
}

/* --------------------------------
   FULL-WIDTH EQUIPMENT SECTION
   (no shadow frame on image)
-------------------------------- */

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

.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:12px;
}

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

@media (max-width:900px){
  .equip-wide-grid{
    flex-direction:column;
    gap:16px;
  }

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

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

/* =========================================================
   PORTFOLIO SUB-NAV (DREAMWEAVER-SAFE)
   Flexbox only — no grid, no 1fr
   NOTE: This is the ONLY subnav block. Duplicates removed.
   ========================================================= */

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

/* shrink-wrap the whole block so it can be centered as a unit */
.portfolio-subnav-inner{
  display: inline-block;
}

/* One row: label + links */
.portfolio-subnav-line{
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 18px;
  margin: 6px 0;
  text-align: left; /* keeps the label column neat */
}

/* fixed label column so the two labels align perfectly */
.portfolio-subnav-head{
  width: 120px;          /* tweak if you want */
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  opacity: 0.55;
  white-space: nowrap;
}

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

/* link look */
.portfolio-subnav-a{
  text-decoration: none;
  font-weight: 900;
  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;
}

/* Make the rules behave inside the band */
.rule--band{
  width: 100%;
  margin: 12px 0;
}


/* =========================================================
   MODAL SIZE TWEAKS
   Makes modal content feel larger than thumbnails
   Dreamweaver-safe
   ========================================================= */

/* IMAGE MODAL */
.img-modal__panel{
  width: 96%;
  max-width: 1200px;    /* was ~980 */
  padding: 12px;        /* slightly tighter */
}

.img-modal__img{
  max-height: 88vh;     /* was ~78vh */
  background: transparent;  /* optional */
}

/* VIDEO MODAL */
.vid-modal__panel{
  width: 96%;
  max-width: 1200px;    /* match image modal */
  padding: 12px;
}

/* Modal close button — global standard */
.img-modal__close,
.vid-modal__close{
  position: absolute;
  top: 8px;
  right: 10px;
  left: auto;
}

/* =========================================================
   MODAL CLOSE BUTTON — unified style (top-right)
   ========================================================= */

.img-modal__close,
.vid-modal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;

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

  background: rgba(255,255,255,0.14);
  color: #fff;

  font-size: 28px;
  line-height: 44px;
  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); /* your cyan */
  outline-offset: 2px;
}



/* Optional: on very tall portrait assets, give a touch more height */
@media (min-height: 900px){
  .img-modal__img{ max-height: 90vh; }
}

/* Center Back to Portfolio button */
.photo-back{
  text-align: center;
}


/* =========================
   Fade-in on scroll
   Add to ug.css (or page css)
   ========================= */

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



/* =========================
   Hero icon lockup
   ========================= */

.hero-header{
  display: flex;
  align-items: flex-start;   /* IMPORTANT: stops icon lift affecting text alignment */
  gap: 5px;
}

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

/* Desktop / tablet */
.hero-icon{
  height: 110px;
  width: auto;
  flex-shrink: 0;
  display: block;
  margin-top: -20px;         /* optical lift */
}

/* Mobile: hide icon */
@media (max-width: 520px){
  .hero-icon{
    display: none;
  }
}

/* =========================================================
   Bottom "Back" button wrapper (centred)
   ========================================================= */

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

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

/* =========================================================
   PORTFOLIO ONLY:
   Remove separator line + dot
   (Services page remains untouched)
   ========================================================= */

.portfolio-sep{
  display: none;
}

/* =========================================================
   MODAL CLOSE BUTTON — single standard (centred × + overlaps content)
   Place this at the END of ug.css so it wins.
   ========================================================= */

.img-modal__close,
.vid-modal__close{
  /* position: keep top-right, but sit ON the content, not in the padding */
  top: 14px;
  right: 14px;

  /* size matches your global standard */
  width: 44px;
  height: 44px;

  /* true centring for the glyph (fixes off-centre ×) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  text-align: center;

  /* keep your existing look (these mirror your ug.css values) */
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 50;
}

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






