/* ============================================================
   SIGNAL & ORBIT — HubSpot Brand Stylesheet
   Paste into: Settings → Website → Pages → Templates → Custom CSS
   Or: Your theme's main stylesheet
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

/* ── BRAND VARIABLES ── */
:root {
  --so-olive: #4A5C2A;
  --so-moss: #6B7E45;
  --so-gold: #C4901F;
  --so-gold-light: #E8B84B;
  --so-burgundy: #7B2535;
  --so-charcoal: #2C2A24;
  --so-cream: #F7F3EA;
}

/* ── BASE TYPOGRAPHY ── */
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--so-charcoal);
  background: var(--so-cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(36px, 5vw, 52px); }
h2 { font-size: clamp(28px, 4vw, 38px); }
h3 { font-size: 20px; }

p {
  font-size: 15px;
  line-height: 1.7;
}

/* ── GOLD AMPERSAND TREATMENT ──
   Wrap any & in headings with <em> to get the brand signature.
   Example: Strategy <em>&</em> Execution
*/
h1 em, h2 em, h3 em {
  color: var(--so-gold);
  font-style: italic;
}

/* On dark backgrounds, use the light gold */
.dark-section h1 em,
.dark-section h2 em,
.dark-section h3 em {
  color: var(--so-gold-light);
}

/* ── SECTION BACKGROUNDS ── */
.dark-section {
  background: var(--so-charcoal) !important;
  color: var(--so-cream);
}

.dark-section h1,
.dark-section h2,
.dark-section h3 {
  color: var(--so-cream);
}

.dark-section p {
  color: rgba(247, 243, 234, 0.7);
}

.cream-section {
  background: var(--so-cream) !important;
  color: var(--so-charcoal);
}

/* ── SECTION LABELS ──
   Add class "section-label" to small text above headings
*/
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--so-gold);
  margin-bottom: 8px;
}

/* ── GOLD RULE / DIVIDER ──
   Use a horizontal rule or a thin div with this class below headings
*/
.gold-rule,
.dark-section hr,
.cream-section hr {
  width: 60px;
  height: 2px;
  background: var(--so-gold);
  border: none;
  margin: 16px 0 32px;
}

/* ── BUTTONS / CTAs ── */
.hs-button,
.cta-button,
a.cta-button {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--so-charcoal) !important;
  background: var(--so-gold) !important;
  border: none !important;
  padding: 14px 32px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  display: inline-block;
  transition: background 0.2s !important;
}

.hs-button:hover,
.cta-button:hover,
a.cta-button:hover {
  background: var(--so-gold-light) !important;
}

/* Ghost/outline button variant for secondary CTAs */
.cta-ghost,
a.cta-ghost {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--so-gold) !important;
  background: transparent !important;
  border: 1.5px solid var(--so-gold) !important;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}

.cta-ghost:hover,
a.cta-ghost:hover {
  background: var(--so-gold) !important;
  color: var(--so-charcoal) !important;
}

/* ── NAVIGATION OVERRIDES ── */
.header__navigation a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── SERVICE CARDS ──
   Apply to rich text or custom modules in a multi-column layout
*/
.service-card {
  padding: 32px;
  border: 1px solid rgba(247, 243, 234, 0.1);
  border-radius: 6px;
  transition: border-color 0.3s, background 0.3s;
}

.dark-section .service-card:hover {
  border-color: rgba(196, 144, 31, 0.3);
  background: rgba(247, 243, 234, 0.03);
}

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: rgba(247, 243, 234, 0.65);
  line-height: 1.65;
}

/* ── SECTOR CARDS ──
   For cream/light background sections
*/
.sector-card {
  padding: 32px 24px;
  background: white;
  border-radius: 6px;
  border: 1px solid #E8E4DA;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.sector-card:hover {
  border-color: var(--so-gold);
  box-shadow: 0 4px 24px rgba(196, 144, 31, 0.08);
}

.sector-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 10px;
}

.sector-card p {
  font-size: 13.5px;
  color: #666;
}

/* ── TESTIMONIAL SLIDER OVERRIDES ──
   These override HubSpot's built-in testimonial slider module
*/
.hs-testimonial-slider,
.testimonial-slider {
  background: var(--so-charcoal);
  padding: 80px 0;
}

.hs-testimonial-slider blockquote,
.testimonial-slider blockquote {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-style: italic;
  color: rgba(247, 243, 234, 0.75);
  line-height: 1.7;
  border: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
}

.hs-testimonial-slider blockquote::before,
.testimonial-slider blockquote::before {
  content: "\201C";
  font-family: 'Cormorant Garamond', serif;
  font-size: 60px;
  color: var(--so-gold);
  opacity: 0.4;
  display: block;
  line-height: 1;
  margin-bottom: -8px;
}

.testimonial-author-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--so-cream);
}

.testimonial-author-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(247, 243, 234, 0.5);
}

.testimonial-author-image img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(247, 243, 234, 0.1);
}

/* Slider navigation dots */
.hs-testimonial-slider .slick-dots li button::before,
.testimonial-slider .slick-dots li button::before {
  color: rgba(247, 243, 234, 0.3) !important;
}

.hs-testimonial-slider .slick-dots li.slick-active button::before,
.testimonial-slider .slick-dots li.slick-active button::before {
  color: var(--so-gold) !important;
}

/* Slider navigation arrows */
.hs-testimonial-slider .slick-arrow::before,
.testimonial-slider .slick-arrow::before {
  color: var(--so-gold) !important;
}

/* ── PULL QUOTE / ACCENT TEXT ──
   For standout lines like the outcomes pricing statement
*/
.accent-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 19px;
  color: var(--so-charcoal);
  line-height: 1.5;
  border-left: 2px solid var(--so-gold);
  padding-left: 20px;
  margin: 24px 0;
}

/* ── FORM OVERRIDES ──
   Applies to any HubSpot form on the site
*/
.hs-form-field > label {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #888 !important;
  letter-spacing: 0.04em !important;
}

.hs-input {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  padding: 12px 16px !important;
  border: 1px solid #D8D4CA !important;
  border-radius: 4px !important;
  background: white !important;
  color: var(--so-charcoal) !important;
}

.hs-input:focus {
  border-color: var(--so-gold) !important;
  outline: none !important;
}

.hs-form-field {
  margin-bottom: 16px !important;
}

textarea.hs-input {
  min-height: 100px !important;
  resize: vertical !important;
}

.hs-error-msgs {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  color: var(--so-burgundy) !important;
  list-style: none !important;
}

.submitted-message {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 16px !important;
  color: var(--so-olive) !important;
}

/* ── FOOTER ── */
.footer {
  background: var(--so-charcoal);
  color: rgba(247, 243, 234, 0.5);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
}

.footer a {
  color: rgba(247, 243, 234, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--so-gold-light);
}

/* ── UTILITIES ── */
.text-gold { color: var(--so-gold); }
.text-gold-light { color: var(--so-gold-light); }
.text-olive { color: var(--so-olive); }
.text-cream { color: var(--so-cream); }
.bg-charcoal { background: var(--so-charcoal); }
.bg-cream { background: var(--so-cream); }
