/* ============================================================
   Priya Labs — luxury one-page site
   Obsidian field · antique gold · warm ivory
   ============================================================ */

:root {
  --obsidian:   #0B0B0D;
  --panel:      #121214;
  --panel-soft: #16161a;
  --ivory:      #F4F1EA;
  --muted:      #9C968C;
  --faint:      #6c6862;
  --gold:       #C8A24C;
  --gold-hi:    #E5C87E;
  --gold-deep:  #8a6f2f;
  --line:       rgba(200, 162, 76, 0.22);
  --line-soft:  rgba(244, 241, 234, 0.08);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1120px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--obsidian);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* fine film grain over everything */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }

::selection { background: rgba(200, 162, 76, 0.3); color: var(--ivory); }

/* ---------- shared bits ---------- */
.eyebrow,
.section__index {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-top: 0.6rem;
}

.section__rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--line) 0%, transparent 60%);
  margin-bottom: clamp(2.4rem, 6vw, 4rem);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  background: transparent;
  color: var(--ivory);
  position: relative;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hi) 100%);
  color: #1a1407;
  border-color: transparent;
  font-weight: 500;
}
.btn--gold:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 34px -12px rgba(200, 162, 76, 0.6);
  transform: translateY(-2px);
}

.btn--ghost { color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); }

.btn--block { width: 100%; padding: 1.1rem; margin-top: 0.5rem; }
.btn:disabled { opacity: 0.5; cursor: progress; transform: none; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  background: rgba(11, 11, 13, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line-soft); background: rgba(11,11,13,0.82); }

.nav__brand { display: flex; align-items: center; gap: 0.65rem; }
.nav__mark {
  display: inline-grid;
  place-items: center;
  width: 1.7rem; height: 1.7rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gold-hi);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.nav__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem); }
.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.nav__links a:hover { color: var(--ivory); }
.nav__cta {
  color: var(--gold) !important;
  border: 1px solid var(--line);
  padding: 0.5rem 1rem;
  border-radius: 2px;
}
.nav__cta:hover { background: rgba(200,162,76,0.08); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem var(--pad) 3rem;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: 38%; left: 50%;
  width: min(90vw, 720px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200,162,76,0.20) 0%, rgba(200,162,76,0.06) 38%, transparent 68%);
  filter: blur(20px);
  z-index: 0;
  animation: emberPulse 8s ease-in-out infinite;
}
@keyframes emberPulse {
  0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.06); }
}
.hero__inner { position: relative; z-index: 2; max-width: 860px; }

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4rem, 17vw, 11rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin: 0.6rem 0 1.4rem;
}
.hero__title span { display: inline-block; }
.hero__title--accent {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hi) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  margin-left: 0.15em;
}
.hero__tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.04em;
  max-width: 38ch;
  margin: 0 auto;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 1px; height: 48px;
  background: linear-gradient(var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll span::after {
  content: "";
  position: absolute; top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--gold-hi);
  animation: scrollDrop 2.2s var(--ease) infinite;
}
@keyframes scrollDrop {
  0% { top: -50%; } 100% { top: 100%; }
}

/* ============================================================
   Section frame
   ============================================================ */
section.about,
section.ventures,
section.contact {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4.5rem, 11vw, 8rem) var(--pad);
}

/* ---------- About ---------- */
.about__lead {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0.005em;
  max-width: 32ch;
  margin: 1.2rem 0 1.6rem;
}
.about__body {
  color: var(--muted);
  max-width: 52ch;
  font-size: 1.02rem;
}
.about__pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2.6rem, 6vw, 4rem);
  border-top: 1px solid var(--line-soft);
  padding-top: 2.2rem;
}
.about__pillars li { display: flex; flex-direction: column; gap: 0.5rem; }
.about__num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold-hi);
  font-style: italic;
}
.about__desc { color: var(--muted); font-size: 0.92rem; }

/* ---------- Ventures ---------- */
.ventures__head { margin-bottom: clamp(2.4rem, 5vw, 3.4rem); }

.venture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.venture {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.venture::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(200,162,76,0.10), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.venture:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  background: var(--panel-soft);
}
.venture:hover::before { opacity: 1; }

.venture--flagship {
  grid-column: span 2;
  border-color: var(--line);
  background: linear-gradient(145deg, var(--panel) 0%, #14110b 100%);
}
.venture--flagship .venture__name { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.venture--flagship .venture__blurb { max-width: 46ch; }

.venture__tag {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: auto;
}
.venture__tag--gold {
  color: #1a1407;
  background: linear-gradient(135deg, var(--gold), var(--gold-hi));
  align-self: flex-start;
  padding: 0.28rem 0.7rem;
  border-radius: 2px;
  font-weight: 500;
}
.venture__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.3rem);
  letter-spacing: 0.01em;
  margin: 1.4rem 0 0.7rem;
}
.venture__blurb { color: var(--muted); font-size: 0.98rem; max-width: 38ch; }
.venture__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 1.5rem;
}
.venture__link {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
a.venture__link {
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s var(--ease);
}
a.venture__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
a.venture__link:hover { color: var(--gold-hi); }
a.venture__link:hover::after { transform: scaleX(1); }
.venture--ghost { background: transparent; border-style: dashed; }
.venture--ghost .venture__name,
.venture--ghost .venture__blurb { color: var(--faint); }
.venture--ghost .venture__link { color: var(--faint); }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact__note {
  color: var(--muted);
  max-width: 36ch;
  margin-top: 1.4rem;
}
.contact__form { display: flex; flex-direction: column; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.85rem 1rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--panel-soft);
}
.field input.is-invalid,
.field textarea.is-invalid { border-color: #b3543f; }

.form__status {
  font-size: 0.88rem;
  min-height: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.form__status.is-ok { color: var(--gold-hi); }
.form__status.is-err { color: #d77a63; }

/* ============================================================
   Footer
   ============================================================ */
.footer { position: relative; z-index: 2; padding: 0 var(--pad) 2.5rem; }
.footer__rule { height: 1px; background: var(--line-soft); max-width: var(--maxw); margin: 0 auto 2rem; }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.footer__brand { display: flex; align-items: center; gap: 0.55rem; font-family: var(--serif); font-size: 1.05rem; color: var(--ivory); }
.footer__top { color: var(--gold); letter-spacing: 0.1em; }
.footer__top:hover { color: var(--gold-hi); }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 0.9s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 110ms + 120ms);
}
@keyframes reveal { to { opacity: 1; transform: none; } }

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.scroll-reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 720px) {
  .nav__name { display: none; }
  .venture-grid { grid-template-columns: 1fr; }
  .venture--flagship { grid-column: span 1; }
  .about__pillars { grid-template-columns: 1fr; gap: 1.4rem; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .scroll-reveal { opacity: 1; transform: none; }
}
