/* - colors - */
:root {
  --pink: #FF2E97;
  --cyan: #00F0FF;
  --daylight-accent: #5f2d17;
  --day-bg: #cab38d;
  --day-ink: #14211C;
  --day-muted: #3A4A43;
  --night-bg: #0B0620;
  --night-panel: #160B3A;
  --night-text: #D8D2F0;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--day-bg); color: var(--day-ink); font-family: 'Space Grotesk', sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .75; }
img { max-width: 100%; }
h1, h2 { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; }
.mono { font-family: 'Space Mono', monospace; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 2px; }
.glitch { text-shadow: 3px 0 var(--pink), -3px 0 var(--cyan); }

/* -header- */
.site-header { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.logo { font-weight: 700; font-size: 20px; }
.site-header nav { display: flex; flex-wrap: wrap; }
.site-header nav a { padding: 12px 14px; font-weight: 500; }

/* -hero- */
.hero { display: flex; flex-wrap: wrap; }
.hero-side { flex: 1 1 480px; min-height: 600px; padding: 56px 48px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-side p { margin: 20px 0 32px; font-size: 18px; max-width: 420px; }
.hero-side h1 { font-size: clamp(36px, 6vw, 72px); line-height: 1.05; font-weight: 700; }

.hero-side.day .eyebrow { color: var(--daylight-accent); margin-bottom: 16px; }
.hero-side.day p { color: var(--day-muted); }
.btn-day { align-self: flex-start; display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; background: var(--day-ink); color: #fff; font-weight: 500; border-radius: 4px; }

.hero-side.night { background: var(--night-bg); position: relative; overflow: hidden; font-family: 'Space Mono', monospace; }
.hero-side.night h1 { color: #fff; font-size: clamp(34px, 5.5vw, 64px); }
.hero-side.night p { color: var(--night-text); font-size: 16px; }
.night-content { position: relative; }
.night-content .eyebrow { color: var(--cyan); margin-bottom: 16px; }
.btn-night { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border: 2px solid var(--pink); color: var(--pink); font-weight: 700; box-shadow: 4px 4px 0 var(--cyan); }

.sun { position: absolute; top: 56px; right: 48px; width: 150px; height: 150px; border-radius: 50%; background: var(--pink); overflow: hidden; }
.sun-bars { position: absolute; left: 0; right: 0; bottom: 0; height: 75px; background: repeating-linear-gradient(0deg, var(--night-bg) 0 4px, transparent 4px 12px); }
.grid-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; opacity: .35;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 1px, transparent 1px 48px),
              repeating-linear-gradient(0deg, var(--cyan) 0 1px, transparent 1px 28px); }

/* -galleries- */
.gallery { padding: 96px 24px; }
.gallery h2 { font-size: 40px; margin: 8px 0 40px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
figure { margin: 0; }
.tile { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
figcaption { margin-top: 12px; }

.day-gallery { background: var(--day-bg); }
.day-gallery .eyebrow { color: var(--daylight-accent); }
.day-gallery figcaption { color: var(--day-muted); }

.night-gallery { background: var(--night-bg); color: #fff; font-family: 'Space Mono', monospace; }
.night-gallery .eyebrow { color: var(--cyan); }
.night-gallery .tiles { gap: 40px; }
.neon-tile { position: relative; overflow: visible; padding: 2px; background: var(--night-panel); color: var(--night-text); }
.neon-tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border: 2px solid var(--cyan);
  box-shadow: 8px 8px 0 var(--pink);
}
.night-gallery figcaption { margin-top: 20px; color: var(--night-text); font-size: 14px; }

/* -about- */
.about { background: #cab38d; padding: 96px 24px; }
.about-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.portrait { flex: 1 1 280px; max-width: 380px; aspect-ratio: 4 / 5; background: #cab38d; display: flex; align-items: center; justify-content: center; color: var(--day-muted); font-weight: 500; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-text { flex: 2 1 340px; }
.about-text h2 { font-size: 40px; margin-bottom: 24px; }
.about-text p { margin: 0 0 20px; font-size: 18px; color: var(--day-muted); max-width: 620px; }

/* -contact- */
.contact { background: #0F1318; color: #fff; padding: 96px 24px; }
.contact h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.1; margin-bottom: 24px; }
.email { font-size: 24px; border-bottom: 3px solid var(--pink); padding-bottom: 4px; }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; color: #C9D0DA; }
.social a { padding: 12px 16px 12px 0; }
.copyright { margin-top: 48px; color: #C9D0DA; font-size: 14px; }


/* -effects- */
@keyframes flicker { 0%, 100% { opacity: 1 } 92% { opacity: 1 } 93% { opacity: .5 } 94% { opacity: 1 } 96% { opacity: .7 } 97% { opacity: 1 } }
@keyframes pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(255, 46, 151, .5) } 50% { transform: scale(1.06); box-shadow: 0 0 64px rgba(255, 46, 151, .85) } }
@keyframes rise { from { opacity: 0; transform: translateY(24px) } to { opacity: 1; transform: none } }
@keyframes jitter { 0%, 100% { transform: translateX(0) } 20% { transform: translateX(-6px) } 40% { transform: translateX(5px) } 60% { transform: translateX(-3px) } 80% { transform: translateX(4px) } }
@keyframes tear { 0%, 88%, 100% { transform: translateX(0) } 90% { transform: translateX(-14px) } 92% { transform: translateX(10px) } 95% { transform: translateX(-6px) } }

/* -nighttime- */
.glitch { animation: flicker 7s infinite; }
.sun { animation: pulse 4s ease-in-out infinite; }

/* scanlines */
.hero-side.night::after
 {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 4px);
}
.night-gallery { position: relative; }
.neon-tile:hover::before { animation: jitter .3s linear;  }


/* -daylight- */
.tiles figure { animation: rise .8s ease both; }
.tiles figure:nth-child(2) { animation-delay: .15s; }
.tiles figure:nth-child(3) { animation-delay: .3s; }
.day-gallery .tile { transition: transform .3s ease, box-shadow .3s ease; }
.day-gallery .tile:hover { transform: translateY(-8px); box-shadow: 0 16px 32px rgba(20, 33, 28, .2); }

/* -skyline- */
.bridge { position: relative; height: 180px; background: var(--day-bg); overflow: hidden; }
.tear {
  position: absolute; inset: 0;
  clip-path: polygon(0% 100%, 0% 64%, 3% 64%, 3% 44%, 7% 44%, 7% 58%, 10% 58%, 10% 30%, 11% 30%, 11% 10%, 11.6% 10%, 11.6% 30%, 15% 30%, 15% 52%, 18% 52%, 18% 38%, 23% 38%, 23% 62%, 26% 62%, 26% 24%, 28% 24%, 28% 16%, 31% 16%, 31% 24%, 33% 24%, 33% 48%, 37% 48%, 37% 60%, 41% 60%, 41% 34%, 45% 34%, 45% 54%, 48% 54%, 48% 20%, 49% 20%, 49% 4%, 49.6% 4%, 49.6% 20%, 50.5% 20%, 50.5% 42%, 54% 42%, 54% 66%, 58% 66%, 58% 36%, 63% 36%, 63% 56%, 66% 56%, 66% 28%, 70% 28%, 70% 46%, 74% 46%, 74% 62%, 78% 62%, 78% 32%, 79% 32%, 79% 18%, 79.6% 18%, 79.6% 32%, 83% 32%, 83% 50%, 87% 50%, 87% 40%, 91% 40%, 91% 60%, 94% 60%, 94% 46%, 97% 46%, 97% 66%, 100% 66%, 100% 100%);
}
.tear-p { background: var(--pink); animation: tear 5s steps(1) infinite; }
.tear-c { background: var(--cyan); animation: tear 5s steps(1) infinite reverse; }
.tear-d { background: var(--night-bg); top: 4px; }

/* -reduce motion- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

