/* ── Loader ───────────────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
  background: var(--bg);
  overflow: hidden;
}

#loader-mesh {
  position: absolute; inset: -30%;
  opacity: 0;
  animation: loader-reveal 0.7s var(--expo) forwards;
  background:
    radial-gradient(ellipse 55% 55% at 25% 35%, rgba(124,58,237,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 75% 55%, rgba(14,165,233,0.15) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 55% 20%, rgba(249,115,22,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 40% 80%, rgba(244,63,94,0.1) 0%, transparent 60%);
}

#loader-logo {
  position: relative; z-index: 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s var(--expo), transform 0.7s var(--expo);
}
#loader-logo.up { opacity: 1; transform: translateY(0); }

#loader-svg {
  width: clamp(160px, 30vw, 280px);
  height: auto;
  display: block;
}

#loader-bar-wrap {
  position: relative; z-index: 1;
  width: 120px; height: 1px;
  background: var(--rule);
  overflow: hidden;
}
#loader-bar {
  position: absolute; inset: 0;
  background: var(--violet);
  transform: scaleX(0); transform-origin: left;
  animation: loader-bar 1.4s var(--expo) forwards 0.3s;
}

/* ── Cursor ───────────────────────────────────────────────────────── */
#cur {
  position: fixed; pointer-events: none; z-index: 9998;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid rgba(124,58,237,0.4);
  opacity: 0;
  transition: width .3s var(--expo), height .3s var(--expo),
              border-color .4s, opacity .4s, background .4s;
  will-change: transform;
  transform: translate(-50%,-50%);
}
#cur-dot {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--violet);
  opacity: 0;
  transition: opacity .4s, background .4s;
  will-change: transform;
  transform: translate(-50%,-50%);
  animation: dot-pulse 2.5s ease-in-out infinite;
}
#cur-glow {
  position: fixed; pointer-events: none; z-index: 9995;
  width: 180px; height: 180px; border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
  transition: opacity .5s, background .5s;
  will-change: transform;
  transform: translate(-50%,-50%);
}

/* ── Navigation ───────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.5rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  opacity: 0; transform: translateY(-8px);
  transition: opacity .6s var(--expo), transform .6s var(--expo),
              background .4s, box-shadow .4s;
}
#nav.visible {
  opacity: 1; transform: translateY(0);
  background: rgba(250,248,244,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--rule);
}

#nav-left { display: flex; flex-direction: column; gap: 1px; }
#nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  transition: opacity 0.3s;
}
#nav-logo:hover { opacity: 0.8; }

#nav-logo-svg {
  width: 90px;
  height: auto;
  display: block;
}

#footer-logo-svg {
  width: 120px;
  height: auto;
  display: block;
}
#nav-city {
  font-size: 0.6rem; letter-spacing: 0.14em;
  color: var(--ink-4);
}

#nav-links { display: flex; gap: 2.5rem; align-items: center; }
#nav-links a {
  font-size: 0.75rem; letter-spacing: 0.07em;
  color: var(--ink-3); transition: color .25s;
  position: relative; padding-bottom: 2px;
}
#nav-links a::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  width: 0; height: 1.5px; background: var(--violet);
  transition: width .35s var(--expo);
}
#nav-links a:hover { color: var(--ink); }
#nav-links a:hover::after { width: 100%; }

#nav-cta {
  font-size: 0.75rem; letter-spacing: 0.07em;
  padding: 0.5em 1.2em;
  background: var(--ink); color: #fff !important;
  border-radius: 100px;
  transition: background .3s, transform .2s !important;
}
#nav-cta:hover { background: var(--violet); transform: translateY(-1px); }
#nav-cta::after { display: none !important; }

/* ── Hero aurora mesh ─────────────────────────────────────────────── */
#aurora {
  position: absolute; inset: -25%;
  z-index: 0; pointer-events: none;
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); will-change: transform;
}
.blob-1 {
  width: 65vw; height: 65vw; opacity: 0.45;
  background: radial-gradient(circle, #c4b5fd 0%, #a78bfa 40%, transparent 70%);
  top: -25%; left: -15%;
  animation: blob-a 20s ease-in-out infinite;
}
.blob-2 {
  width: 50vw; height: 50vw; opacity: 0.35;
  background: radial-gradient(circle, #bae6fd 0%, #7dd3fc 40%, transparent 70%);
  top: 15%; right: -10%;
  animation: blob-b 25s ease-in-out infinite;
}
.blob-3 {
  width: 40vw; height: 40vw; opacity: 0.3;
  background: radial-gradient(circle, #fde68a 0%, #fcd34d 40%, transparent 70%);
  bottom: 0%; left: 25%;
  animation: blob-c 28s ease-in-out infinite;
}
.blob-4 {
  width: 30vw; height: 30vw; opacity: 0.25;
  background: radial-gradient(circle, #fecdd3 0%, #fda4af 40%, transparent 70%);
  bottom: 20%; right: 15%;
  animation: blob-d 22s ease-in-out infinite;
}

/* ── Hero ─────────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 2.5rem clamp(4rem, 8vh, 6rem);
  overflow: hidden;
}

/* vignette so ink text stays legible on light aurora */
#hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(250,248,244,0.97) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(250,248,244,0.15) 0%, transparent 35%);
}

#hero-inner { position: relative; z-index: 2; }

#hero-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.18em;
  color: var(--violet); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.8em;
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s var(--expo), transform .6s var(--expo);
}
#hero-eyebrow .ey-line {
  display: block; width: 1.6rem; height: 1.5px;
  background: var(--violet); opacity: 0.6;
}
#hero-eyebrow.up { opacity: 1; transform: translateY(0); }

#hero-h1 {
  font-size: clamp(4.5rem, 11vw, 12rem);
  line-height: 0.92; letter-spacing: -0.04em;
  color: var(--ink); margin-bottom: 2.5rem;
}
.hero-line { display: block; overflow: hidden; }

#hero-foot {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 2rem;
}

#hero-desc {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  color: var(--ink-3); line-height: 1.7; max-width: 30ch;
  opacity: 0; transform: translateY(10px);
  transition: opacity .7s var(--expo), transform .7s var(--expo);
}
#hero-desc.up { opacity: 1; transform: translateY(0); }

#hero-location {
  display: flex; align-items: center; gap: 0.5em;
  font-size: 0.68rem; letter-spacing: 0.14em;
  color: var(--ink-4); flex-shrink: 0;
  opacity: 0; transition: opacity .7s var(--expo);
}
#hero-location.up { opacity: 1; }
#hero-location::before {
  content: '◎'; font-size: 0.6rem;
  color: var(--rose); opacity: 0.8;
}

/* ── Statement ────────────────────────────────────────────────────── */
#statement {
  min-height: 85vh; display: flex; align-items: center;
  padding: 6rem 2.5rem;
  background: var(--bg);
}

#stmt-text {
  font-size: clamp(2.4rem, 5.5vw, 6rem);
  line-height: 1.08; letter-spacing: -0.03em;
  color: var(--ink); max-width: 1300px;
}
#stmt-text .w {
  display: inline-block; opacity: 0.1;
  margin-right: 0.2em;
  transition: opacity .5s var(--expo), color .5s var(--expo);
}
#stmt-text .w.lit { opacity: 1; }
#stmt-text .w.a1  { color: var(--violet); }
#stmt-text .w.a2  { color: var(--rose); }
#stmt-text .w.a3  { color: var(--sky); }

/* ── Services ─────────────────────────────────────────────────────── */
#services {
  padding: 7rem 2.5rem;
  background: var(--surface);
}

#svc-header {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1.5px solid var(--rule); padding-bottom: 1.5rem; margin-bottom: 0;
}
#svc-label {
  font-size: 0.68rem; letter-spacing: 0.18em; color: var(--ink-4);
}

.srow {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.8rem 0; border-bottom: 1px solid var(--rule);
  cursor: none; position: relative; overflow: hidden;
  background: transparent;
}

.srow-bg {
  position: absolute; inset: 0;
  opacity: 0; transform: scaleX(0); transform-origin: left;
  transition: opacity .5s var(--expo), transform .5s var(--expo);
  border-radius: 0;
}
.srow:hover .srow-bg { opacity: 1; transform: scaleX(1); }

.srow-left {
  display: flex; align-items: center; gap: 2rem;
  position: relative; z-index: 1;
}
.srow-num {
  font-size: 0.68rem; letter-spacing: 0.12em;
  color: var(--ink-4); min-width: 2ch;
  transition: color .3s;
}
.srow-title {
  font-size: clamp(2.2rem, 5vw, 5rem);
  letter-spacing: -0.03em; color: var(--ink-2); line-height: 1;
  transition: color .4s var(--expo);
}
.srow:hover .srow-title { color: var(--ink); }
.srow:hover .srow-num   { color: var(--ink); }

.srow-right {
  display: flex; align-items: center; gap: 1.5rem;
  position: relative; z-index: 1;
}
.srow-desc {
  font-size: 0.8rem; color: var(--ink-3);
  max-width: 26ch; text-align: right; line-height: 1.55;
  opacity: 0; transform: translateX(10px);
  transition: opacity .4s var(--expo), transform .4s var(--expo);
}
.srow:hover .srow-desc { opacity: 1; transform: translateX(0); }
.srow-arrow {
  font-size: 1.1rem; color: var(--ink-3);
  opacity: 0; transition: opacity .3s, transform .4s var(--expo);
}
.srow:hover .srow-arrow { opacity: 1; transform: translateX(4px); }

/* ── Ventures ─────────────────────────────────────────────────────── */
#ventures { padding: 3rem 2.5rem 8rem; background: var(--bg); }

#vnt-header {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1.5px solid var(--rule); padding-bottom: 1.5rem; margin-bottom: 1px;
}
#vnt-label { font-size: 0.68rem; letter-spacing: 0.18em; color: var(--ink-4); }
#vnt-count { font-size: 0.68rem; letter-spacing: 0.1em; color: var(--violet); }

#vnt-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 1px; background: var(--rule);
}

.vcard {
  background: var(--surface); padding: 3rem 2.5rem;
  cursor: none; position: relative; overflow: hidden;
}
.vcard:hover { box-shadow: 0 8px 40px rgba(26,21,35,0.08); }

.vcard-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--expo);
}
.vcard:hover .vcard-bar { transform: scaleX(1); }

.vcard-splash {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .5s var(--expo);
}
.vcard:hover .vcard-splash { opacity: 1; }

.vcard-index {
  font-size: 0.62rem; letter-spacing: 0.18em;
  margin-bottom: 1.5rem; position: relative; z-index: 1;
}
.vcard-title {
  font-size: clamp(1.7rem, 3vw, 2.9rem);
  letter-spacing: -0.025em; color: var(--ink-2); margin-bottom: 1rem;
  transition: color .4s var(--expo); position: relative; z-index: 1; line-height: 1.05;
}
.vcard:hover .vcard-title { color: var(--ink); }

.vcard-desc {
  font-size: 0.82rem; color: var(--ink-4); line-height: 1.65;
  margin-bottom: 2.5rem; position: relative; z-index: 1;
  transition: color .3s;
}
.vcard:hover .vcard-desc { color: var(--ink-3); }

.vcard-foot {
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.vcard-status {
  font-size: 0.62rem; letter-spacing: 0.14em;
  padding: 0.3em 0.9em; border: 1.5px solid var(--rule-mid);
  color: var(--ink-4); border-radius: 100px;
  transition: border-color .3s, color .3s;
}
.vcard-status.on { border-color: var(--sky); color: var(--sky); }

.vcard-tags { display: flex; gap: 0.5rem; }
.vcard-tag {
  font-size: 0.58rem; letter-spacing: 0.1em; color: var(--ink-4); opacity: 0.6;
}

/* ── Overlay ──────────────────────────────────────────────────────── */
#overlay {
  position: fixed; inset: 0; z-index: 5000;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 3.5rem 2.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .5s var(--expo);
  overflow: hidden;
}
#overlay.open { opacity: 1; pointer-events: all; }

#ov-bg { position: absolute; inset: 0; background: var(--bg); z-index: 0; }

#ov-mesh {
  position: absolute; inset: -30%; z-index: 0; pointer-events: none;
  opacity: 0; transition: opacity .8s var(--expo);
}
#overlay.open #ov-mesh { opacity: 1; }

#ov-close {
  position: absolute; top: 2.5rem; right: 2.5rem;
  font-size: 0.72rem; letter-spacing: 0.1em; color: var(--ink-3);
  cursor: none; display: flex; align-items: center; gap: 0.6em;
  transition: color .25s; padding: 0.5em 1em;
  border: 1.5px solid var(--rule-mid); border-radius: 100px; z-index: 1;
}
#ov-close:hover { color: var(--ink); border-color: var(--rule); }

#ov-content { position: relative; z-index: 1; }

#ov-index  { font-size: 0.65rem; letter-spacing: 0.18em; margin-bottom: 1.5rem; }
#ov-title  {
  font-size: clamp(3.5rem, 9vw, 9.5rem);
  letter-spacing: -0.04em; line-height: 0.9; color: var(--ink); margin-bottom: 1.5rem;
}
#ov-desc   {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem); color: var(--ink-2);
  max-width: 48ch; line-height: 1.75; margin-bottom: 2.5rem;
}
#ov-status {
  font-size: 0.68rem; letter-spacing: 0.15em;
  border: 1.5px solid var(--rule-mid); display: inline-block;
  padding: 0.45em 1.2em; border-radius: 100px; color: var(--ink-4);
}
#ov-status.on { border-color: var(--sky); color: var(--sky); }

#ov-tags { margin-top: 1.2rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }
.ov-tag {
  font-size: 0.62rem; letter-spacing: 0.1em; color: var(--ink-3);
  border: 1px solid var(--rule-mid); padding: 0.3em 0.8em; border-radius: 100px;
}

/* ── Contact ──────────────────────────────────────────────────────── */
#contact {
  padding: 8rem 2.5rem 6rem; position: relative;
  overflow: hidden; background: var(--ink);
}

#contact-mesh {
  position: absolute; inset: -30%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 70% at 85% 50%, rgba(124,58,237,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 15% 50%, rgba(244,63,94,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 10%, rgba(14,165,233,0.15) 0%, transparent 55%);
}

#contact-inner { position: relative; z-index: 1; }

#contact-label {
  font-size: 0.68rem; letter-spacing: 0.18em;
  color: rgba(250,248,244,0.4); margin-bottom: 2.5rem;
}
#contact-email {
  font-size: clamp(2.2rem, 5.5vw, 5.8rem);
  letter-spacing: -0.03em; color: rgba(250,248,244,0.7);
  display: block; width: fit-content; margin-bottom: 0.8rem;
  transition: color .3s;
}
#contact-email:hover { color: #faf8f4; }

.cur-blink {
  display: inline-block; width: 0.055em; height: 0.82em;
  background: var(--saffron); margin-left: 0.04em; vertical-align: middle;
  opacity: 0; animation: blink 1s step-end infinite;
}
#contact-sub {
  font-size: 0.82rem; color: rgba(250,248,244,0.35); margin-bottom: 4rem;
}

/* ── Footer ───────────────────────────────────────────────────────── */
#footer {
  padding: 2rem 2.5rem; background: var(--ink);
  border-top: 1px solid rgba(250,248,244,0.08);
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
#footer-left  { display: flex; flex-direction: column; gap: 2px; }
#footer-brand { font-size: 0.68rem; letter-spacing: 0.1em; color: rgba(250,248,244,0.45); }
#footer-city  { font-size: 0.58rem; letter-spacing: 0.14em; color: rgba(250,248,244,0.25); }

#footer-socials { display: flex; gap: 1.8rem; }
#footer-socials a {
  font-size: 0.68rem; letter-spacing: 0.08em;
  color: rgba(250,248,244,0.35); transition: color .25s;
}
#footer-socials a:hover { color: rgba(250,248,244,0.8); }

#footer-tag {
  font-size: 0.62rem; letter-spacing: 0.08em;
  color: rgba(250,248,244,0.2);
}
