@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{width:38px;height:38px;border-radius:10px;background:var(--accent);box-shadow: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;
  }
}
