/* ===================================================================
   C3 Studio — shared stylesheet
   Elegant black / dark theme with gold lettering
   Used by: index.html, privacy.html, terms.html
   =================================================================== */

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

:root {
  /* Surfaces */
  --bg:            #0a0a0a;   /* near-black page background        */
  --surface:       #1a1a1a;   /* cards / sections                 */
  --surface-2:     #202020;   /* nested / hover surfaces          */

  /* Gold accents */
  --gold:          #D4AF37;   /* primary gold                     */
  --gold-deep:     #C9A227;   /* deeper gold (borders / hover)    */
  --gold-soft:     rgba(212, 175, 55, 0.35); /* hairline dividers */

  /* Text */
  --text:          #E8E8E8;   /* body copy                        */
  --muted:         #a8a8a8;   /* secondary text                   */
  --heading:       #F1E6C8;   /* warm off-white for headings      */

  /* Structure */
  --border:        rgba(212, 175, 55, 0.22);
  --radius:        12px;
  --maxw:          1160px;

  --serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--heading); line-height: 1.2; }

a { color: var(--gold); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-deep); text-decoration: underline; }

::selection { background: var(--gold); color: #0a0a0a; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

.divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  margin: 2.5rem 0;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(15px, 2.4vw, 20px);
  letter-spacing: .5px;
  color: var(--gold);
  text-transform: uppercase;
}
.brand:hover { color: var(--gold-deep); text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .3px;
}
.nav-links a:hover { color: var(--gold); text-decoration: none; }

/* Call button (class preserved for existing hooks) */
.call-btn {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.call-btn:hover { background: var(--gold); color: #0a0a0a; text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 2.5rem;
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(212,175,55,0.10), transparent 70%),
    var(--bg);
}
.hero h2 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  margin-bottom: 1rem;
}
.hero .accent { color: var(--gold); }
.hero p {
  color: var(--muted);
  font-size: clamp(15px, 2.2vw, 19px);
  max-width: 640px;
  margin: 0 auto;
}
.hero .rule {
  width: 90px; height: 2px;
  background: var(--gold);
  margin: 1.75rem auto 0;
  border: 0;
}

/* ---------- Main two-column ---------- */
.main {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  padding: 2.5rem 1.5rem 3.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  flex: 1;
  align-items: start;
}
.left  { display: flex; flex-direction: column; gap: 1.75rem; min-width: 0; }
.right { position: sticky; top: 96px; }

/* ---------- Form card ---------- */
.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}
.form-card h3 {
  font-size: 24px;
  margin-bottom: 1rem;
  color: var(--gold);
}
.form-card input,
.form-card textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.85rem;
  background: #121212;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-card input::placeholder,
.form-card textarea::placeholder { color: #7d7d7d; }
.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

/* SMS consent block */
.consent {
  margin: 0.4rem 0 1.1rem;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.consent label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.consent input[type="checkbox"] {
  margin-top: 3px; width: 16px; height: 16px;
  accent-color: var(--gold);
  flex: 0 0 auto;
}
.consent strong { color: var(--text); }

/* Submit button (class preserved for existing hooks) */
.submit-btn {
  width: 100%;
  padding: 0.85rem;
  background: var(--gold);
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
  cursor: pointer;
  transition: background .2s ease, transform .05s ease;
}
.submit-btn:hover { background: var(--gold-deep); }
.submit-btn:active { transform: translateY(1px); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Honeypot field — hidden from sighted/mouse users, still in the DOM for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Form submission status message */
.form-status {
  margin-top: 0.85rem;
  font-size: 14px;
  line-height: 1.5;
}
.form-status--success { color: #8FCB8F; }
.form-status--error { color: #E08585; }

/* SMS disclosure sub-panel */
.disclosure {
  margin-top: 1.1rem;
  padding: 1rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.disclosure strong { color: var(--gold); }

/* ---------- Bio ---------- */
.bio {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text);
}
.bio h3 { font-size: 22px; color: var(--gold); margin-bottom: 0.75rem; }
.bio p { color: var(--muted); margin-bottom: 0.9rem; }
.bio strong { color: var(--text); }

/* ---------- Headshot ---------- */
.headshot {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface), #0f0f0f);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transition: box-shadow .35s ease, border-color .35s ease, transform .35s ease;
}
.headshot:hover {
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px var(--gold-soft),
    0 12px 40px rgba(212, 175, 55, 0.28),
    0 8px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}
.headshot img { width: 100%; height: auto; display: block; }
.headshot figcaption {
  padding: 0.9rem 1rem;
  text-align: center;
  font-family: var(--serif);
  color: var(--gold);
  font-size: 15px;
  border-top: 1px solid var(--border);
}

/* ---------- Legal / content pages ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  width: 100%;
  flex: 1;
}
.legal h1 {
  font-size: clamp(30px, 5vw, 42px);
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 1.5rem; }
.legal h2 {
  font-size: 24px;
  color: var(--heading);
  margin: 2rem 0 0.75rem;
}
.legal p { margin-bottom: 1rem; color: var(--text); }
.legal ul { margin: 0 0 1rem 1.4rem; }
.legal li { margin-bottom: 0.5rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 14px;
  color: var(--muted);
}
.site-footer a { color: var(--gold); }
.site-footer .footer-links { margin-top: 0.75rem; }
.site-footer .sep { color: var(--gold-soft); margin: 0 0.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main { grid-template-columns: 1fr; gap: 2rem; }
  .right { position: static; order: -1; max-width: 420px; margin: 0 auto; }
  .hero { padding: 3rem 1.25rem 2rem; }
}

@media (max-width: 560px) {
  .nav { justify-content: center; text-align: center; }
  .nav-links { gap: 1rem; justify-content: center; }
  .brand { width: 100%; text-align: center; }
  .form-card { padding: 1.25rem; }
}
