/* =====================================================================
   Conde Ventures LLC — styles.css
   Single shared stylesheet for index / privacy / support.
   Plain CSS, no build step. Brand: Playfair Display + Montserrat,
   navy / charcoal palette. See AGENTS.md for conventions.
   ===================================================================== */

/* ---- Design tokens ------------------------------------------------- */
:root {
  /* Color */
  --navy:        #1B2A4D;   /* primary ink / monogram "C" / buttons / footer */
  --navy-700:    #16223D;   /* darker navy — hover/pressed */
  --charcoal:    #2F3540;   /* secondary / monogram "V" / strong text */
  --mist:        #C7D0E0;   /* soft blue-gray — illustration / node accents */
  --line:        #E6E9F0;   /* hairlines & borders on light backgrounds */
  --bg:          #FAFBFC;   /* page background */
  --paper:       #FFFFFF;   /* cards & form fields */
  --text:        #1F2533;   /* body text */
  --muted:       #5A6373;   /* secondary text */
  --footer-text: rgba(255, 255, 255, 0.72);
  --footer-line: rgba(255, 255, 255, 0.14);

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Layout */
  --maxw: 1180px;
  --radius: 8px;
  --radius-sm: 5px;

  /* Effects */
  --shadow-card:  0 1px 2px rgba(27, 42, 77, 0.04);
  --shadow-hover: 0 12px 30px rgba(27, 42, 77, 0.10);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Reset / base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: var(--navy-700); }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 var(--space-4); }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Layout helpers ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section { padding-block: var(--space-9); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 var(--space-4);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-right: 0.6em;
  border-radius: 50%;
  background: var(--mist);
  vertical-align: middle;
}

.section-head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: var(--space-8); }
.section-head .eyebrow { text-align: center; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; }

.btn-ghost { background: transparent; color: var(--navy); padding-inline: 0.2rem; }
.btn-ghost::after { content: ""; display: block; }
.btn-ghost .label { border-bottom: 1px solid var(--mist); padding-bottom: 2px; }
.btn-ghost:hover .label { border-color: var(--navy); }

/* ---- Header / nav -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 251, 252, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: var(--space-5);
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand .monogram { width: 38px; height: 38px; flex: none; }
.brand .wordmark {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.brand .wordmark .llc { color: var(--charcoal); }

.main-nav { display: flex; align-items: center; gap: var(--space-6); }
.main-nav a.nav-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.main-nav a.nav-link:hover { color: var(--navy); }
.nav-cta { padding: 0.7rem 1.15rem; }

.nav-toggle { display: none; }

/* ---- Hero ---------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem); }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: var(--space-7);
}
.hero-actions { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }

.hero-art { width: 100%; }
.hero-art svg { width: 100%; height: auto; }

/* ---- Feature strip ------------------------------------------------- */
.features {
  border-block: 1px solid var(--line);
  background: var(--paper);
}
.features .container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.features-eyebrow {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: var(--space-6);
  margin-bottom: 0;
}
.feature {
  padding: var(--space-6) var(--space-5);
  border-left: 1px solid var(--line);
}
.feature:first-child { border-left: 0; padding-left: 0; }
.feature:last-child { padding-right: 0; }
.feature .ficon { width: 30px; height: 30px; color: var(--navy); margin-bottom: var(--space-4); }
.feature h3 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--space-2);
}
.feature p { font-size: 0.9rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---- Services ------------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: var(--space-4);
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--mist);
}
.service-card .sicon { width: 34px; height: 34px; color: var(--navy); margin-bottom: var(--space-5); }
.service-card h3 { font-size: 1.32rem; margin-bottom: var(--space-3); }
.service-card p { font-size: 0.94rem; color: var(--muted); flex: 1; }
.service-card .learn {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5em; margin-top: var(--space-4);
}
.service-card .learn .arrow { transition: transform 0.2s var(--ease); }
.service-card:hover .learn .arrow { transform: translateX(3px); }

/* ---- Contact / inquiry --------------------------------------------- */
.contact { background: var(--paper); border-top: 1px solid var(--line); }
.contact .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-intro h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: var(--space-5); }
.contact-intro p { color: var(--muted); max-width: 38ch; }
.contact-meta { margin-top: var(--space-7); display: grid; gap: var(--space-4); }
.contact-meta .row { display: flex; align-items: center; gap: 0.75rem; color: var(--charcoal); font-size: 0.96rem; }
.contact-meta .row svg { width: 20px; height: 20px; color: var(--navy); flex: none; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--charcoal); margin-bottom: var(--space-2);
}
.field label .req { color: var(--navy); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  width: 100%;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(27, 42, 77, 0.10);
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa3b2; }

.form-actions { display: flex; align-items: center; gap: var(--space-5); margin-top: var(--space-2); }
.form-status { font-size: 0.9rem; }
.form-status.success { color: #1f7a4d; }
.form-status.error { color: #b23b3b; }
button[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---- Footer -------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--footer-text); }
.site-footer .container { padding-block: var(--space-8); }
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; }
.footer-brand .monogram { width: 40px; height: 40px; }
.footer-brand .wordmark { font-family: var(--font-display); font-size: 1.2rem; color: #fff; font-weight: 600; }
.footer-tagline { font-style: italic; font-family: var(--font-display); color: var(--mist); margin-top: var(--space-2); font-size: 0.98rem; }

.footer-meta { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); align-items: center; }
.footer-meta a { color: #fff; }
.footer-meta a:hover { color: var(--mist); }
.footer-sep { color: var(--footer-line); }

.footer-bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--footer-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 0.84rem;
}
.footer-bottom .legal { color: #fff; }
.footer-links { display: flex; gap: var(--space-5); }
.footer-links a { color: var(--footer-text); }
.footer-links a:hover { color: #fff; }

/* ---- Content pages (privacy / support) ----------------------------- */
.page { padding-block: clamp(3rem, 6vw, 5rem); }
.page .container { max-width: 760px; }
.page h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: var(--space-3); }
.page .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: var(--space-7); }
.page h2 { font-size: 1.4rem; margin-top: var(--space-7); margin-bottom: var(--space-3); }
.page p, .page li { color: var(--text); }
.page ul { padding-left: 1.2rem; margin-bottom: var(--space-4); }
.page li { margin-bottom: var(--space-2); }
.page .note {
  background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--mist);
  border-radius: var(--radius-sm); padding: var(--space-4) var(--space-5); color: var(--muted);
  font-size: 0.92rem; margin: var(--space-5) 0;
}

/* ---- Hero load animation ------------------------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: rise 0.7s var(--ease) both; }
.reveal.d1 { animation-delay: 0.08s; }
.reveal.d2 { animation-delay: 0.16s; }
.reveal.d3 { animation-delay: 0.24s; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 940px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 440px; margin-inline: auto; }
  .hero-lead { max-width: none; }
  .features .container { grid-template-columns: repeat(2, 1fr); }
  .feature { border-left: 1px solid var(--line); }
  .feature:nth-child(odd) { border-left: 0; padding-left: 0; }
  .feature:nth-child(2n) { padding-right: 0; }
  .contact .container { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav .nav-link { display: none; }       /* keep the CTA, drop the text links */
  .nav-cta { padding: 0.62rem 1rem; }
  .site-header .container { min-height: 64px; }
  .section { padding-block: var(--space-8); }
  .form-grid { grid-template-columns: 1fr; }
  .features .container { grid-template-columns: 1fr; }
  .feature { border-left: 0 !important; padding: var(--space-5) 0; border-top: 1px solid var(--line); }
  .feature:first-child { border-top: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---- Reduced motion ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
