:root{--accent:#00ffe5;--bg:#050505;--panel:#101010;--line:#262626;--muted:#929292;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:#f5f5f5;font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.top{border-bottom:1px solid #252525}.top nav{max-width:1200px;margin:auto;min-height:84px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 28px;gap:20px}.nav-left,.nav-right{display:flex;gap:28px;align-items:center}.nav-right{justify-content:flex-end}.top nav a:not(.brand){font-size:10px;letter-spacing:.22em;color:#aaa;font-weight:700}.top nav a:hover,.top nav a.active{color:var(--accent)}.brand img{width:145px;height:auto;display:block}.hero{text-align:center;padding:115px 20px 100px;min-height:650px;display:flex;align-items:center;flex-direction:column;justify-content:center}/* Four-second center-out logo expansion; original logo asset preserved. */
.logo-bloom{position:relative;width:min(720px,86vw);display:grid;place-items:center;isolation:isolate}
.hero-logo{position:relative;z-index:2;display:block;width:100%;height:auto;transform-origin:center;animation:paint-logo-grow 4s cubic-bezier(.22,.65,.25,1) both;will-change:transform,opacity;}
@keyframes paint-logo-grow{0%{transform:scale(.012);opacity:0}8%{opacity:0}18%{opacity:.3}36%{opacity:.86}60%{opacity:1}100%{transform:scale(1);opacity:1}}
h1,h2,h3,p{margin:0}.hero h1{font-size:clamp(34px,4vw,57px);line-height:1.08;letter-spacing:-.045em;margin-top:40px;font-weight:700}.hero h1 span,.contact h2 span{color:var(--accent)}.hero p{font-size:14px;color:var(--muted);margin-top:22px;line-height:1.6}.actions{display:flex;gap:12px;margin-top:28px}.actions a{font-size:12px;font-weight:700;border-radius:99px;padding:14px 23px}.primary{background:var(--accent);color:#050505}.secondary{border:1px solid #393939}.actions a:hover{transform:translateY(-2px)}.section{border-top:1px solid var(--line);padding:90px max(24px,calc((100vw - 1160px)/2))}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:32px}.eyebrow{font-size:10px;letter-spacing:.22em;font-weight:700;color:var(--accent)}.section-head h2{font-size:clamp(30px,3vw,42px);letter-spacing:-.035em;margin-top:8px}.section-head p{font-size:13px;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.work-card{border:1px solid #343434;border-radius:14px;min-height:295px;padding:25px;display:flex;flex-direction:column;justify-content:space-between;transition:border-color .2s,transform .2s;background:#0d0d0d}.work-card:hover{border-color:var(--accent);transform:translateY(-4px)}.number{color:var(--accent);font-size:11px;letter-spacing:.1em;font-weight:700}.work-card h3{font-size:22px;font-weight:500;margin-bottom:10px}.work-card p{font-size:13px;line-height:1.65;color:var(--muted);max-width:260px}.view{display:inline-block;color:var(--accent);font-size:12px;font-weight:700;margin-top:26px}.contact{text-align:center;padding-top:100px;padding-bottom:110px}.contact h2{font-size:clamp(35px,4vw,56px);letter-spacing:-.04em;line-height:1.1;margin-top:18px}.contact-details{margin-top:40px;display:flex;flex-direction:column;align-items:center;gap:8px}.micro{font-size:10px;letter-spacing:.2em;color:var(--muted);font-weight:700}.contact-details a{color:var(--accent);font-size:18px;font-weight:700}.email-label{margin-top:20px}footer{border-top:1px solid var(--line);padding:28px max(24px,calc((100vw - 1160px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px;color:#777;font-size:11px}.footer-logo img{width:115px;display:block}.footer-links{display:flex;flex-wrap:wrap;gap:20px}footer a:hover{color:var(--accent)}.gallery-main{max-width:1100px;margin:0 auto;padding:100px 24px 140px;min-height:65vh}.gallery-main h1{font-size:clamp(42px,6vw,76px);letter-spacing:-.05em;margin:14px 0}.gallery-main p{color:var(--muted);max-width:560px;line-height:1.6}.gallery-placeholder{margin-top:65px;border:1px dashed #444;border-radius:12px;min-height:260px;display:grid;place-items:center;text-align:center;padding:35px;color:#aaa}.gallery-placeholder strong{color:white}.back{display:inline-block;margin-top:35px;color:var(--accent);font-size:13px}@media(max-width:720px){.top nav{min-height:72px;padding:0 16px;gap:10px}.nav-left,.nav-right{gap:12px}.top nav a:not(.brand){font-size:9px;letter-spacing:.08em}.brand img{width:110px}.hero{min-height:560px;padding:85px 20px}.hero h1{margin-top:42px}.section{padding:70px 22px}.section-head{align-items:start;flex-direction:column}.cards{grid-template-columns:1fr;gap:12px}.work-card{min-height:220px}.contact{padding:85px 20px}footer{flex-direction:column;text-align:center}.footer-links{justify-content:center}.nav-right a[href*="shop"]{display:none}}@media(max-width:390px){.brand img{width:88px}.top nav{padding:0 12px}.nav-left,.nav-right{gap:8px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}


/* A continuous, page-length gradient: near-black at the top, deep turquoise at the bottom.
   The base color is never replaced by a viewport-fixed gradient, so long pages remain seamless. */
html{background:#030505}
body{
  position:relative;
  isolation:isolate;
  min-height:100vh;
  background:linear-gradient(to bottom,
    #030505 0%,#030606 20%,#04100f 43%,#06201e 68%,#093b37 100%);
}
/* Slow-moving translucent color fields add a restrained liquid/mixing feel.
   They span the entire document and never interfere with content or pointer events. */
body::before,body::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background-repeat:no-repeat;
}
body::before{
  background-image:
    radial-gradient(ellipse 58% 25% at 20% 77%,rgba(0,255,229,.038),transparent 78%),
    radial-gradient(ellipse 55% 30% at 83% 91%,rgba(0,255,229,.034),transparent 80%),
    radial-gradient(ellipse 48% 24% at 67% 58%,rgba(0,130,120,.025),transparent 78%);
  animation:gradient-mix-a 34s ease-in-out infinite alternate;
}
body::after{
  background-image:
    radial-gradient(ellipse 54% 29% at 74% 74%,rgba(0,210,188,.032),transparent 80%),
    radial-gradient(ellipse 48% 22% at 24% 95%,rgba(0,255,229,.025),transparent 80%);
  animation:gradient-mix-b 43s ease-in-out infinite alternate;
}
body > *{position:relative;z-index:1}
@keyframes gradient-mix-a{
  from{opacity:.55;transform:translate3d(-1.2%,0,0) scale(1)}
  to{opacity:1;transform:translate3d(1.2%,-.6%,0) scale(1.025)}
}
@keyframes gradient-mix-b{
  from{opacity:1;transform:translate3d(1%,.5%,0) scale(1.02)}
  to{opacity:.55;transform:translate3d(-1%,-.5%,0) scale(1)}
}
@media(prefers-reduced-motion:reduce){
  body::before,body::after{animation:none!important}
  .hero-logo{animation:none!important;opacity:1;transform:none}
}

/* Logo / Lettering portfolio gallery */
.portfolio-gallery{columns:3 270px;column-gap:18px;margin-top:58px}
.portfolio-piece{margin:0 0 18px;break-inside:avoid;overflow:hidden;border-radius:10px;background:rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.065)}
.portfolio-piece img{width:100%;height:auto;display:block}
@media(max-width:680px){.portfolio-gallery{columns:2 150px;column-gap:10px;margin-top:38px}.portfolio-piece{margin-bottom:10px;border-radius:7px}}

/* Homepage: synchronized, softly cross-fading portfolio previews */
.work-card{position:relative;isolation:isolate;overflow:hidden;background:#101818}
.card-slides,.card-shade{position:absolute;inset:0;pointer-events:none}
.card-slides{z-index:-2}
.card-slides img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity 1.25s ease-in-out;transform:scale(1.015)}
.card-slides img.is-current{opacity:1}
.card-shade{z-index:-1;background:linear-gradient(180deg,rgba(2,8,8,.42),rgba(2,8,8,.28) 34%,rgba(2,8,8,.84) 100%)}
.card-content{display:flex;flex-direction:column;justify-content:space-between;min-height:245px;height:100%}
.work-card .number{color:#80fff2;text-shadow:0 1px 8px #000}
.work-card h3{font-weight:700;text-shadow:0 2px 12px #000}
.work-card p{color:#e0e7e6;text-shadow:0 1px 7px #000}
.work-card .view{text-shadow:0 1px 8px #000}
/* Gallery images open in an accessible, full-screen viewer */
.artwork-open{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.artwork-open img{width:100%;height:auto;display:block}
.artwork-open:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.artwork-lightbox{position:fixed;inset:0;z-index:1000;background:rgba(0,0,0,.94);display:flex;align-items:center;justify-content:center;padding:60px 20px 36px;cursor:zoom-out}
.artwork-lightbox[hidden]{display:none}
.artwork-lightbox img{max-width:100%;max-height:calc(100vh - 110px);object-fit:contain;box-shadow:0 14px 60px rgba(0,0,0,.5)}
.artwork-close{position:absolute;top:16px;right:20px;color:white;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.3);border-radius:50%;width:44px;height:44px;font-size:28px;line-height:1;cursor:pointer}
.artwork-close:focus-visible{outline:2px solid var(--accent)}
body.viewer-open{overflow:hidden}
@media(max-width:720px){.card-content{min-height:170px}}
@media(prefers-reduced-motion:reduce){.card-slides img{transition:none}}

/* Keep the lightbox close control above artwork and decorative layers. */
.artwork-lightbox{isolation:isolate}
.artwork-lightbox img{position:relative;z-index:1}
.artwork-close{position:fixed;top:max(16px,env(safe-area-inset-top));right:max(20px,env(safe-area-inset-right));z-index:1002;display:grid;place-items:center;pointer-events:auto;touch-action:manipulation}
.artwork-close:hover{background:rgba(255,255,255,.22)}

/* V16: no placeholder or tiny image glyph while logo is loading. */
.hero-logo{visibility:hidden;animation:none;opacity:0}
.hero-logo.logo-ready{visibility:visible;animation:paint-logo-grow 4s cubic-bezier(.22,.65,.25,1) both}
@media(prefers-reduced-motion:reduce){.hero-logo.logo-ready{animation:none!important;opacity:1;transform:none}}

/* Native dialog lives in the browser's top layer; its close button cannot be covered. */
dialog.artwork-lightbox{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;padding:60px 20px 36px;background:rgba(0,0,0,.96);color:white;box-sizing:border-box;align-items:center;justify-content:center;overflow:hidden}
dialog.artwork-lightbox:not([open]){display:none}
dialog.artwork-lightbox[open]{display:flex}
dialog.artwork-lightbox::backdrop{background:rgba(0,0,0,.96)}
dialog.artwork-lightbox .artwork-close{position:fixed;z-index:2147483647;top:16px;right:20px;min-width:48px;min-height:48px;cursor:pointer}
dialog.artwork-lightbox img{max-width:100%;max-height:calc(100dvh - 110px);object-fit:contain;pointer-events:auto}

/* V17 fullscreen viewer: normal pointer cursor, reliable close control. */
.artwork-open,.artwork-open img{cursor:pointer!important}
.kv-viewer[hidden]{display:none!important}
.kv-viewer{position:fixed!important;inset:0!important;width:100vw;height:100dvh;z-index:2147483646!important;background:rgba(0,0,0,.98);display:flex;align-items:center;justify-content:center;isolation:isolate}
.kv-viewer-stage{position:absolute;inset:0;overflow:auto;display:flex;align-items:center;justify-content:center;padding:64px 16px 20px;box-sizing:border-box;cursor:default}
.kv-viewer-stage img{display:block;max-width:100%;max-height:calc(100dvh - 84px);width:auto;height:auto;object-fit:contain;cursor:pointer;flex-shrink:0}
.kv-viewer-stage img.is-zoomed{max-width:none;max-height:none;width:auto;height:auto;min-width:100%;object-fit:contain;cursor:pointer}
.kv-viewer-close{position:fixed!important;top:max(12px,env(safe-area-inset-top))!important;right:max(12px,env(safe-area-inset-right))!important;z-index:2147483647!important;display:grid;place-items:center;width:52px;height:52px;border:1px solid #777;border-radius:50%;background:#202020;color:#fff;font-size:34px;line-height:1;cursor:pointer!important;pointer-events:auto!important;touch-action:manipulation}
.kv-viewer-close:hover{background:#454545}
.kv-viewer-close:focus-visible{outline:3px solid #60d9cf;outline-offset:3px}


/* V18: use a native modal in the browser top layer, never a regular fixed overlay. */
dialog.kv-modal{position:fixed;inset:0;margin:auto;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;border:0;padding:0;background:#030505;color:white;overflow:hidden;box-sizing:border-box}
dialog.kv-modal:not([open]){display:none!important}
dialog.kv-modal[open]{display:block!important}
dialog.kv-modal::backdrop{background:rgba(0,0,0,.97)}
.kv-modal-stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:auto;padding:74px 18px 24px;box-sizing:border-box}
.kv-modal-stage img{display:block;max-width:100%;max-height:calc(100dvh - 100px);width:auto;height:auto;object-fit:contain;cursor:pointer;flex-shrink:0}
.kv-modal-stage img.is-zoomed{max-width:none;max-height:none;min-width:100%;cursor:pointer}
.kv-modal-close{position:fixed;top:max(14px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));z-index:10;display:grid;place-items:center;width:54px;height:54px;border:1px solid #888;border-radius:50%;background:#202020;color:white;font-size:34px;line-height:1;cursor:pointer;touch-action:manipulation}
.kv-modal-close:hover{background:#494949}
.kv-modal-close:focus-visible{outline:3px solid #60d9cf;outline-offset:3px}


/* V20: both hero elements begin in the same animation frame and end after exactly 4s. */
.hero-tagline{opacity:0;visibility:hidden;animation:none}
.hero-tagline.tagline-ready{visibility:visible;animation:kv-hero-text-fade 4s linear both}
@keyframes kv-hero-text-fade{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.hero-tagline.tagline-ready{animation:none!important;opacity:1;visibility:visible}}


/* V22: restrained traveling turquoise laser tracing frames and logo contours. */
@property --kv-laser-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
@keyframes kv-laser-orbit{to{--kv-laser-angle:360deg}}
@keyframes kv-logo-trace{
  0%,100%{filter:drop-shadow(0 -1px 2px rgba(68,244,224,0.657)) drop-shadow(0 0 8px rgba(50,220,202,0.16428))}
  25%{filter:drop-shadow(2px 0 3px rgba(68,244,224,0.76656)) drop-shadow(0 0 8px rgba(50,220,202,0.16428))}
  50%{filter:drop-shadow(0 2px 3px rgba(68,244,224,0.73008)) drop-shadow(0 0 8px rgba(50,220,202,0.16428))}
  75%{filter:drop-shadow(-2px 0 3px rgba(68,244,224,0.76656)) drop-shadow(0 0 8px rgba(50,220,202,0.16428))}
}
/* The logo light activates only once the opening 4-second expansion ends. */
.logo-bloom.kv-laser-active .hero-logo{animation:kv-logo-trace 9s linear infinite;opacity:1;transform:scale(1);visibility:visible}
/* A very narrow, moving arc rather than a bright solid border. */
.work-card::after,.portfolio-piece::after{
  content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;
  background:conic-gradient(from var(--kv-laser-angle),
    transparent 0deg,transparent 290deg,
    rgba(29,210,194,0.07296) 311deg,rgba(94,255,239,01) 336deg,
    rgba(99,255,242,0.438) 349deg,transparent 360deg);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  pointer-events:none;z-index:5;
  animation:kv-laser-orbit 10s linear infinite;
  opacity:1;
}
.portfolio-piece{position:relative;isolation:isolate}
.work-card{isolation:isolate}
@media(prefers-reduced-motion:reduce){
  .logo-bloom.kv-laser-active .hero-logo{animation:none!important;filter:none}
  .work-card::after,.portfolio-piece::after{animation:none;opacity:.22}
}

/* V23: extend the softly orbiting light to interface details throughout the site.
   Decorative layers cannot intercept pointer events or change image interactions. */
.top nav .brand,.footer-logo,.actions a,.contact-details a,.back,
.gallery-main h1,.section-head h2,.contact h2,.hero-tagline,
.top nav a:not(.brand),.footer-links a{position:relative;isolation:isolate}
/* Quiet laser glint around navigational controls and buttons. */
.actions a,.top nav .brand,.footer-logo,.back{
  border-radius:12px;
}
.actions a::after,.top nav .brand::after,.footer-logo::after,.back::after{
  content:"";position:absolute;inset:-4px;border-radius:inherit;padding:1px;
  background:conic-gradient(from var(--kv-laser-angle),transparent 0deg,
    transparent 305deg,rgba(0,255,229,0.042) 321deg,
    rgba(100,255,242,0.6762) 341deg,transparent 360deg);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  animation:kv-laser-orbit 13s linear infinite;
  pointer-events:none;opacity:0.759;
}
/* A subtle wandering turquoise glint on type and text links. */
@keyframes kv-soft-type-light{
  0%,100%{text-shadow:0 0 0 rgba(0,255,229,0)}
  45%{text-shadow:0 0 9px rgba(0,255,229,0.1311)}
  55%{text-shadow:0 0 11px rgba(0,255,229,0.2208)}
}
.section-head h2,.gallery-main h1,.contact h2,
.contact-details a,.top nav a:not(.brand),.footer-links a,.back{
  animation:kv-soft-type-light 12s ease-in-out infinite;
}
/* Wait until the opening reveal is complete before illuminating the hero tagline. */
.hero-tagline.tagline-ready{animation:kv-hero-text-fade 4s linear both}
.hero-tagline.kv-tagline-glow{animation:kv-soft-type-light 12s ease-in-out infinite}
/* A quiet highlight travels along major section dividers and footer. */
@keyframes kv-divider-glide{from{background-position:200% 0}to{background-position:-200% 0}}
.top,.section,footer{border-color:rgba(60,200,187,0.216)}
.top::after,footer::after{content:"";position:absolute;bottom:0;left:0;right:0;height:1px;
  pointer-events:none;background:linear-gradient(90deg,transparent 0%,transparent 40%,rgba(76,255,236,0.483) 50%,transparent 60%,transparent 100%);
  background-size:220% 100%;animation:kv-divider-glide 19s linear infinite;opacity:.7475}
@media(prefers-reduced-motion:reduce){
  .actions a::after,.top nav .brand::after,.footer-logo::after,.back::after,
  .top::after,footer::after{animation:none!important;opacity:.22}
  .section-head h2,.gallery-main h1,.contact h2,.contact-details a,
  .top nav a:not(.brand),.footer-links a,.back,.hero-tagline.kv-tagline-glow{
    animation:none!important;text-shadow:none}
}

/* V24: stronger turquoise edge illumination on all brand logos and portfolio artwork.
   Logo accents begin after the opening reveal; static navigation logos may glow immediately. */
@keyframes kv-brand-edge-wander{
  0%,100%{filter:drop-shadow(0 -1px 2px rgba(85,255,235,0.372))}
  25%{filter:drop-shadow(1px 0 3px rgba(85,255,235,0.456))}
  50%{filter:drop-shadow(0 1px 3px rgba(85,255,235,0.408))}
  75%{filter:drop-shadow(-1px 0 3px rgba(85,255,235,0.456))}
}
.top nav .brand img,.footer-logo img{animation:kv-brand-edge-wander 10s linear infinite}
/* Preserve the dedicated post-reveal logo contour animation. */
.logo-bloom.kv-laser-active .hero-logo{animation:kv-logo-trace 9s linear infinite}
@media(prefers-reduced-motion:reduce){
 .top nav .brand img,.footer-logo img{animation:none!important;filter:none}
 .logo-bloom.kv-laser-active .hero-logo{animation:none!important;filter:none}
}


/* Final fix: keep the homepage headline visible permanently after its 4-second reveal.
   The subsequent glow animation only changes text-shadow, not opacity. */
.hero-tagline.kv-tagline-glow,
.hero-tagline.tagline-ready.kv-tagline-glow {
  opacity: 1 !important;
  visibility: visible !important;
  animation: kv-soft-type-light 12s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-tagline.tagline-ready,
  .hero-tagline.kv-tagline-glow {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
  }
}
