/* DOONKHAV Technologies — shared styles */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --ink: #0B0F1A;
  --ink-2: #141A2B;
  --ink-3: #1E2438;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);
  --paper: #F5F3EE;
  --paper-2: #ECE8DD;
  --violet: #7C5CFF;
  --violet-2: #5B3CFF;
  --lime: #C6F24E;
  --coral: #FF6B5B;
  --amber: #FFB547;
  --mute: rgba(245,243,238,0.62);
  --mute-ink: rgba(11,15,26,0.62);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-soft: 0 30px 80px -20px rgba(0,0,0,0.45);
  --display: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1280px, calc(100% - 48px)); margin: 0 auto; }
.container-wide { width: min(1480px, calc(100% - 48px)); margin: 0 auto; }

/* Typography */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-size: clamp(48px, 7vw, 120px);
  margin: 0;
}
.display em { font-style: italic; color: var(--lime); font-weight: 400; }
.h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: clamp(36px, 4.6vw, 72px);
  margin: 0;
}
.h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-size: clamp(28px, 2.6vw, 40px);
  margin: 0;
}
.lead { font-size: 18px; line-height: 1.55; color: var(--mute); max-width: 60ch; }
.tag-mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: #d3ff5e; }
.btn-violet { background: var(--violet); color: var(--paper); }
.btn-violet:hover { background: var(--violet-2); }
.btn-ghost { border-color: var(--line-strong); color: var(--paper); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11,15,26,0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
}
.logo-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  /* Brighten the dark navy artwork to render legibly on the dark ink background */
  filter: brightness(0) saturate(100%) invert(94%) sepia(8%) saturate(180%) hue-rotate(2deg) brightness(102%);
}
/* On paper / light backgrounds, restore the original navy */
.on-paper .logo-mark img,
.logo.on-paper .logo-mark img {
  filter: none;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 14px; color: var(--paper); opacity: 0.78;
  transition: opacity .2s ease;
  position: relative;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: var(--lime);
}
.nav-links .dropdown { position: relative; }
.nav-links .dropdown > a::after { content: ' ↓'; opacity: 0.5; font-size: 10px; }
.nav-links .dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: -16px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 8px; min-width: 240px;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease;
  box-shadow: var(--shadow-soft);
}
.nav-links .dropdown:hover .dropdown-menu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-links .dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px; opacity: 0.9;
  font-size: 14px;
}
.nav-links .dropdown-menu a:hover { background: rgba(255,255,255,0.05); }
.nav-links .dropdown-menu .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }

/* Footer */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 80px 0 40px;
  margin-top: 120px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 14px; opacity: 0.8; }
.footer ul a:hover { opacity: 1; color: var(--lime); }
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--mute);
}
.footer-cta {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.footer-cta em { color: var(--lime); font-style: italic; }

/* Generic blocks */
.section { padding: 120px 0; }
.section-tight { padding: 80px 0; }
.divider { height: 1px; background: var(--line); width: 100%; }

.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.card-paper {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 28px;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

/* Light section */
.light {
  background: var(--paper);
  color: var(--ink);
}
.light .lead { color: var(--mute-ink); }
.light .eyebrow { color: var(--mute-ink); }
.light .pill { background: rgba(11,15,26,0.04); border-color: rgba(11,15,26,0.1); }
.light .card { background: #fff; border-color: rgba(11,15,26,0.08); color: var(--ink); }

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--ink);
}
.marquee-track {
  display: flex; gap: 60px;
  animation: marquee 40s linear infinite;
  width: max-content;
  align-items: center;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--display); font-style: italic;
  font-size: 28px;
  color: rgba(245,243,238,0.6);
}
.marquee-item .star { color: var(--lime); font-style: normal; }

/* Gradient mesh background */
.mesh {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 18% 30%, rgba(124,92,255,0.45) 0%, rgba(124,92,255,0) 60%),
    radial-gradient(40% 40% at 78% 22%, rgba(198,242,78,0.18) 0%, rgba(198,242,78,0) 60%),
    radial-gradient(50% 50% at 60% 80%, rgba(255,107,91,0.18) 0%, rgba(255,107,91,0) 60%);
  filter: blur(20px);
  opacity: 0.9;
}

/* Hero noise overlay */
.noise {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* Page hero (sub pages) */
.page-hero {
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 24px 0 24px;
}
.page-hero h1 em { font-style: italic; color: var(--lime); }

/* Hover lift */
.lift { transition: transform .25s ease, border-color .25s ease; }
.lift:hover { transform: translateY(-4px); border-color: var(--line-strong); }

/* Scroll reveal placeholder (we use CSS only) */
.fade-up { animation: fadeUp 0.7s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive niceties */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}


/* ===== Contact form + WP entry-content ===== */
/* Contact form styles — appended to main.css for the WP build */

.doonkhav-contact { display: flex; flex-direction: column; gap: 22px; }
.doonkhav-contact label { display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--mute); letter-spacing: 0.06em; text-transform: uppercase; }
.doonkhav-contact input[type=text], .doonkhav-contact input[type=email], .doonkhav-contact textarea {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px 16px; color: var(--paper); font-family: var(--sans); font-size: 15px;
  transition: border-color .2s ease;
}
.doonkhav-contact input:focus, .doonkhav-contact textarea:focus { outline: none; border-color: var(--violet); }
.doonkhav-contact .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.doonkhav-contact .form-pills { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.doonkhav-contact .form-label { font-family: var(--mono); font-size: 12px; color: var(--mute); letter-spacing: 0.06em; text-transform: uppercase; margin-right: 8px; flex-basis: 100%; margin-bottom: 4px; }
.doonkhav-contact .pill-pick {
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; color: var(--paper); font-family: var(--mono); font-size: 12px;
  cursor: pointer; transition: all .2s ease;
}
.doonkhav-contact .pill-pick:hover { border-color: var(--line-strong); }
.doonkhav-contact .pill-pick.selected { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.doonkhav-contact textarea { resize: vertical; min-height: 140px; }
.doonkhav-contact .form-status { font-family: var(--mono); font-size: 13px; min-height: 18px; }

/* WP entry-content niceties */
.entry-content { font-size: 17px; line-height: 1.7; max-width: 70ch; }
.entry-content h2 { font-family: var(--display); font-size: clamp(28px, 3vw, 44px); margin: 48px 0 16px; letter-spacing: -0.02em; line-height: 1.1; }
.entry-content h3 { font-family: var(--display); font-size: clamp(22px, 2vw, 30px); margin: 32px 0 12px; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content a { color: var(--lime); border-bottom: 1px solid rgba(198,242,78,0.3); }
.entry-content a:hover { border-color: var(--lime); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-content blockquote {
  border-left: 3px solid var(--lime); padding-left: 24px; margin: 32px 0;
  font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.3; font-style: italic;
}
.entry-content img { border-radius: var(--r-md); margin: 24px 0; }
.entry-content code { font-family: var(--mono); background: var(--ink-2); padding: 2px 8px; border-radius: 6px; font-size: 0.9em; }
.entry-content pre { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; overflow-x: auto; }

/* WP comments + nav-menu sub-menu */
.nav-links ul.sub-menu { list-style: none; padding: 0; margin: 0; }
.nav-links .menu-item-has-children > a::after { content: ' ↓'; opacity: .5; font-size: 10px; }
