/* Aurora Light Graffiti — site styles */
:root {
  --night-0: #02050f;
  --night-1: #050b1f;
  --night-2: #0a1532;
  --ink: #e8f3ff;
  --ink-soft: #a9bdd6;
  --ink-faint: #6f84a3;
  --green: #6cf542;
  --teal: #3fd6ff;
  --violet: #5a5cff;
  --magenta: #b46bff;
  --line: rgba(160, 200, 255, 0.14);
  --card: rgba(14, 28, 60, 0.55);
  --radius: 18px;
  --max: 1160px;
  --display: "DM Sans", system-ui, sans-serif;
  --wordmark: "Six Caps", "Arial Narrow", sans-serif;
  --spectrum: linear-gradient(90deg, #e0405e 0%, #ee8a3c 22%, #f6e27a 45%, #93c26a 63%, #4f7de0 85%, #6b4fd8 100%);
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night-1);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(77, 255, 176, 0.07), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(167, 123, 255, 0.08), transparent 60%),
    linear-gradient(180deg, var(--night-0), var(--night-1) 40%, var(--night-2));
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  padding: 14px 0;
  transition: background .3s, backdrop-filter .3s;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(3, 7, 20, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: .02em;
}
.brand-mark {
  width: 30px; height: 30px; flex: none;
}
.nav { display: flex; gap: 4px; }
.nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 15px;
  padding: 8px 14px; border-radius: 999px;
}
.nav a:hover { color: var(--ink); background: rgba(255,255,255,0.06); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(77, 255, 176, 0.1); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--ink);
  border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 14px; cursor: pointer;
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 16px; right: 16px;
    flex-direction: column; padding: 10px;
    background: rgba(5, 11, 31, 0.96); border: 1px solid var(--line); border-radius: 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 17px; }
}

/* ---------- hero / painting ---------- */
.hero {
  position: relative;
  height: 88vh; height: 88svh; min-height: 520px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(61, 224, 230, 0.10), transparent 60%),
    linear-gradient(180deg, #02040c 0%, #040a1d 60%, #071230 100%);
  border-bottom: 1px solid var(--line);
}
.stars {
  position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 12%, #cfe 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 32%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 62%, #def 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 92% 76%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 84%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 64% 58%, #cfe 50%, transparent 51%),
    radial-gradient(1px 1px at 45% 78%, #fff 50%, transparent 51%);
}
#aurora-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  touch-action: none; cursor: crosshair;
}
.hero-content {
  position: absolute; left: 0; right: 0; bottom: 9%;
  pointer-events: none; text-align: center;
  transition: opacity .8s ease;
}
.hero.is-painting .hero-content .hero-sub,
.hero.is-painting .hero-hint { opacity: .35; }
.eyebrow {
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green); margin: 0 0 12px;
}
.hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(34px, 7vw, 84px); line-height: 1.02; letter-spacing: -.02em;
  margin: 0;
  text-shadow: 0 0 40px rgba(61, 224, 230, 0.35);
}
.hero h1 .glow {
  background: linear-gradient(90deg, var(--green), var(--teal) 45%, var(--violet) 80%, var(--magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  max-width: 560px; margin: 16px auto 0; color: var(--ink-soft);
  font-size: clamp(16px, 2.2vw, 19px); transition: opacity .8s ease;
}
.hero-hint {
  position: absolute; top: 96px; left: 50%; transform: translateX(-50%);
  pointer-events: none; white-space: nowrap;
  font-size: 14px; color: var(--ink-soft);
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(160,200,255,.25); background: rgba(3,7,20,0.55); color: var(--ink);
  transition: opacity .8s ease;
}
.hero-hint .touch { display: none; }
@media (hover: none) { .hero-hint .touch { display: inline; } .hero-hint .mouse { display: none; } }

@media (max-width: 640px) { .hero-content { bottom: 84px; } .hero-sub { font-size: 15px; } .hero-hint { top: 84px; } }
.hero-tools {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  display: flex; gap: 8px;
}
.tool-btn {
  font: inherit; font-size: 14px; color: var(--ink);
  background: rgba(3, 7, 20, 0.55); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 9px 14px; border-radius: 999px; cursor: pointer;
}
.tool-btn:hover { border-color: rgba(77,255,176,.5); }
.scroll-cue {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  color: var(--ink-soft); text-decoration: none; font-size: 14px;
  padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(3, 7, 20, 0.55);
}

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2, .page-head h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(26px, 4vw, 42px); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 14px;
}
.section-head p, .page-head p { color: var(--ink-soft); margin: 0; font-size: 18px; }
.page-head { padding: 150px 0 40px; max-width: 760px; }

.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.card h3 { font-family: var(--display); font-weight: 500; font-size: 19px; margin: 14px 0 8px; }
.card p { margin: 0; color: var(--ink-soft); }
.card .num {
  font-family: var(--display); font-size: 13px; color: var(--green);
  letter-spacing: .1em;
}

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  color: #02150d; background: linear-gradient(90deg, var(--green), var(--teal));
  padding: 13px 24px; border-radius: 999px; border: 0;
  box-shadow: 0 0 30px rgba(77, 255, 176, 0.25);
}
.btn:hover { color: #02150d; filter: brightness(1.08); }
.btn-ghost {
  color: var(--ink); background: transparent; border: 1px solid var(--line); box-shadow: none;
}
.btn-ghost:hover { color: var(--ink); border-color: rgba(77,255,176,.5); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* placeholder media: soft aurora gradient with a label until real photos arrive */
.ph {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 30% 100%, rgba(77,255,176,.35), transparent 60%),
    radial-gradient(90% 70% at 80% 90%, rgba(167,123,255,.35), transparent 60%),
    linear-gradient(180deg, #030816, #0b1838);
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 14px; bottom: 12px;
  font-size: 13px; color: rgba(232,243,255,.75);
}
.ph.v2 { background:
    radial-gradient(100% 90% at 70% 100%, rgba(61,224,230,.35), transparent 60%),
    radial-gradient(80% 60% at 15% 80%, rgba(255,106,213,.28), transparent 60%),
    linear-gradient(180deg, #030816, #0b1838); }
.ph.v3 { background:
    radial-gradient(90% 100% at 50% 110%, rgba(167,123,255,.4), transparent 60%),
    radial-gradient(70% 60% at 85% 70%, rgba(77,255,176,.25), transparent 60%),
    linear-gradient(180deg, #030816, #0b1838); }
.ph.tall { aspect-ratio: 4 / 5; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  font: inherit; font-size: 15px; color: var(--ink-soft); cursor: pointer;
  background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
}
.chip[aria-pressed="true"] { color: var(--ink); background: rgba(77,255,176,.12); border-color: rgba(77,255,176,.45); }
@media (max-width: 640px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
}
.gallery { columns: 3 300px; column-gap: 18px; }
.g-item {
  break-inside: avoid; margin: 0 0 18px; position: relative;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #050b1f; cursor: zoom-in;
}
.g-item img, .g-item video { width: 100%; height: auto; }
.g-item .ph { border: 0; border-radius: 0; }
.g-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 14px 12px;
  font-size: 14px; color: var(--ink);
  background: linear-gradient(transparent, rgba(2,5,15,.85));
}
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: rgba(2,5,15,.6); border: 1px solid var(--line);
}
.lightbox {
  position: fixed; inset: 0; z-index: 50; display: none;
  align-items: center; justify-content: center; padding: 16px;
  background: rgba(2,5,15,.92);
}
.lightbox.open { display: flex; }
.lightbox-inner { max-width: min(1100px, 100%); max-height: 100%; }
.lightbox-inner img, .lightbox-inner video, .lightbox-inner .ph {
  max-height: 82vh; width: auto; margin: 0 auto; border-radius: 12px;
}
.lightbox-inner .ph { width: min(900px, 92vw); }
.lightbox-cap { text-align: center; color: var(--ink-soft); margin-top: 12px; }
.lightbox-close {
  position: absolute; top: 16px; right: 16px;
  font: inherit; font-size: 15px; color: var(--ink); cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
}

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: 15px; color: var(--ink-soft); }
input, select, textarea {
  font: inherit; color: var(--ink);
  background: rgba(3, 7, 20, 0.6); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(61,224,230,.18); }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 14px; color: var(--ink-faint); }
.form-status { font-size: 15px; min-height: 1.5em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--magenta); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--ink-faint); font-size: 15px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

.cta-band {
  text-align: center; padding: 90px 0;
  background: radial-gradient(60% 120% at 50% 100%, rgba(77,255,176,.10), transparent 70%);
}
.cta-band h2 { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 4vw, 40px); margin: 0 0 12px; }
.cta-band p { color: var(--ink-soft); margin: 0 auto; max-width: 560px; }
.cta-band .btn-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* fixes */
.contact-list.card { padding: 24px; }
.g-item .ph::after { top: 12px; right: 12px; left: auto; bottom: auto; font-size: 12px; opacity: .7; }

/* elements from the old site */
.feature-img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 0 60px rgba(90, 92, 255, .25); }
.uses { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-soft); }
.uses li { padding-left: 22px; position: relative; }
.uses li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--violet)); }
.cta-band { position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 50% auto auto 50%; width: 560px; height: 560px; transform: translate(-50%, -50%);
  background: url(../../media/butterfly.jpg) center / contain no-repeat; opacity: .32; filter: blur(2px);
  mask-image: radial-gradient(closest-side, #000 55%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent);
  pointer-events: none;
}
.cta-band .wrap { position: relative; }


/* ---------- brand, matched to the current business card ----------
   Six Caps wordmark + the card's spectrum band (red > orange > yellow > green > blue) */
.brand { text-decoration: none; display: inline-flex; }
.brand-word {
  font-family: var(--wordmark); font-size: 34px; line-height: 1; letter-spacing: .04em; text-transform: uppercase;
  background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 6px rgba(246, 226, 122, .25));
}
.section-head h2, .page-head h1, .card h3, .cta-band h2 { font-weight: 600; letter-spacing: -.015em; }
.hero-word { margin: 0; }
.hero-word .band {
  display: inline-block; font-family: var(--wordmark); font-weight: 400; text-transform: uppercase;
  font-size: clamp(64px, 14vw, 170px); line-height: .95; letter-spacing: .03em;
  padding: .04em .35em 0; color: #07080c; background: var(--spectrum);
  box-shadow: 0 0 60px rgba(238, 138, 60, .25), 0 0 120px rgba(79, 125, 224, .2);
}
.hero-tag { margin: 14px 0 0; font-size: clamp(18px, 2.6vw, 24px); color: var(--ink); font-weight: 400; }
.eyebrow { letter-spacing: .08em; text-transform: none; font-size: 15px; color: var(--ink-soft); }
.eyebrow b { color: var(--ink); }
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } .brand-word { font-size: 30px; } }
.create { padding-top: 0; }
.btn { background: var(--spectrum); color: #0a0a10; box-shadow: 0 0 30px rgba(238, 138, 60, .25); }
.btn:hover { color: #0a0a10; }
/* Contact page portrait */
.portrait { margin: 20px 0 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.portrait img { display: block; width: 100%; height: auto; }
.portrait figcaption { padding: 14px 18px; font-size: 15px; color: var(--ink-soft); }
.portrait figcaption b { display: block; color: var(--ink); font-size: 17px; }
