/* ============================================================
   HOME — the artwork itself is the index.
   Small glowing spots over the image, each one a work.
   ============================================================ */

/* on the homepage, the header floats over the full-bleed hero
   instead of pushing it down a viewport's worth of height */
.site-header{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(7,8,10,0.6) 0%, rgba(7,8,10,0) 100%);
  padding-bottom: 20px;
}

.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(79,168,146,0.09) 0%, rgba(79,168,146,0.03) 32%, rgba(7,8,10,0) 68%);
  pointer-events: none;
  z-index: 0;
}

.intro{
  position: absolute;
  z-index: 6;
  top: 10%;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: none;
}

.intro .eyebrow{ display: block; color: var(--glow); }

.intro h1{
  font-family: var(--f-display);
  font-weight: 340;
  font-style: italic;
  font-size: clamp(36px, 7vw, 76px);
  line-height: 1;
  color: var(--bone);
  margin: 12px 0 0;
  letter-spacing: 0.005em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.75), 0 0 50px rgba(0,0,0,0.5);
}

/* wraps the stage so floating motes can drift beyond the
   image's own edges without affecting layout */
.stage-wrap{
  position: relative;
  width: min(100vw, calc(88svh * 480 / 632));
  margin: 0 auto;
}

/* the stage holds the artwork at its true proportions, so every
   glowing point can be pinned to an exact spot in the image
   regardless of viewport */
.stage{
  position: relative;
  width: 100%;
  aspect-ratio: 480 / 632;
  z-index: 1;
  overflow: hidden;
}

.stage img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.08) saturate(0.94);
}

/* a faint duotone wash ties the photograph into the site's
   palette without muddying its clarity */
.stage .wash{
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(79,168,146,0.10) 0%, rgba(7,8,10,0) 40%, rgba(217,154,99,0.05) 100%);
  mix-blend-mode: color;
  pointer-events: none;
}

.stage .scrim-top{
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(7,8,10,0.75) 0%, rgba(7,8,10,0) 100%);
  pointer-events: none;
}

.stage .scrim-bottom{
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 26%;
  background: linear-gradient(0deg, rgba(7,8,10,0.8) 0%, rgba(7,8,10,0) 100%);
  pointer-events: none;
}

.stage::after{
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 90px 18px rgba(0,0,0,0.5);
  pointer-events: none;
}

/* floating light motes around the image */
.motes{
  position: absolute;
  inset: -14%;
  z-index: 0;
  pointer-events: none;
}

.motes span{
  position: absolute;
  left: calc(var(--mx) * 1%);
  top: calc(var(--my) * 1%);
  width: var(--mw, 4px);
  height: var(--mw, 4px);
  border-radius: 50%;
  background: radial-gradient(circle, #fbf6ea 0%, var(--glow) 60%, transparent 100%);
  opacity: 0.5;
  filter: blur(0.4px);
  box-shadow: 0 0 6px 2px rgba(134, 240, 210, 0.35);
  animation: moteDrift var(--mdur, 8s) ease-in-out infinite;
  animation-delay: var(--md, 0s);
}

@keyframes moteDrift{
  0%, 100%{ transform: translateY(0) translateX(0); opacity: 0.28; }
  50%{ transform: translateY(-16px) translateX(4px); opacity: 0.65; }
}

.hint{
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 5%;
  text-align: center;
  padding: 0 clamp(20px, 5vw, 64px);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  pointer-events: none;
}

/* ---------------------------------------------------------
   Glow points — each one a project link, styled after the
   small luminous form already inside the photograph
   --------------------------------------------------------- */

.orbs{ position: absolute; inset: 0; }

.orb{
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  transform: translate(-50%, -50%);
  width: clamp(30px, 6vw, 40px);
  height: clamp(30px, 6vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
}

.orb:hover, .orb:focus-visible{ z-index: 20; }

.orb .glow{
  width: calc(clamp(7px, 1.7vw, 12px) * var(--s, 1));
  height: calc(clamp(7px, 1.7vw, 12px) * var(--s, 1));
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  background: radial-gradient(circle at 40% 35%, #fbf6ea 0%, var(--bone) 40%, var(--glow) 130%);
  opacity: 0.8;
  box-shadow: 0 0 8px 2px rgba(241, 234, 217, 0.45), 0 0 20px 6px rgba(134, 240, 210, 0.2);
  animation: orbPulse 4.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), opacity 0.4s, box-shadow 0.4s;
}

@keyframes orbPulse{
  0%, 100%{ opacity: 0.62; transform: scale(1); }
  50%{ opacity: 0.92; transform: scale(1.18); }
}

.orb .tag{
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-dim);
  opacity: 0;
  transform: translate(-50%, -4px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
  pointer-events: none;
  background: rgba(7,8,10,0.92);
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.orb .tag .idx{ color: var(--glow); margin-right: 0.55em; }

.orb:hover .glow,
.orb:focus-visible .glow{
  transform: scale(1.6);
  opacity: 1;
  box-shadow: 0 0 16px 4px rgba(241, 234, 217, 0.65), 0 0 34px 10px rgba(134, 240, 210, 0.4);
  animation-play-state: paused;
}

.orb:hover .tag,
.orb:focus-visible .tag{
  opacity: 1;
  transform: translate(-50%, 0);
  color: var(--bone);
}

.orb:focus-visible{ outline: none; }
.orb:focus-visible .glow{ outline: 1px solid var(--glow); outline-offset: 3px; }

.orb .idx-standalone{
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 4px;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 8px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
}

@media (hover: hover){
  .orb .idx-standalone{ display: none; }
}

.scroll-cue{
  position: relative;
  z-index: 4;
  text-align: center;
  padding-top: 14px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

@media (prefers-reduced-motion: reduce){
  .orb .glow{ animation: none !important; }
}

/* ---------------------------------------------------------
   About strip
   --------------------------------------------------------- */

.about{
  position: relative;
  z-index: 5;
  padding: 90px clamp(20px, 5vw, 64px) 40px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 780px){
  .about{
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
}

.about h2{
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 340;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--bone);
  margin: 10px 0 0;
}

.about .body-text{
  max-width: var(--measure);
  color: var(--ink);
  font-size: 15px;
}

.about .meta-list{
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-dim);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.about .meta-list .yr{ color: var(--glow-dim); margin-right: 1em; }

.about .contact{
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 12px;
}

.about .contact a:hover{ color: var(--glow); }
