@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root{
  --bg:#ffffff;
  --surface:#f7f8fa;
  --surface-2:#f1f3f5;
  --ink:#111827;
  --muted:#667085;
  --line:#e5e7eb;
  --accent:#0089a1;
  --accent-soft:#e6f6f8;
  --dark:#0f172a;
  --max:1120px;
  --radius:16px;
  --shadow:0 12px 34px rgba(15,23,42,.07);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:15px;
  line-height:1.68;
  -webkit-font-smoothing:antialiased;
}
body.menu-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
img{max-width:100%;display:block}
::selection{background:#cfeff4;color:#073b44}

.container{width:min(calc(100% - 40px),var(--max));margin-inline:auto}
.section{padding:76px 0}
.section-sm{padding:52px 0}
.muted{color:var(--muted)}
.eyebrow{
  display:inline-block;
  margin-bottom:10px;
  color:var(--accent);
  font-size:.75rem;
  line-height:1;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:none;
}
.display{font:inherit}
.kicker{font-size:1rem;max-width:700px;color:var(--muted)}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:0 16px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  color:var(--ink);
  font-size:.88rem;
  font-weight:600;
  transition:.18s ease;
}
.button:hover{transform:translateY(-1px);border-color:#cbd5e1;box-shadow:0 4px 14px rgba(15,23,42,.06)}
.button.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.button.primary:hover{background:#00798e;border-color:#00798e}
.button.ghost{background:transparent}
.button.accent{background:var(--accent);border-color:var(--accent);color:#fff}
.button .arrow{font-size:1rem}

.tag-list{display:flex;flex-wrap:wrap;gap:7px}
.tag{
  display:inline-flex;align-items:center;
  padding:5px 9px;
  border:1px solid var(--line);
  border-radius:7px;
  background:#fff;
  color:#475467;
  font-size:.72rem;
  font-weight:600;
}

/* Header */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav{height:64px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{font-size:.95rem;font-weight:700;letter-spacing:-.02em;white-space:nowrap}
.brand span{color:var(--muted);font-weight:500}
.nav-links{display:flex;align-items:center;gap:24px;margin-left:auto}
.nav-links a{font-size:.82rem;font-weight:600;color:#475467}
.nav-links a:hover,.nav-links a[aria-current="page"]{color:var(--ink)}
.nav-links a:last-child{color:var(--accent)}
.menu-button{
  display:none;border:0;background:transparent;width:40px;height:40px;padding:0;
  align-items:center;justify-content:center;cursor:pointer;
}
.menu-button span,.menu-button span::before,.menu-button span::after{
  width:20px;height:2px;background:var(--ink);display:block;position:relative;transition:.2s ease;
}
.menu-button span::before,.menu-button span::after{content:"";position:absolute;left:0}
.menu-button span::before{top:-6px}.menu-button span::after{top:6px}
.menu-open .menu-button span{background:transparent}
.menu-open .menu-button span::before{transform:rotate(45deg);top:0}
.menu-open .menu-button span::after{transform:rotate(-45deg);top:0}

/* Hero */
.hero{padding:88px 0 60px;border-bottom:1px solid var(--line)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:64px;align-items:end}
.hero h1{
  max-width:820px;
  margin:0;
  font-size:clamp(2.65rem,6vw,5.15rem);
  line-height:1.03;
  letter-spacing:-.055em;
  font-weight:700;
}
.hero-copy{padding-bottom:4px}
.hero-copy p{margin:0 0 22px;color:var(--muted);font-size:1rem;line-height:1.7}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.hero-panel{
  margin-top:48px;padding:20px 22px;
  display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
}
.hero-panel strong{font-size:.98rem}
.hero-panel p{margin:3px 0 0;color:var(--muted);font-size:.82rem}
.hero-panel .orb{
  position:relative;
  width:18px;
  height:18px;
  margin:10px;
  border-radius:50%;
  background:#9eff1f;
  box-shadow:0 0 14px rgba(158,255,31,.62);
  flex:0 0 auto;
}
.hero-panel .orb::before,
.hero-panel .orb::after{
  content:"";
  position:absolute;
  inset:50% auto auto 50%;
  width:100%;
  height:100%;
  border-radius:50%;
  transform:translate(-50%,-50%) scale(1);
  pointer-events:none;
}
.hero-panel .orb::before{
  background:rgba(158,255,31,.16);
  animation:keonHeroPulse 1.9s ease-out infinite;
}
.hero-panel .orb::after{
  background:rgba(158,255,31,.08);
  animation:keonHeroPulse 1.9s ease-out .65s infinite;
}
@keyframes keonHeroPulse{
  0%{transform:translate(-50%,-50%) scale(1);opacity:.9}
  70%,100%{transform:translate(-50%,-50%) scale(2.45);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .hero-panel .orb::before,
  .hero-panel .orb::after{animation:none}
}

.stats{padding:0}
.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);margin-top:20px;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.stat{padding:17px 18px;border-right:1px solid var(--line);background:#fff}
.stat:last-child{border-right:0}
.stat strong{display:block;margin-bottom:3px;font-size:.88rem;font-weight:700}
.stat span{font-size:.77rem;color:var(--muted)}

/* Section heads */
.section-head{display:block;margin-bottom:28px}
.section-head h2{margin:0;font-size:clamp(1.8rem,3.6vw,3rem);line-height:1.12;letter-spacing:-.035em}
.section-head p{margin:0;color:var(--muted);font-size:.92rem}

/* Expertise */
.expertise-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.expertise-card{
  min-height:190px;padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;
  display:flex;flex-direction:column;justify-content:space-between;transition:.18s ease;
}
.expertise-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#d0d5dd}
.expertise-card .num{font-size:.7rem;color:#98a2b3;font-weight:700}
.expertise-card h3{margin:30px 0 8px;font-size:1rem;line-height:1.3}
.expertise-card p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.6}

/* Projects */
.project-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.project-card{
  display:flex;flex-direction:column;min-height:100%;
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;transition:.18s ease;
}
.project-card:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#d0d5dd}
.project-visual{
  min-height:210px;padding:18px;display:flex;align-items:flex-end;position:relative;overflow:hidden;color:#fff;
  background:linear-gradient(145deg,#131116 0%,#3b2230 54%,#e79ab8 135%);
}
.project-visual::before{content:"";position:absolute;inset:0;background:linear-gradient(160deg,rgba(255,255,255,.04),transparent 44%)}
.project-visual.v2{background:linear-gradient(145deg,#11130f 0%,#30351c 58%,#a7b86a 140%)}
.project-visual.v3{background:linear-gradient(145deg,#11131a 0%,#26375a 58%,#9eb8f0 140%)}
.project-visual.v4{background:linear-gradient(145deg,#0c1114 0%,#123845 58%,#0089a1 145%)}
.project-visual::after{content:"";position:absolute;width:140px;height:140px;border:1px solid rgba(255,255,255,.12);border-radius:30px;right:-45px;top:-50px;transform:rotate(20deg)}
.visual-label{position:relative;z-index:1}
.visual-label span{display:block;margin-bottom:4px;font-size:.65rem;letter-spacing:.04em;text-transform:none;opacity:.75}
.visual-label strong{display:block;font-size:1.25rem;line-height:1.2;font-weight:600;letter-spacing:-.025em}
.project-body{padding:20px;display:flex;flex:1;flex-direction:column}
.project-body .meta{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}
.project-body .meta .eyebrow{margin:0;color:#475467;font-size:.65rem}
.project-body .index{font-size:.7rem;color:#98a2b3}
.project-body h3{margin:0 0 9px;font-size:1.2rem;line-height:1.3;letter-spacing:-.025em}
.project-body p{margin:0 0 18px;color:var(--muted);font-size:.84rem;line-height:1.65}
.project-card-link{display:inline-flex;align-items:center;gap:7px;margin-top:auto;padding-top:18px;font-size:.82rem;font-weight:700;color:var(--accent)}
.project-card-link:hover{gap:10px}

/* Process */
.process{background:var(--surface);color:var(--ink);border-block:1px solid var(--line)}
.process .section-head p{color:var(--muted)}
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}
.process-step{min-height:176px;padding:20px;border-right:1px solid var(--line)}
.process-step:last-child{border-right:0}
.process-step .num{font-size:.7rem;font-weight:700;color:var(--accent)}
.process-step h3{margin:42px 0 7px;font-size:.95rem}
.process-step p{margin:0;color:var(--muted);font-size:.79rem;line-height:1.55}

/* About */
.about-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:68px;align-items:center}
.about-grid h2{margin:0;font-size:clamp(1.9rem,4vw,3.3rem);line-height:1.12;letter-spacing:-.04em}
.about-copy p{margin:0 0 15px;color:var(--muted);font-size:.9rem}
.about-copy .lead{color:var(--ink);font-size:1.05rem;line-height:1.65}

/* CTA */
.cta{padding:72px 0}
.cta-box{
  padding:34px 32px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:36px;align-items:center;
  border:1px solid #9fd6de;border-radius:var(--radius);background:var(--accent-soft);
}
.cta-box h2{max-width:760px;margin:0;font-size:clamp(1.65rem,3.6vw,2.7rem);line-height:1.14;letter-spacing:-.035em}
.cta-box p{max-width:580px;margin:9px 0 0;color:#475467;font-size:.88rem}
.cta-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}

/* Footer */
footer{padding:34px 0;background:#fff;border-top:1px solid var(--line);color:var(--ink)}
.footer-grid{display:flex;align-items:center;justify-content:space-between;gap:22px}
footer p{margin:0;color:var(--muted);font-size:.75rem}
.footer-links{display:flex;gap:18px;font-size:.75rem;font-weight:600;color:#475467}
.footer-links a:hover{color:var(--ink)}

/* Projects page */
.page-hero{padding:62px 0 36px;border-bottom:1px solid var(--line)}
.page-hero h1{max-width:820px;margin:0 0 13px;font-size:clamp(2.4rem,5.8vw,4.7rem);line-height:1.05;letter-spacing:-.05em}
.page-hero p{max-width:700px;margin:0;color:var(--muted);font-size:.98rem}
.filter-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}
.filter-chip{border:1px solid var(--line);background:#fff;padding:7px 11px;border-radius:8px;cursor:pointer;font-size:.75rem;font-weight:600;color:#667085}
.filter-chip.active,.filter-chip:hover{background:var(--dark);border-color:var(--dark);color:#fff}
.project-card.is-hidden{display:none}

/* Detail pages */
.project-hero{padding:48px 0 0}
.project-breadcrumb{margin-bottom:26px;font-size:.75rem;color:var(--muted)}
.project-breadcrumb a:hover{color:var(--ink)}
.project-title-row{display:block}
.project-title-row h1{max-width:none;margin:0;font-size:clamp(2.7rem,6.5vw,5.5rem);line-height:1.02;letter-spacing:-.055em}
.project-title-row .summary{margin:0 0 3px;color:var(--muted);font-size:.95rem;line-height:1.7}
.project-cover{
  min-height:390px;margin:34px 0 0;padding:26px;display:flex;align-items:flex-end;
  border-radius:var(--radius);overflow:hidden;position:relative;color:#fff;
  background:linear-gradient(145deg,#131116 0%,#3b2230 54%,#e79ab8 135%);
}
.project-cover.green{background:linear-gradient(145deg,#11130f 0%,#30351c 58%,#a7b86a 140%)}
.project-cover.teal{background:linear-gradient(145deg,#11131a 0%,#26375a 58%,#9eb8f0 140%)}
.project-cover.independent{background:linear-gradient(145deg,#0c1114 0%,#123845 58%,#0089a1 145%)}
.project-cover::after{content:"";position:absolute;width:250px;height:250px;border:1px solid rgba(255,255,255,.12);border-radius:46px;right:-70px;top:-70px;transform:rotate(22deg)}
.project-cover .placeholder{position:relative;z-index:1}
.project-cover .placeholder span{display:block;margin-bottom:5px;font-size:.65rem;letter-spacing:.04em;text-transform:none;opacity:.75}
.project-cover .placeholder strong{font-size:1.55rem;font-weight:600;letter-spacing:-.025em}
.project-info{display:grid;grid-template-columns:260px minmax(0,1fr);gap:70px;padding:62px 0;border-bottom:1px solid var(--line)}
.project-facts{display:grid;align-content:start;gap:20px}
.fact span{display:block;margin-bottom:5px;color:#98a2b3;font-size:.64rem;letter-spacing:.035em;text-transform:none;font-weight:700}
.fact strong{font-size:.82rem;font-weight:600}
.project-story{max-width:720px}
.project-story h2{margin:0 0 20px;font-size:clamp(1.75rem,3.6vw,2.8rem);line-height:1.14;letter-spacing:-.035em}
.project-story p{margin:0 0 14px;color:var(--muted);font-size:.9rem;line-height:1.75}
.placeholder-note{margin-top:24px;padding:16px;border:1px dashed #cbd5e1;border-radius:12px;background:var(--surface);color:var(--muted);font-size:.8rem}
.gallery{display:grid;grid-template-columns:1.15fr .85fr;gap:12px;padding-top:22px}
.gallery-cell{min-height:220px;border:1px dashed #cbd5e1;border-radius:12px;background:var(--surface);display:grid;place-items:center;text-align:center;color:#98a2b3;padding:20px;font-size:.75rem}
.gallery-cell.tall{grid-row:span 2;min-height:452px}
.next-project{padding:50px 0 76px}
.next-project a{display:flex;align-items:end;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:20px}
.next-project small{color:#98a2b3;font-size:.7rem}
.next-project strong{font-size:1.45rem;letter-spacing:-.025em}
.next-project .arrow{font-size:1.4rem;color:var(--accent)}

.skip-link{position:absolute;left:12px;top:-60px;background:#fff;padding:8px 12px;border:1px solid var(--line);border-radius:8px;z-index:100;font-weight:700;font-size:.8rem}
.skip-link:focus{top:12px}
a:focus-visible,button:focus-visible{outline:3px solid #93c5fd;outline-offset:3px}

@media (max-width: 900px){
  .hero-grid,.project-title-row,.about-grid,.project-info{grid-template-columns:1fr}
  .hero-grid{gap:26px}
  .section-head{grid-template-columns:1fr;gap:12px}
  .expertise-grid{grid-template-columns:repeat(2,1fr)}
  .process-grid{grid-template-columns:repeat(2,1fr)}
  .process-step:nth-child(2){border-right:0}
  .process-step:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .project-title-row{gap:18px}
  .project-info{gap:36px}
  .cta-box{grid-template-columns:1fr}
  .cta-actions{justify-content:flex-start}
}

@media (max-width: 720px){
  .container{width:min(calc(100% - 28px),var(--max))}
  .section{padding:58px 0}
  .nav{height:58px}
  .menu-button{display:flex}
  .nav-links{position:fixed;inset:58px 0 auto 0;display:none;flex-direction:column;align-items:flex-start;gap:0;margin:0;padding:8px 14px 16px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 14px 30px rgba(15,23,42,.06)}
  .nav-links a{width:100%;padding:12px 4px;border-bottom:1px solid var(--line);font-size:.85rem}
  .nav-links a:last-child{border-bottom:0}
  .menu-open .nav-links{display:flex}
  .hero{padding:58px 0 40px}
  .hero h1{font-size:clamp(2.35rem,12vw,3.85rem)}
  .hero-copy p{font-size:.92rem}
  .hero-panel{margin-top:32px;padding:16px}
  .stats-grid{grid-template-columns:1fr}
  .stat{border-right:0;border-bottom:1px solid var(--line)}
  .stat:last-child{border-bottom:0}
  .expertise-grid,.project-list{grid-template-columns:1fr}
  .project-visual{min-height:185px}
  .process-grid{grid-template-columns:1fr}
  .process-step{border-right:0!important;border-bottom:1px solid var(--line)!important;min-height:150px}
  .process-step:last-child{border-bottom:0!important}
  .process-step h3{margin-top:32px}
  .about-grid{gap:28px}
  .cta{padding-bottom:58px}
  .cta-box{padding:24px 20px}
  .footer-grid{align-items:flex-start;flex-direction:column}
  .page-hero{padding:46px 0 30px}
  .project-hero{padding-top:36px}
  .project-cover{min-height:260px;margin-top:26px;padding:20px}
  .project-info{padding:46px 0}
  .gallery{grid-template-columns:1fr}
  .gallery-cell.tall{grid-row:auto;min-height:300px}
}

.section-title-stack{display:flex;flex-direction:column;align-items:flex-start}
.section-subtitle{margin:8px 0 0;color:#344054;font-size:.94rem;font-weight:600;line-height:1.5}
.card-descriptor{margin:-2px 0 16px!important;color:#344054!important;font-size:.8rem!important;font-weight:600;line-height:1.45!important}
.project-detail-section{padding-top:26px;margin-top:26px;border-top:1px solid var(--line)}
.project-detail-section:first-of-type{padding-top:0;margin-top:0;border-top:0}
.project-detail-section h3{margin:0 0 11px;font-size:.94rem;letter-spacing:-.015em}
.project-detail-section p{margin:0 0 13px;color:var(--muted);font-size:.9rem;line-height:1.75}
.key-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;margin:0;padding:0;list-style:none}
.key-list li{position:relative;padding-left:16px;color:#475467;font-size:.84rem;line-height:1.55}
.key-list li::before{content:"";position:absolute;left:0;top:.7em;width:5px;height:5px;border-radius:50%;background:var(--accent)}
.tools-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:4px}
.tool-pill{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid #8fb9c1;border-radius:8px;background:#eef8fa;color:#084c59;font-size:.75rem;font-weight:600}
.project-cover .cover-copy{position:relative;z-index:1;max-width:620px}
.project-cover .cover-copy span{display:block;margin-bottom:6px;font-size:.65rem;letter-spacing:.04em;text-transform:none;opacity:.75}
.project-cover .cover-copy strong{display:block;font-size:1.55rem;font-weight:600;letter-spacing:-.025em}
.project-cover .cover-copy p{margin:7px 0 0;color:rgba(255,255,255,.78);font-size:.8rem;line-height:1.55}
.subproject-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.subproject-card{padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.subproject-card h4{margin:0 0 8px;font-size:.9rem;letter-spacing:-.015em}
.subproject-card p{margin:0 0 12px!important;font-size:.8rem!important;line-height:1.6!important}
.subproject-card .tag-list{gap:5px}
.subproject-card .tag{background:#fff;font-size:.68rem}
.role-emphasis{color:var(--ink)!important;font-weight:500}
@media (max-width:900px){
  .subproject-grid{grid-template-columns:1fr}
}
@media (max-width:720px){
  .key-list{grid-template-columns:1fr}
  .section-subtitle{font-size:.88rem}
}

.brand-logo{display:inline-flex;align-items:center}
.brand-logo img{display:block;height:32px;width:auto;max-width:190px}
.section-title-stack h2{white-space:nowrap}
.project-facts .tag{background:#e6f6f8;color:#084c59;border-color:#8fb9c1}
@media (max-width:720px){
  .brand-logo img{height:28px;max-width:160px}
}

.project-cover.graphic-design{background:linear-gradient(145deg,#151217 0%,#3b283f 58%,#d6a3cf 145%)}
.subproject-cta{display:inline-flex;align-items:center;gap:7px;margin-top:14px;color:var(--accent);font-size:.76rem;font-weight:700}
.subproject-cta:hover{gap:10px}

.live-site-fact{padding-top:2px}
.live-site-button{
  width:100%;
  min-height:40px;
  padding:0 13px;
  justify-content:space-between;
  border-color:var(--accent);
  background:var(--accent);
  color:#fff;
  font-size:.75rem;
}
.live-site-button:hover{
  background:#00798e;
  border-color:#00798e;
}

.about-copy{max-width:700px}

.section-head > div{max-width:none}



/* V7 spacing balance */
#about.section{
  padding-top:72px;
  padding-bottom:72px;
}
#contact.cta{
  padding-top:72px;
  padding-bottom:72px;
}
@media (max-width:900px){
  .about-grid{
    gap:38px;
    align-items:start;
  }
}
@media (max-width:720px){
  #about.section{
    padding-top:56px;
    padding-bottom:56px;
  }
  #contact.cta{
    padding-top:56px;
    padding-bottom:56px;
  }
  .cta-box{
    gap:24px;
  }
}


/* V9 — Project Case-Study Gallery */
.project-gallery-section{margin-top:34px}
.project-gallery-section > h2{margin-bottom:26px}
.gallery-group{margin-top:30px}
.gallery-group + .gallery-group{margin-top:42px}
.gallery-group-head{display:grid;grid-template-columns:.42fr .58fr;gap:26px;align-items:start;margin-bottom:15px}
.gallery-group-head h3{margin:0;font-size:.98rem}
.gallery-group-head p{margin:0!important;max-width:620px;font-size:.82rem!important;line-height:1.65!important}
.case-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.case-shot{margin:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.case-shot-wide{grid-column:1 / -1}
.case-shot img{display:block;width:100%;height:auto;background:#f8f8f7}
.case-shot figcaption{padding:10px 12px;border-top:1px solid var(--line);color:#475467;font-size:.72rem;font-weight:600}
.case-gallery-ops .case-shot:not(.case-shot-wide) img{aspect-ratio:16/9;object-fit:cover;object-position:top}
@media (max-width:760px){
  .gallery-group-head{grid-template-columns:1fr;gap:7px}
  .case-gallery{grid-template-columns:1fr}
  .case-shot-wide{grid-column:auto}
}


/* V10 — Green Beauty Labs Gallery */
.case-gallery-gbl .case-shot img{
  width:100%;
  height:auto;
  object-fit:cover;
  object-position:top;
}


/* V11 — Prime Hub Solutions Gallery */
.case-gallery-prime .case-shot img{
  width:100%;
  height:auto;
  object-fit:cover;
  object-position:top;
}


/* V12 — Independent Graphic Design Gallery */
.gallery-intro{
  max-width:760px;
  margin:0 0 30px!important;
  color:var(--muted);
  font-size:.84rem!important;
  line-height:1.7!important;
}
.design-gallery-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.design-shot{
  margin:0;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}
.design-shot img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.design-shot figcaption{
  padding:10px 12px;
  border-top:1px solid var(--line);
  color:#475467;
  background:#fff;
  font-size:.72rem;
  font-weight:600;
}
.design-shot-square img{aspect-ratio:1/1}
.design-shot-landscape img{aspect-ratio:16/10}
.design-shot-portrait img{aspect-ratio:4/5}
.design-gallery-mixed{grid-template-columns:repeat(2,minmax(0,1fr))}
.design-shot-span{grid-column:1 / -1}
.design-shot-span img{aspect-ratio:16/9}

@media (max-width:760px){
  .design-gallery-grid,
  .design-gallery-mixed{
    grid-template-columns:1fr;
  }
  .design-shot-span{grid-column:auto}
  .design-shot-landscape img,
  .design-shot-span img{
    aspect-ratio:auto;
    height:auto;
  }
}


/* V13 — Project Banner Logo Sizing */
.project-brand-logo{
  position:absolute;
  top:28px;
  right:28px;
  z-index:2;
  display:block;
  width:auto;
  height:auto;
  object-fit:contain;
  object-position:right top;
  filter:none;
}

/* The Beaute Loft — larger white logo */
.logo-tbl{
  width:min(32vw,320px);
  max-height:110px;
}

/* Green Beauty Labs — widest logo treatment */
.logo-gbl{
  width:min(38vw,380px);
  max-height:118px;
}

/* Prime Hub — keep current overall scale, swap to white logo */
.logo-prime{
  width:min(20vw,190px);
  max-height:92px;
}

/* KEON — unchanged */
.logo-keon{
  max-width:142px;
  max-height:58px;
}

.project-cover .cover-copy{
  max-width:calc(100% - 430px);
}

@media (max-width:900px){
  .logo-tbl{width:min(36vw,270px);max-height:92px}
  .logo-gbl{width:min(42vw,320px);max-height:100px}
  .logo-prime{width:min(24vw,165px);max-height:82px}
  .project-cover .cover-copy{max-width:calc(100% - 340px)}
}

@media (max-width:720px){
  .project-brand-logo{
    top:20px;
    right:20px;
  }
  .logo-tbl{width:min(42vw,210px);max-height:76px}
  .logo-gbl{width:min(48vw,245px);max-height:82px}
  .logo-prime{width:min(28vw,138px);max-height:70px}
  .logo-keon{max-width:112px;max-height:46px}
  .project-cover .cover-copy{max-width:calc(100% - 250px)}
}

@media (max-width:520px){
  .project-brand-logo{
    top:18px;
    right:18px;
  }
  .logo-tbl{width:min(50vw,170px);max-height:64px}
  .logo-gbl{width:min(54vw,195px);max-height:68px}
  .logo-prime{width:min(34vw,116px);max-height:58px}
  .logo-keon{max-width:96px;max-height:40px}
  .project-cover .cover-copy{
    max-width:100%;
    padding-top:86px;
  }
}


/* V14 — Featured Project Card Refinements */
.project-card{
  box-shadow:0 8px 24px rgba(17,24,39,.08);
}
.project-card:hover{
  box-shadow:0 18px 42px rgba(17,24,39,.14);
}

/* Homepage Featured Projects — Project Logos */
.project-visual{
  position:relative;
  overflow:hidden;
}
.featured-project-logo{
  position:absolute;
  top:18px;
  right:18px;
  z-index:3;
  display:block;
  width:auto;
  height:auto;
  object-fit:contain;
  object-position:right top;
  pointer-events:none;
}
.featured-logo-tbl{
  max-width:132px;
  max-height:68px;
}
.featured-logo-gbl{
  max-width:172px;
  max-height:66px;
}
.featured-logo-prime{
  max-width:112px;
  max-height:76px;
}
.featured-logo-keon{
  max-width:120px;
  max-height:54px;
}
.project-visual .visual-label{
  position:relative;
  z-index:2;
  max-width:calc(100% - 160px);
}
.project-visual.v2 .visual-label{
  max-width:calc(100% - 200px);
}

@media (max-width:720px){
  .featured-project-logo{
    top:14px;
    right:14px;
  }
  .featured-logo-tbl{max-width:110px;max-height:58px}
  .featured-logo-gbl{max-width:142px;max-height:56px}
  .featured-logo-prime{max-width:92px;max-height:64px}
  .featured-logo-keon{max-width:100px;max-height:46px}
  .project-visual .visual-label,
  .project-visual.v2 .visual-label{
    max-width:calc(100% - 128px);
  }
}

@media (max-width:480px){
  .featured-logo-tbl{max-width:94px;max-height:48px}
  .featured-logo-gbl{max-width:118px;max-height:48px}
  .featured-logo-prime{max-width:80px;max-height:56px}
  .featured-logo-keon{max-width:88px;max-height:40px}
  .project-visual .visual-label,
  .project-visual.v2 .visual-label{
    max-width:calc(100% - 106px);
  }
}


/* V15 — Clickable Project Image Lightbox */
.zoomable-project-image{
  cursor:zoom-in;
  transition:opacity .18s ease, transform .18s ease;
}
.zoomable-project-image:hover{
  opacity:.94;
}
.zoomable-project-image:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:-3px;
}

.case-shot,
.design-shot{
  position:relative;
}
.case-shot::after,
.design-shot::after{
  content:"View Full Size ↗";
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
  padding:6px 9px;
  border-radius:999px;
  background:rgba(15,23,42,.78);
  color:#fff;
  font-size:.64rem;
  font-weight:700;
  line-height:1;
  opacity:0;
  transform:translateY(-3px);
  transition:opacity .18s ease, transform .18s ease;
  pointer-events:none;
  backdrop-filter:blur(8px);
}
.case-shot:hover::after,
.design-shot:hover::after{
  opacity:1;
  transform:translateY(0);
}

body.lightbox-open{
  overflow:hidden;
}

.image-lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  padding:24px;
}
.image-lightbox.is-open{
  display:grid;
  place-items:center;
}
.image-lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(4,8,12,.9);
  backdrop-filter:blur(8px);
}
.image-lightbox-dialog{
  position:relative;
  z-index:1;
  width:min(96vw,1600px);
  max-height:94vh;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.15);
  border-radius:16px;
  background:#0b0f14;
  box-shadow:0 28px 90px rgba(0,0,0,.5);
}
.image-lightbox-stage{
  display:grid;
  place-items:center;
  min-height:0;
  padding:18px;
  overflow:auto;
  background:#080b0f;
}
.image-lightbox-image{
  display:block;
  max-width:100%;
  max-height:calc(94vh - 104px);
  width:auto;
  height:auto;
  object-fit:contain;
  object-position:center;
  background:transparent;
}
.image-lightbox-close{
  position:absolute;
  top:12px;
  right:12px;
  z-index:3;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  background:rgba(0,0,0,.64);
  color:#fff;
  font-size:1.55rem;
  line-height:1;
  cursor:pointer;
}
.image-lightbox-close:hover{
  background:rgba(0,0,0,.9);
}
.image-lightbox-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 18px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#fff;
  background:#11161d;
}
.image-lightbox-meta > div{
  min-width:0;
}
.image-lightbox-title{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.82rem;
}
.image-lightbox-size{
  display:block;
  margin-top:3px;
  color:#aeb7c2;
  font-size:.7rem;
}
.image-lightbox-link{
  flex:none;
  color:#8ed9e7;
  font-size:.76rem;
  font-weight:700;
}
.image-lightbox-link:hover{
  color:#fff;
}

@media (max-width:720px){
  .image-lightbox{
    padding:10px;
  }
  .image-lightbox-dialog{
    width:98vw;
    max-height:96vh;
    border-radius:12px;
  }
  .image-lightbox-stage{
    padding:10px;
  }
  .image-lightbox-image{
    max-height:calc(96vh - 118px);
  }
  .image-lightbox-meta{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
    padding:12px 14px;
  }
  .case-shot::after,
  .design-shot::after{
    opacity:1;
    transform:none;
    top:8px;
    right:8px;
    font-size:.6rem;
  }
}


/* V16 — Social / Connect Footer */
footer{
  padding:34px 0;
}

.footer-social-layout{
  display:grid;
  grid-template-columns:minmax(220px,1fr) auto auto;
  align-items:center;
  gap:44px;
}

.footer-brand-copy p{
  margin:0;
  color:#a8aba2;
  font-size:.8rem;
}

.footer-network-groups{
  display:flex;
  align-items:flex-start;
  gap:34px;
}

.footer-network-group{
  display:grid;
  gap:10px;
}

.footer-network-title{
  color:#d9ddd4;
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.06em;
}

.footer-icon-links{
  display:flex;
  align-items:center;
  gap:8px;
}

.footer-social-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.18);
  border-radius:50%;
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size:.98rem;
  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease,
    color .18s ease;
}

.footer-social-icon:hover{
  transform:translateY(-2px);
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}

.footer-social-icon:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:3px;
}

.footer-back-to-top{
  justify-self:end;
  color:#fff;
  font-size:.8rem;
  font-weight:600;
  white-space:nowrap;
}

.footer-back-to-top:hover{
  color:#8ed9e7;
}

/* Retire the old footer-link row if any legacy markup survives. */
.footer-links{
  display:none!important;
}

@media (max-width:860px){
  .footer-social-layout{
    grid-template-columns:1fr auto;
    gap:28px 34px;
  }

  .footer-network-groups{
    grid-column:1 / -1;
    grid-row:2;
  }

  .footer-back-to-top{
    grid-column:2;
    grid-row:1;
  }
}

@media (max-width:560px){
  footer{
    padding:30px 0;
  }

  .footer-social-layout{
    grid-template-columns:1fr;
    align-items:start;
    gap:24px;
  }

  .footer-brand-copy,
  .footer-network-groups,
  .footer-back-to-top{
    grid-column:auto;
    grid-row:auto;
  }

  .footer-network-groups{
    width:100%;
    justify-content:space-between;
    gap:22px;
  }

  .footer-back-to-top{
    justify-self:start;
  }

  .footer-social-icon{
    width:40px;
    height:40px;
  }
}


/* V17 — Matte Charcoal Accent System */
:root{
  --charcoal:#1b2026;
  --charcoal-2:#232a31;
  --charcoal-3:#303842;
  --charcoal-text:#f5f7f8;
  --charcoal-muted:#b7c0c9;
  --charcoal-line:rgba(255,255,255,.11);
}

/* Shared dark surface behavior */
.dark-surface,
.tools-accent,
.project-facts,
.gallery-group-head,
.next-project a{
  background:var(--charcoal);
  color:var(--charcoal-text);
}

/* Homepage — compact dark accents without turning the site into dark mode */
.hero-panel{
  background:var(--charcoal);
  border-color:var(--charcoal);
  color:var(--charcoal-text);
  box-shadow:0 14px 34px rgba(17,24,39,.12);
}
.hero-panel strong{color:var(--charcoal-text)}
.hero-panel p{color:var(--charcoal-muted)}

#about .about-grid{
  padding:38px 40px;
  border:1px solid #2a3138;
  border-radius:var(--radius);
  background:var(--charcoal);
  box-shadow:0 16px 40px rgba(17,24,39,.11);
}
#about .about-grid h2,
#about .about-copy .lead{
  color:var(--charcoal-text);
}
#about .about-copy p{
  color:var(--charcoal-muted);
}
#about .eyebrow{
  color:#58bfd1;
}

.expertise-card{
  background:var(--charcoal);
  border-color:#2a3138;
  box-shadow:0 8px 22px rgba(17,24,39,.08);
}
.expertise-card:nth-child(even){
  background:var(--charcoal-2);
}
.expertise-card .num{
  color:#5ec4d5;
}
.expertise-card h3{
  color:var(--charcoal-text);
}
.expertise-card p{
  color:var(--charcoal-muted);
}
.expertise-card:hover{
  border-color:rgba(0,137,161,.55);
  box-shadow:0 16px 34px rgba(17,24,39,.16);
}

.process-grid{
  border-color:#2a3138;
  background:var(--charcoal);
  box-shadow:0 10px 28px rgba(17,24,39,.08);
}
.process-step{
  background:transparent;
  border-color:var(--charcoal-line);
}
.process-step .num{
  color:#5ec4d5;
}
.process-step h3{
  color:var(--charcoal-text);
}
.process-step p{
  color:var(--charcoal-muted);
}

.cta-box{
  background:var(--charcoal);
  border-color:#303942;
  box-shadow:0 18px 42px rgba(17,24,39,.14);
}
.cta-box h2{
  color:var(--charcoal-text);
}
.cta-box p{
  color:var(--charcoal-muted);
}
.cta-box .button:not(.accent){
  border-color:rgba(255,255,255,.2);
  background:rgba(255,255,255,.05);
  color:#fff;
}
.cta-box .button:not(.accent):hover{
  border-color:rgba(255,255,255,.38);
  background:rgba(255,255,255,.1);
}

/* Projects archive — give the top of the page a stronger visual anchor */
.page-hero{
  background:var(--charcoal);
  border-bottom-color:var(--charcoal);
  color:var(--charcoal-text);
}
.page-hero h1{
  color:var(--charcoal-text);
}
.page-hero p{
  color:var(--charcoal-muted);
}
.page-hero .eyebrow{
  color:#58bfd1;
}
.page-hero .filter-chip{
  border-color:var(--charcoal-line);
  background:var(--charcoal-2);
  color:#d7dde3;
}
.page-hero .filter-chip:hover,
.page-hero .filter-chip.active{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}

/* Project/detail pages — dark sidebar for project facts */
.project-facts{
  padding:22px;
  border:1px solid #2a3138;
  border-radius:14px;
  box-shadow:0 12px 30px rgba(17,24,39,.1);
}
.project-facts .fact + .fact{
  padding-top:16px;
  border-top:1px solid var(--charcoal-line);
}
.project-facts .fact span{
  color:#9faab5;
}
.project-facts .fact strong{
  color:var(--charcoal-text);
}
.project-facts .tag{
  border-color:rgba(88,191,209,.28);
  background:rgba(0,137,161,.18);
  color:#dff8fc;
}
.project-facts .live-site-button{
  box-shadow:none;
}

/* Tools become a matte dark card instead of another white text block */
.tools-accent{
  padding:20px 22px;
  border:1px solid #2a3138!important;
  border-radius:14px;
  box-shadow:0 10px 26px rgba(17,24,39,.08);
}
.tools-accent h3{
  color:var(--charcoal-text);
}
.tools-accent .tool-pill{
  border-color:rgba(255,255,255,.12);
  background:var(--charcoal-2);
  color:#e8edf1;
}
.tools-accent .tool-pill:hover{
  border-color:rgba(88,191,209,.5);
}

/* Gallery section headers create dark visual breaks between image groups */
.gallery-group-head{
  padding:16px 18px;
  border:1px solid #2a3138;
  border-radius:12px;
}
.gallery-group-head h3{
  color:var(--charcoal-text);
}
.gallery-group-head p{
  color:var(--charcoal-muted)!important;
}

/* Independent project mini-cards stay light, but gain a charcoal edge/accent */
.subproject-card{
  border-color:#d7dce1;
  box-shadow:0 7px 18px rgba(17,24,39,.05);
}
.subproject-card::before{
  content:"";
  display:block;
  width:34px;
  height:3px;
  margin-bottom:14px;
  border-radius:999px;
  background:var(--charcoal);
}

/* Dark next-project card on every detail page */
.next-project a{
  padding:20px 22px;
  border:1px solid #2a3138;
  border-radius:14px;
  box-shadow:0 12px 30px rgba(17,24,39,.1);
}
.next-project a:hover{
  border-color:rgba(0,137,161,.6);
  transform:translateY(-1px);
}
.next-project small{
  color:#9faab5;
}
.next-project strong{
  color:var(--charcoal-text);
}

/* Footer now intentionally completes the dark accent system */
footer{
  background:#15191e;
  border-top-color:#262c33;
  color:#fff;
}
.footer-brand-copy p{
  color:#aeb7c0;
}
.footer-network-title{
  color:#eef2f4;
}
.footer-back-to-top{
  color:#fff;
}

/* Responsive balance */
@media (max-width:900px){
  #about .about-grid{
    padding:32px;
  }
}

@media (max-width:720px){
  #about .about-grid{
    padding:26px 24px;
  }

  .project-facts,
  .tools-accent{
    padding:18px;
  }

  .gallery-group-head{
    padding:14px 15px;
  }

  .next-project a{
    padding:18px;
  }
}


/* V18 — CTA / Résumé / Process Adjustments */

/* Keep Email Me in the portfolio's blue-green accent */
.cta-box .cta-email-button{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}
.cta-box .cta-email-button:hover{
  background:#00798e;
  border-color:#00798e;
  color:#fff;
}

/* WhatsApp remains the secondary action */
.cta-box .cta-whatsapp-button{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border-color:rgba(255,255,255,.24);
  background:rgba(255,255,255,.06);
  color:#fff;
}
.cta-box .cta-whatsapp-button:hover{
  border-color:rgba(255,255,255,.42);
  background:rgba(255,255,255,.11);
  color:#fff;
}

/* Small spacing for icon inside Download Resumé button */
.hero-actions .fa-arrow-down{
  margin-left:4px;
  font-size:.78rem;
}

/* Revert My Process cards 01–04 to the light style */
.process-grid{
  border-color:var(--line);
  background:#fff;
  box-shadow:0 8px 22px rgba(17,24,39,.05);
}
.process-step{
  background:#fff;
  border-color:var(--line);
}
.process-step .num{
  color:var(--accent);
}
.process-step h3{
  color:var(--ink);
}
.process-step p{
  color:var(--muted);
}


/* V19 — Equal Hero Button Widths */
.hero-actions .button{
  width:182px;
  min-width:182px;
  justify-content:center;
  text-align:center;
}

@media (max-width:520px){
  .hero-actions .button{
    width:100%;
    min-width:0;
  }
}


/* V20 — Glass Navbar */
.site-header{
  background:rgba(255,255,255,.72);
  -webkit-backdrop-filter:blur(16px) saturate(145%);
  backdrop-filter:blur(16px) saturate(145%);
  border-bottom:1px solid rgba(17,24,39,.08);
  box-shadow:0 8px 24px rgba(17,24,39,.06);
}

.site-header .nav{
  background:transparent;
}

.site-header .brand,
.site-header .nav-links a{
  position:relative;
  z-index:1;
}

.site-header .nav-links a{
  color:#1f2933;
}

.site-header .nav-links a:hover,
.site-header .nav-links a[aria-current="page"]{
  color:var(--accent);
}

.site-header .menu-button{
  background:rgba(255,255,255,.5);
  border-color:rgba(17,24,39,.1);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}

@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .site-header{
    background:rgba(255,255,255,.94);
  }
}

@media (max-width:720px){
  .site-header{
    background:rgba(255,255,255,.82);
    -webkit-backdrop-filter:blur(14px) saturate(135%);
    backdrop-filter:blur(14px) saturate(135%);
  }

  .nav-links{
    background:rgba(255,255,255,.9);
    -webkit-backdrop-filter:blur(16px);
    backdrop-filter:blur(16px);
    border:1px solid rgba(17,24,39,.08);
    box-shadow:0 18px 36px rgba(17,24,39,.1);
  }
}


/* V21 — Smooth Minimal Motion */
html{
  scroll-behavior:smooth;
  scroll-padding-top:82px;
}

/* Soft page-load entrance on every page */
@keyframes pageIntro{
  from{
    opacity:.01;
    transform:translateY(6px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes navIntro{
  from{
    opacity:0;
    transform:translateY(-8px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

body.motion-enabled main{
  animation:pageIntro .52s cubic-bezier(.22,.72,.22,1) both;
}

body.motion-enabled .site-header{
  animation:navIntro .48s cubic-bezier(.22,.72,.22,1) both;
}

/* Gentle scroll reveal — deliberately small movement */
body.motion-enabled .scroll-reveal{
  opacity:0;
  transform:translate3d(0,14px,0);
  transition:
    opacity .62s cubic-bezier(.22,.72,.22,1) var(--reveal-delay,0ms),
    transform .62s cubic-bezier(.22,.72,.22,1) var(--reveal-delay,0ms);
  will-change:opacity,transform;
}

body.motion-enabled .scroll-reveal.is-visible{
  opacity:1;
  transform:translate3d(0,0,0);
}

/* Images feel slightly more polished when their card enters */
body.motion-enabled .case-shot.scroll-reveal img,
body.motion-enabled .design-shot.scroll-reveal img{
  transform:scale(1.008);
  transition:transform .8s cubic-bezier(.22,.72,.22,1);
}

body.motion-enabled .case-shot.scroll-reveal.is-visible img,
body.motion-enabled .design-shot.scroll-reveal.is-visible img{
  transform:scale(1);
}

/* Preserve hover motion without making the page feel busy */
body.motion-enabled .project-card,
body.motion-enabled .expertise-card,
body.motion-enabled .subproject-card{
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease,
    opacity .62s cubic-bezier(.22,.72,.22,1) var(--reveal-delay,0ms);
}

/* Accessibility: no motion for users who request reduced motion */
@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior:auto;
  }

  *,
  *::before,
  *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }

  .scroll-reveal{
    opacity:1!important;
    transform:none!important;
  }
}


/* V22 — KEON Animated Preloader */
:root{
  --keon-neon:#9eff1f;
  --keon-loader-bg:#15191e;
}

.keon-preloader{
  position:fixed;
  inset:0;
  z-index:12000;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(0,137,161,.08), transparent 34%),
    var(--keon-loader-bg);
  opacity:1;
  visibility:visible;
  transition:
    opacity .42s cubic-bezier(.22,.72,.22,1),
    visibility .42s step-end;
}

.skip-keon-intro .keon-preloader{
  display:none!important;
}

.keon-preloader.is-leaving{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.keon-preloader-inner{
  width:min(66vw,720px);
  padding:28px;
}

.keon-loader-mark{
  position:relative;
  width:100%;
  aspect-ratio:1942 / 460;
  margin:auto;
  filter:drop-shadow(0 10px 30px rgba(0,0,0,.22));
}

.keon-piece{
  position:absolute;
  display:block;
  width:auto;
  height:auto;
  opacity:0;
  filter:blur(8px);
  will-change:transform,opacity,filter;
}

.keon-piece-k{
  left:.05%;
  top:0;
  width:12.56%;
  animation:keonKIn .58s cubic-bezier(.2,.82,.2,1) 1.38s forwards;
}

.keon-piece-e{
  left:16.63%;
  top:.43%;
  width:32.29%;
  animation:keonEIn .62s cubic-bezier(.2,.82,.2,1) 1.62s forwards;
}

.keon-piece-braces{
  left:49.64%;
  top:1.3%;
  width:33.15%;
  animation:keonBracesIn .68s cubic-bezier(.16,.86,.22,1) 1.92s forwards;
}

.keon-piece-n{
  left:86.72%;
  top:0;
  width:13.28%;
  animation:keonNIn .6s cubic-bezier(.2,.82,.2,1) 2.22s forwards;
}

.keon-neon-dot{
  position:absolute;
  left:63.86%;
  top:40.44%;
  width:4.69%;
  aspect-ratio:1;
  border-radius:50%;
  background:var(--keon-neon);
  opacity:0;
  box-shadow:
    0 0 10px rgba(158,255,31,.85),
    0 0 28px rgba(158,255,31,.48),
    0 0 58px rgba(158,255,31,.22);
  transform-origin:center;
  will-change:transform,opacity,filter;
  animation:
    keonDotJourney 1.72s cubic-bezier(.18,.72,.2,1) .08s forwards,
    keonDotSettle .72s cubic-bezier(.22,.72,.22,1) 2.72s forwards;
}

.keon-loader-mark::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:50%;
  height:150%;
  transform:translate(-50%,-50%) scale(.7);
  border-radius:50%;
  background:radial-gradient(circle, rgba(158,255,31,.08), transparent 65%);
  opacity:0;
  pointer-events:none;
  animation:keonFinalGlow .72s ease 2.72s forwards;
}

@keyframes keonDotJourney{
  0%{
    opacity:0;
    transform:translate(-520%,-320%) scale(.16);
    filter:blur(4px);
  }
  14%{
    opacity:1;
    transform:translate(-360%,-180%) scale(.52);
    filter:blur(1px);
  }
  33%{
    transform:translate(-120%,-270%) scale(.78);
  }
  52%{
    transform:translate(145%,-96%) scale(.94);
  }
  70%{
    transform:translate(84%,118%) scale(.82);
  }
  86%{
    transform:translate(-55%,58%) scale(1.08);
  }
  100%{
    opacity:1;
    transform:translate(0,0) scale(1);
    filter:blur(0);
  }
}

@keyframes keonDotSettle{
  0%{
    transform:scale(1);
  }
  46%{
    transform:scale(1.18);
    box-shadow:
      0 0 14px rgba(158,255,31,.96),
      0 0 38px rgba(158,255,31,.56),
      0 0 78px rgba(158,255,31,.28);
  }
  100%{
    transform:scale(1);
  }
}

@keyframes keonKIn{
  0%{opacity:0;transform:translateX(-22px) scale(.965);filter:blur(8px)}
  100%{opacity:1;transform:none;filter:blur(0)}
}

@keyframes keonEIn{
  0%{opacity:0;transform:translateY(14px) scale(.985);filter:blur(8px)}
  100%{opacity:1;transform:none;filter:blur(0)}
}

@keyframes keonBracesIn{
  0%{opacity:0;transform:scale(1.09);filter:blur(10px)}
  70%{opacity:1;transform:scale(.992);filter:blur(0)}
  100%{opacity:1;transform:scale(1);filter:blur(0)}
}

@keyframes keonNIn{
  0%{opacity:0;transform:translateX(22px) scale(.965);filter:blur(8px)}
  100%{opacity:1;transform:none;filter:blur(0)}
}

@keyframes keonFinalGlow{
  0%{opacity:0;transform:translate(-50%,-50%) scale(.72)}
  46%{opacity:1}
  100%{opacity:0;transform:translate(-50%,-50%) scale(1.06)}
}

@media (max-width:720px){
  .keon-preloader-inner{
    width:min(90vw,720px);
    padding:18px;
  }
}

@media (prefers-reduced-motion:reduce){
  .keon-preloader{
    display:none!important;
  }
  .keon-piece{
    opacity:1!important;
    filter:none!important;
    animation:none!important;
  }
  .keon-neon-dot{
    opacity:1!important;
    animation:none!important;
  }
}

body.keon-preloader-active{overflow:hidden}


/* V25 — Professional Portrait in About */
#about .about-grid{
  grid-template-columns:minmax(210px,.72fr) minmax(320px,1.18fr) minmax(220px,.72fr);
  gap:34px;
}

.about-photo-card{
  position:relative;
  width:100%;
  max-width:330px;
  margin:0 0 0 auto;
  align-self:center;
}

.about-photo-frame{
  position:relative;
  overflow:hidden;
  aspect-ratio:4 / 5;
  border:1px solid rgba(255,255,255,.13);
  border-radius:15px;
  background:#252b31;
  box-shadow:0 18px 40px rgba(0,0,0,.22);
}

.about-photo-frame::before{
  content:"";
  position:absolute;
  top:14px;
  left:14px;
  z-index:2;
  width:38px;
  height:3px;
  border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 18px rgba(0,137,161,.32);
}

.about-photo-frame img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 48%;
  filter:saturate(.96) contrast(1.01);
  transition:transform .45s cubic-bezier(.22,.72,.22,1);
}

.about-photo-card:hover .about-photo-frame img{
  transform:scale(1.018);
}

.about-photo-card figcaption{
  padding-top:12px;
}

.about-photo-card figcaption strong{
  display:block;
  color:var(--charcoal-text);
  font-size:.82rem;
  font-weight:700;
  letter-spacing:-.01em;
}

.about-photo-card figcaption span{
  display:block;
  margin-top:3px;
  color:var(--charcoal-muted);
  font-size:.68rem;
  line-height:1.45;
}

@media (max-width:1080px) and (min-width:901px){
  #about .about-grid{
    grid-template-columns:minmax(190px,.7fr) minmax(280px,1.12fr) minmax(190px,.65fr);
    gap:26px;
  }

  .about-photo-card{
    max-width:280px;
  }
}

@media (max-width:900px){
  #about .about-grid{
    grid-template-columns:1fr;
  }

  .about-photo-card{
    width:min(100%,360px);
    max-width:360px;
    margin:4px 0 0;
  }
}

@media (max-width:520px){
  .about-photo-card{
    width:100%;
    max-width:100%;
  }

  .about-photo-frame{
    aspect-ratio:4 / 5;
    border-radius:13px;
  }
}

@media (prefers-reduced-motion:reduce){
  .about-photo-frame img{
    transition:none;
  }

  .about-photo-card:hover .about-photo-frame img{
    transform:none;
  }
}






/* V44 — KEON 404 Page */
body.keon-404-page{
  min-height:100vh;
  margin:0;
  background:
    radial-gradient(circle at 50% 42%, rgba(0,137,161,.08), transparent 34%),
    #f7f8f8;
  color:#1b2026;
  overflow-x:hidden;
}

.keon-404-shell{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.keon-404-topbar{
  width:min(1180px, calc(100% - 40px));
  margin:0 auto;
  padding:22px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.keon-404-brand img{
  display:block;
  width:108px;
  height:auto;
}

.keon-404-home-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#1b2026;
  text-decoration:none;
  font-size:.92rem;
  font-weight:650;
  transition:opacity .2s ease, transform .2s ease;
}

.keon-404-home-link:hover{
  opacity:.72;
  transform:translateY(-1px);
}

.keon-404-main{
  flex:1;
  display:grid;
  place-items:center;
  padding:72px 20px 110px;
}

.keon-404-card{
  width:min(860px, 100%);
  text-align:center;
}

.keon-404-code{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(12px, 2vw, 24px);
  margin:0 auto 30px;
  font-family:inherit;
  font-weight:800;
  color:#171b20;
  line-height:.86;
  letter-spacing:-.075em;
  user-select:none;
}

.keon-404-num{
  font-size:clamp(6.5rem, 17vw, 12.5rem);
}

.keon-404-braces{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(34px, 52px) auto;
  align-items:center;
  justify-content:center;
  column-gap:clamp(10px, 1.4vw, 18px);
  min-width:clamp(165px, 23vw, 255px);
  font-size:clamp(5.6rem, 14vw, 10.6rem);
  letter-spacing:0;
  color:#171b20;
}

.keon-404-braces .brace-open,
.keon-404-braces .brace-close{
  display:inline-block;
  transform:scaleY(1.06);
  line-height:1;
}

.keon-404-braces .brace-open{
  grid-column:1;
}

.keon-404-braces .brace-close{
  grid-column:3;
}

.keon-404-dot-wrap{
  grid-column:2;
  position:relative;
  width:clamp(18px, 2.4vw, 28px);
  height:clamp(18px, 2.4vw, 28px);
  justify-self:center;
  align-self:center;
}

.keon-404-dot{
  position:absolute;
  inset:0;
  border-radius:50%;
  background:#9eff1f;
  transform-origin:center;
  box-shadow:
    0 0 0 0 rgba(158,255,31,.32),
    0 0 22px rgba(158,255,31,.56);
  animation:keon404Pulse 1.55s ease-in-out infinite;
}

.keon-404-dot::after{
  content:"";
  position:absolute;
  inset:-10px;
  border:1px solid rgba(158,255,31,.18);
  border-radius:50%;
  animation:keon404Ring 1.55s ease-out infinite;
}

@keyframes keon404Pulse{
  0%,100%{
    transform:scale(.88);
    filter:brightness(.96);
    box-shadow:
      0 0 0 0 rgba(158,255,31,.24),
      0 0 17px rgba(158,255,31,.42);
  }
  50%{
    transform:scale(1.08);
    filter:brightness(1.08);
    box-shadow:
      0 0 0 10px rgba(158,255,31,0),
      0 0 32px rgba(158,255,31,.72);
  }
}


@keyframes keon404Ring{
  0%{
    transform:scale(.6);
    opacity:.56;
  }
  75%,100%{
    transform:scale(1.45);
    opacity:0;
  }
}


.keon-404-title{
  margin:0 auto 14px;
  max-width:760px;
  color:#0089a1;
  font-size:clamp(1.05rem, 2.1vw, 1.45rem);
  font-weight:800;
  line-height:1.2;
  letter-spacing:.08em;
}

.keon-404-copy{
  max-width:640px;
  margin:0 auto;
  color:#626a72;
  font-size:clamp(1rem, 1.65vw, 1.08rem);
  line-height:1.72;
}

.keon-404-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}

.keon-404-btn{
  min-width:164px;
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 22px;
  border-radius:999px;
  text-decoration:none;
  font-size:.94rem;
  font-weight:750;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.keon-404-btn:hover{
  transform:translateY(-2px);
}

.keon-404-btn-primary{
  background:#0089a1;
  color:#fff;
  box-shadow:0 10px 25px rgba(0,137,161,.18);
}

.keon-404-btn-primary:hover{
  box-shadow:0 16px 34px rgba(0,137,161,.24);
}

.keon-404-btn-secondary{
  background:#fff;
  color:#1b2026;
  border:1px solid rgba(27,32,38,.12);
  box-shadow:0 8px 22px rgba(27,32,38,.06);
}


@media (max-width:640px){
  .keon-404-topbar{
    width:min(100% - 28px, 1180px);
    padding:16px 0;
  }

  .keon-404-brand img{
    width:92px;
  }

  .keon-404-main{
    padding:44px 16px 84px;
  }

  .keon-404-code{
    gap:8px;
    margin-bottom:24px;
  }

  .keon-404-braces{
    min-width:145px;
    column-gap:10px;
  }

  .keon-404-actions{
    display:grid;
    grid-template-columns:1fr;
    width:min(330px, 100%);
    margin-left:auto;
    margin-right:auto;
  }

  .keon-404-btn{
    width:100%;
  }
}

@media (prefers-reduced-motion:reduce){
  .keon-404-dot,
  .keon-404-dot::after{
    animation:none !important;
  }
}


/* V46 — Particle 404 page inspired by user reference */
body.particle-404-page{
  margin:0;
  min-height:100vh;
  background:#111111;
  color:#f5f5f5;
  overflow:hidden;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.particle-404-stage{
  position:relative;
  width:100%;
  min-height:100vh;
  overflow:hidden;
  background:
    radial-gradient(circle at 53% 39%, rgba(158,255,31,.035), transparent 31%),
    #111111;
}

.particle-404-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}

.particle-404-copy{
  position:absolute;
  left:clamp(36px, 6.6vw, 102px);
  bottom:clamp(54px, 8.1vh, 92px);
  width:min(820px, calc(100vw - 72px));
  z-index:2;
}

.particle-404-kicker{
  margin:0 0 1px;
  color:#9eff1f;
  font-size:clamp(1.6rem, 2.5vw, 2.35rem);
  font-weight:450;
  line-height:1.06;
  letter-spacing:-.04em;
}

.particle-404-title{
  margin:0;
  max-width:920px;
  color:#f5f5f5;
  font-size:clamp(1.42rem, 2.55vw, 2.15rem);
  font-weight:400;
  line-height:1.08;
  letter-spacing:-.045em;
}

.particle-404-home{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:22px;
  padding:10px 15px;
  min-height:38px;
  border-radius:999px;
  background:#1c1c1c;
  color:#f5f5f5;
  text-decoration:none;
  font-size:.94rem;
  font-weight:500;
  border:1px solid rgba(255,255,255,.035);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
  transition:
    transform .2s ease,
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.particle-404-home:hover{
  transform:translateY(-1px);
  background:#9eff1f;
  color:#111;
  border-color:#9eff1f;
}

@media (max-width:760px){
  body.particle-404-page{
    overflow:auto;
  }

  .particle-404-stage{
    min-height:100svh;
  }

  .particle-404-copy{
    left:22px;
    bottom:44px;
    width:calc(100vw - 44px);
  }

  .particle-404-kicker{
    font-size:1.48rem;
  }

  .particle-404-title{
    max-width:94%;
    font-size:1.36rem;
    line-height:1.12;
  }

  .particle-404-home{
    margin-top:18px;
  }
}

@media (prefers-reduced-motion:reduce){
  .particle-404-home{
    transition:none;
  }
}


/* V48 — Tools & Platforms marquee */
.tools-section{
  overflow:hidden;
  padding-bottom:clamp(72px, 8vw, 110px);
}
.tools-section-head{ margin-bottom:26px; }
.tools-marquee{
  position:relative;
  width:100%;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image:linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.tools-marquee-track{
  display:flex;
  width:max-content;
  will-change:transform;
  animation:toolsMarqueeScroll 64s linear infinite;
}
.tools-marquee-set{
  display:flex;
  align-items:stretch;
  gap:12px;
  padding-right:12px;
}
.tools-marquee:hover .tools-marquee-track,
.tools-marquee:focus-within .tools-marquee-track{ animation-play-state:paused; }
.tool-chip{
  flex:0 0 auto;
  min-height:62px;
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px 16px 10px 11px;
  border:1px solid rgba(27,32,38,.11);
  border-radius:15px;
  background:#fff;
  box-shadow:0 7px 20px rgba(27,32,38,.045);
  color:#1b2026;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tool-chip:hover{
  transform:translateY(-2px);
  border-color:rgba(0,137,161,.34);
  box-shadow:0 11px 26px rgba(27,32,38,.075);
}
.tool-icon{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:11px;
  background:rgba(0,137,161,.09);
  color:#0089a1;
  font-size:1.16rem;
}
.tool-icon-monogram{
  font-size:.72rem;
  font-weight:800;
  letter-spacing:-.015em;
}
.tool-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
  white-space:nowrap;
}
.tool-name{
  font-size:.9rem;
  font-weight:720;
  line-height:1.1;
}
.tool-level{
  color:#7c858e;
  font-size:.67rem;
  font-weight:650;
  line-height:1.1;
}
@keyframes toolsMarqueeScroll{
  from{ transform:translate3d(0,0,0); }
  to{ transform:translate3d(-50%,0,0); }
}
@media (max-width:720px){
  .tools-section-head{ margin-bottom:20px; }
  .tools-marquee{
    -webkit-mask-image:linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image:linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  }
  .tool-chip{ min-height:56px; padding:8px 14px 8px 9px; gap:9px; }
  .tool-icon{ width:34px; height:34px; flex-basis:34px; border-radius:10px; font-size:1.02rem; }
  .tool-name{ font-size:.84rem; }
  .tool-level{ font-size:.63rem; }
}
@media (prefers-reduced-motion:reduce){
  .tools-marquee{
    overflow-x:auto;
    -webkit-mask-image:none;
    mask-image:none;
    scrollbar-width:none;
  }
  .tools-marquee::-webkit-scrollbar{ display:none; }
  .tools-marquee-track{ animation:none !important; transform:none !important; }
  .tools-marquee-set[aria-hidden="true"]{ display:none; }
  .tool-chip{ transition:none; }
}


/* V49 — Full-color tool/platform brand logos */
.tool-icon-brand{
  background:#fff;
  color:inherit;
  border:1px solid rgba(27,32,38,.08);
  overflow:hidden;
}
.tool-logo-img{
  display:block;
  width:27px;
  height:27px;
  object-fit:contain;
  object-position:center;
  filter:none;
}
.tool-chip-brand:hover .tool-icon-brand{
  border-color:rgba(27,32,38,.14);
}
.tool-icon-more{
  background:rgba(0,137,161,.09);
  color:#0089a1;
}
@media (max-width:720px){
  .tool-logo-img{
    width:24px;
    height:24px;
  }
}


/* V51 — Resume Dropdown */
.resume-dropdown{
  position:relative;
  width:182px;
  min-width:182px;
}
.resume-dropdown .resume-dropdown-trigger{
  width:100%;
  min-width:0;
  cursor:pointer;
}
.resume-dropdown-trigger .fa-chevron-down{
  margin-left:3px;
  font-size:.72rem;
  transition:transform .18s ease;
}
.resume-dropdown.is-open .resume-dropdown-trigger .fa-chevron-down{
  transform:rotate(180deg);
}
.resume-dropdown-menu{
  position:absolute;
  left:0;
  top:calc(100% + 8px);
  z-index:40;
  width:100%;
  padding:6px;
  border:1px solid rgba(17,24,39,.10);
  border-radius:11px;
  background:rgba(255,255,255,.97);
  -webkit-backdrop-filter:blur(14px) saturate(145%);
  backdrop-filter:blur(14px) saturate(145%);
  box-shadow:0 14px 34px rgba(17,24,39,.14);
  opacity:0;
  visibility:hidden;
  transform:translateY(-4px);
  pointer-events:none;
  transition:opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.resume-dropdown.is-open .resume-dropdown-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
  pointer-events:auto;
}
.resume-dropdown-menu a{
  min-height:40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:0 11px;
  border-radius:7px;
  color:var(--ink);
  font-size:.82rem;
  font-weight:600;
  text-decoration:none;
  transition:background .15s ease, color .15s ease;
}
.resume-dropdown-menu a:hover,
.resume-dropdown-menu a:focus-visible{
  background:#f3f5f6;
  color:var(--accent);
  outline:none;
}
.resume-dropdown-menu i{
  font-size:.75rem;
  color:#667085;
}
.resume-dropdown-menu a:hover i,
.resume-dropdown-menu a:focus-visible i{
  color:var(--accent);
}
@media (max-width:520px){
  .resume-dropdown{
    width:100%;
    min-width:0;
  }
  .resume-dropdown-menu{
    width:100%;
  }
}
@media (prefers-reduced-motion:reduce){
  .resume-dropdown-trigger .fa-chevron-down,
  .resume-dropdown-menu{transition:none}
}

/* V52 — Resume dropdown stacking fix */
.hero-grid{
  position:relative;
  z-index:20;
}
.hero-panel{
  position:relative;
  z-index:1;
}
.resume-dropdown{
  z-index:30;
}
.resume-dropdown-menu{
  z-index:100;
}


/* V54 — KEON Asteroid-to-Header Preloader */
.keon-preloader{
  background:transparent;
  isolation:isolate;
}

.keon-preloader::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    radial-gradient(circle at 50% 48%, rgba(0,137,161,.08), transparent 34%),
    var(--keon-loader-bg);
  opacity:1;
  transition:opacity .72s cubic-bezier(.22,.72,.22,1);
  pointer-events:none;
}

.keon-preloader.is-docking::before{
  opacity:0;
}

.keon-preloader-inner{
  position:relative;
  z-index:2;
}

.keon-loader-mark{
  transform-origin:center center;
  will-change:transform,opacity;
}

.keon-preloader .keon-piece,
.keon-preloader .keon-neon-dot{
  animation:none!important;
}

.keon-preloader .keon-piece{
  opacity:0;
  filter:blur(8px);
}

.keon-preloader .keon-neon-dot{
  opacity:0;
  transform:scale(.7);
}

.keon-asteroid-trail{
  position:absolute;
  inset:0;
  z-index:2;
  width:100%;
  height:100%;
  pointer-events:none;
  opacity:1;
  transition:opacity .28s ease;
}

.keon-asteroid-trail.is-fading{
  opacity:0;
}

.keon-asteroid-dot{
  position:fixed;
  left:0;
  top:0;
  z-index:3;
  width:clamp(13px,1.35vw,19px);
  aspect-ratio:1;
  border-radius:50%;
  background:var(--keon-neon);
  opacity:0;
  transform:translate3d(-40px,-40px,0);
  box-shadow:
    0 0 8px rgba(158,255,31,.98),
    0 0 24px rgba(158,255,31,.72),
    0 0 54px rgba(158,255,31,.36);
  will-change:transform,opacity;
  pointer-events:none;
}

.keon-preloader.is-docking{
  pointer-events:none;
}

@media (prefers-reduced-motion:reduce){
  .keon-asteroid-dot,
  .keon-asteroid-trail{
    display:none!important;
  }
}


/* V59 — Simplified website trust indicators */
.footer-brand-copy{
  align-self:center;
}

.footer-brand-divider{
  width:min(310px, 100%);
  height:1px;
  margin:18px 0 15px;
  background:rgba(255,255,255,.10);
}

.footer-validator-badge{
  min-height:20px;
  display:flex;
  align-items:center;
}

.footer-validator-badge a{
  display:inline-flex;
  align-items:center;
  line-height:0;
  border-radius:4px;
  opacity:.88;
  transition:opacity .18s ease, transform .18s ease;
}

.footer-validator-badge a:hover{
  opacity:1;
  transform:translateY(-1px);
}

.footer-validator-badge a:focus-visible{
  outline:2px solid var(--keon-neon, #9eff1f);
  outline-offset:4px;
}

.footer-validator-badge img{
  display:block;
  width:190px;
  height:20px;
  max-width:100%;
}

@media (max-width:720px){
  .footer-brand-divider{
    margin-top:15px;
  }

  
}

@media (prefers-reduced-motion:reduce){
  .footer-validator-badge a,
  
}


/* V60 — Self-hosted WebsiteValidator badge */
.footer-validator-badge{
  overflow:hidden;
}

.footer-validator-badge img{
  width:190px;
  height:20px;
  object-fit:contain;
}


/* V63 — Fixed same-page Resume modal */
.resume-viewer[hidden] {
  display: none !important;
}

.resume-viewer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  width: 100vw;
  height: 100dvh;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  isolation: isolate;
  transition: opacity .2s ease, visibility .2s ease;
}

.resume-viewer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.resume-viewer-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(9, 13, 17, .84);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.resume-viewer-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 94vw);
  height: min(92dvh, 980px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: #eef1f3;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
  transform: translateY(12px) scale(.985);
  transition: transform .22s ease;
}

.resume-viewer.is-open .resume-viewer-dialog {
  transform: translateY(0) scale(1);
}

.resume-viewer-toolbar {
  flex: 0 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 14px 11px 18px;
  color: #fff;
  background: #15191e;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.resume-viewer-heading {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.resume-viewer-heading span {
  color: #9da7b2;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.resume-viewer-heading strong {
  overflow: hidden;
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resume-viewer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.resume-viewer-download,
.resume-viewer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  text-decoration: none;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, transform .16s ease;
}

.resume-viewer-download {
  padding: 0 13px;
  font-size: .78rem;
  font-weight: 700;
}

.resume-viewer-close {
  width: 40px;
  padding: 0;
  font-size: 1rem;
}

.resume-viewer-download:hover,
.resume-viewer-download:focus-visible,
.resume-viewer-close:hover,
.resume-viewer-close:focus-visible {
  border-color: rgba(158, 255, 31, .42);
  background: rgba(158, 255, 31, .10);
  outline: none;
  transform: translateY(-1px);
}

.resume-viewer-stage {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 24px;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, #e9edef, #f4f6f7);
}

.resume-viewer-image {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 12px 36px rgba(24, 31, 37, .18);
}

body.resume-viewer-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

@media (max-width: 640px) {
  .resume-viewer {
    padding: 0;
  }

  .resume-viewer-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .resume-viewer-toolbar {
    min-height: 60px;
    padding: 9px 10px 9px 14px;
  }

  .resume-viewer-heading strong {
    font-size: .84rem;
  }

  .resume-viewer-download {
    width: 40px;
    padding: 0;
  }

  .resume-viewer-download span {
    display: none;
  }

  .resume-viewer-stage {
    padding: 12px;
  }

  .resume-viewer-image {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resume-viewer,
  .resume-viewer-dialog,
  .resume-viewer-download,
  .resume-viewer-close {
    transition: none;
  }
}


/* V66 — Independent project sample media */
.subproject-media{
  width:100%;
  height:170px;
  margin:0 0 14px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:10px;
  background:#0d1115;
}

.subproject-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#0d1115;
}

.subproject-media-annotation img{
  object-fit:cover;
}

@media (max-width:720px){
  .subproject-media{
    height:auto;
    aspect-ratio:16/10;
  }
}


/* V67 — Independent Graphic Design work-type badges */
.project-gallery-section[data-project-gallery="independent-design"] .design-shot{
  position:relative;
}

.design-work-badge{
  position:absolute;
  top:12px;
  left:12px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:5px 9px;
  border:1px solid rgba(255,255,255,.34);
  border-radius:999px;
  font-size:.66rem;
  font-weight:800;
  line-height:1;
  letter-spacing:.055em;
  text-transform:uppercase;
  box-shadow:0 5px 16px rgba(0,0,0,.22);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  pointer-events:none;
}

.design-work-badge-client{
  color:#fff;
  background:rgba(0,137,161,.92);
}

.design-work-badge-personal{
  color:#1b2026;
  background:rgba(158,255,31,.94);
  border-color:rgba(27,32,38,.18);
}

@media (max-width:640px){
  .design-work-badge{
    top:9px;
    left:9px;
    min-height:25px;
    padding:5px 8px;
    font-size:.59rem;
  }
}


/* V68 — Independent Graphic Design card preview */
.subproject-media-design img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}


/* V69 — KEON neon bullet indicators on project-page actions */
.project-neon-bullet{
  position:relative;
  display:inline-block;
  width:12px;
  height:12px;
  flex:0 0 12px;
  border-radius:50%;
  background:#9eff1f;
  box-shadow:
    0 0 7px rgba(158,255,31,.95),
    0 0 15px rgba(158,255,31,.52);
  vertical-align:middle;
}
.project-neon-bullet::before,
.project-neon-bullet::after{
  content:"";
  position:absolute;
  inset:50% auto auto 50%;
  width:100%;
  height:100%;
  border-radius:50%;
  transform:translate(-50%,-50%) scale(1);
  pointer-events:none;
}
.project-neon-bullet::before{
  background:rgba(158,255,31,.18);
  animation:projectNeonPulse 1.9s ease-out infinite;
}
.project-neon-bullet::after{
  background:rgba(158,255,31,.08);
  animation:projectNeonPulse 1.9s ease-out .65s infinite;
}
.project-neon-bullet-small{
  width:10px;
  height:10px;
  flex-basis:10px;
}
.live-site-button .project-neon-bullet{
  margin-left:12px;
}
.next-project .project-neon-bullet{
  width:14px;
  height:14px;
  flex-basis:14px;
  margin:0 7px 4px 0;
}
.subproject-cta .project-neon-bullet{
  margin-left:2px;
}
@keyframes projectNeonPulse{
  0%{transform:translate(-50%,-50%) scale(1);opacity:.9}
  70%,100%{transform:translate(-50%,-50%) scale(2.35);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .project-neon-bullet::before,
  .project-neon-bullet::after{animation:none}
}

/* V69 — Number-free project cards */
.project-body .meta:has(.eyebrow:only-child){
  justify-content:flex-start;
}


/* V70 — Neon bullet limited to Next Project cards */
.next-project a{
  position:relative;
  align-items:center;
  padding-right:62px;
}

.next-project .project-neon-bullet{
  position:absolute;
  top:50%;
  right:28px;
  width:14px;
  height:14px;
  margin:0;
  transform:translateY(-50%);
  flex:0 0 14px;
}

/* Live-site and subproject CTAs use the original arrow again. */
.live-site-button > span[aria-hidden="true"],
.subproject-cta > span[aria-hidden="true"]{
  margin-left:6px;
}

@media (max-width:640px){
  .next-project a{
    padding-right:52px;
  }

  .next-project .project-neon-bullet{
    right:20px;
  }
}


/* V71 — Glass work-type badges on Independent Graphic Design */
.project-gallery-section[data-project-gallery="independent-design"] .design-work-badge{
  color:#fff !important;
  background:rgba(18, 23, 29, .30) !important;
  border:1px solid rgba(255,255,255,.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 5px 18px rgba(0,0,0,.14) !important;
  -webkit-backdrop-filter:blur(10px) saturate(125%);
  backdrop-filter:blur(10px) saturate(125%);
  text-shadow:0 1px 2px rgba(0,0,0,.28);
  gap:7px;
}

.project-gallery-section[data-project-gallery="independent-design"] .design-work-badge::before{
  content:"";
  width:7px;
  height:7px;
  flex:0 0 7px;
  border-radius:50%;
}

/* Client Work — neon KEON status dot */
.project-gallery-section[data-project-gallery="independent-design"] .design-work-badge-client::before{
  background:#9eff1f;
  box-shadow:
    0 0 5px rgba(158,255,31,.95),
    0 0 10px rgba(158,255,31,.72),
    0 0 16px rgba(158,255,31,.42);
  animation:designClientDotPulse 1.9s ease-in-out infinite;
}

/* Personal / Experimental — simple white dot, no glow */
.project-gallery-section[data-project-gallery="independent-design"] .design-work-badge-personal::before{
  background:#fff;
  box-shadow:none;
  animation:none;
}

@keyframes designClientDotPulse{
  0%,100%{
    transform:scale(.92);
    box-shadow:
      0 0 4px rgba(158,255,31,.85),
      0 0 8px rgba(158,255,31,.60),
      0 0 13px rgba(158,255,31,.32);
  }
  50%{
    transform:scale(1.08);
    box-shadow:
      0 0 6px rgba(158,255,31,1),
      0 0 12px rgba(158,255,31,.82),
      0 0 20px rgba(158,255,31,.50);
  }
}

@media (prefers-reduced-motion:reduce){
  .project-gallery-section[data-project-gallery="independent-design"] .design-work-badge-client::before{
    animation:none;
  }
}


/* V72 — Single-line gallery section titles across project pages */
.project-gallery-section .gallery-group-head{
  display:block;
  width:100%;
}

.project-gallery-section .gallery-group-head h3{
  width:100%;
  margin:0;
  white-space:nowrap;
  line-height:1.2;
  font-size:clamp(.72rem, 2.3vw, .98rem);
  letter-spacing:-.012em;
}

/* Keep the title strip compact on small screens without wrapping. */
@media (max-width:640px){
  .project-gallery-section .gallery-group-head{
    padding:13px 14px;
  }

  .project-gallery-section .gallery-group-head h3{
    font-size:clamp(.68rem, 3.1vw, .86rem);
  }
}
