/* ─────────────────────────────────────────────────────────────────────────────
   JENSEN CAPITAL — WordPress Theme Styles
   Design: Warm Sand Clean (Theme G — approved mockup)
   Fonts: Cormorant Garamond (logo/headings) · DM Sans (nav/labels) · Inter Tight (body)
   Colors: #FAF8F5 bg · #1C1410 ink · #6B5E52 muted · #C4A882 sand accent
   Layout: Single-page, all sections warm sand background, no dark sections
───────────────────────────────────────────────────────────────────────────── */

/* ─── Design Tokens ─── */
:root {
  --jc-bg:          #FAF8F5;
  --jc-ink:         #1C1410;
  --jc-muted:       #6B5E52;
  --jc-sand:        #C4A882;
  --jc-sand-light:  rgba(196,168,130,0.15);
  --jc-sand-border: rgba(196,168,130,0.3);
  --jc-white:       #FFFFFF;
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-nav:       'DM Sans', system-ui, sans-serif;
  --font-body:      'Inter Tight', system-ui, sans-serif;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.85;
  color: var(--jc-ink);
  background: var(--jc-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Navigation ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, border-bottom 0.3s ease, box-shadow 0.3s ease;
  padding: 0 48px;
  height: 58px;
  display: flex;
  align-items: center;
}
.site-header.scrolled {
  background: rgba(250,248,245,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196,168,130,0.25);
  box-shadow: 0 2px 24px rgba(28,20,16,0.06);
}
.nav-inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-line {
  width: 18px;
  height: 2px;
  background: var(--jc-sand);
  flex-shrink: 0;
}
/* Logo text — Cormorant Garamond all-caps, matches Carolina Creations Orpheus Pro */
.nav-logo-name,
.wp-block-site-title,
.wp-block-site-title a {
  font-family: var(--font-display) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  text-decoration: none !important;
  line-height: 1 !important;
  transition: color 0.3s ease;
}
.site-header.scrolled .nav-logo-name,
.site-header.scrolled .wp-block-site-title a {
  color: var(--jc-ink) !important;
}
/* Nav links — DM Sans, mixed case, matches Carolina Creations */
.nav-links {
  display: flex !important;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a,
.wp-block-navigation-item__content {
  font-family: var(--font-nav) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  color: rgba(255,255,255,0.75) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.site-header.scrolled .nav-links a,
.site-header.scrolled .wp-block-navigation-item__content {
  color: var(--jc-muted) !important;
}
.nav-links a:hover,
.wp-block-navigation-item__content:hover {
  color: #fff !important;
}
.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .wp-block-navigation-item__content:hover {
  color: var(--jc-ink) !important;
}

/* ─── Hero Section ─── */
.hero-section {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28,20,16,0.2) 0%, rgba(28,20,16,0.05) 40%, rgba(28,20,16,0.6) 100%);
}
.hero-content {
  position: absolute !important;
  bottom: 60px;
  left: 48px;
  right: 48px;
  color: #fff;
  display: flex !important;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 2;
}
.hero-left { flex: 1; }
.hero-eyebrow {
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.hero-title {
  font-family: var(--font-display) !important;
  font-size: clamp(36px, 6vw, 72px) !important;
  font-weight: 500 !important;
  line-height: 1.0 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  margin: 0 !important;
}
.hero-right {
  text-align: right;
  padding-bottom: 4px;
}
.hero-est {
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.hero-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-style: italic;
  font-family: var(--font-body);
}

/* ─── Gold Divider Line ─── */
.gold-line {
  width: 40px;
  height: 2px;
  background: var(--jc-sand);
  margin-bottom: 32px;
  display: block;
}
.gold-rule {
  border: none;
  border-top: 1px solid rgba(196,168,130,0.3);
  margin: 0;
}

/* ─── About Section ─── */
.about-section {
  padding: 96px 48px;
  background: var(--jc-bg);
}
.about-inner {
  max-width: 900px;
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-heading {
  font-family: var(--font-display) !important;
  font-size: clamp(28px, 4vw, 46px) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.15 !important;
  color: var(--jc-ink) !important;
  margin: 0 !important;
}
.about-body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--jc-muted);
  margin-bottom: 18px;
}
.about-body em { font-style: italic; }

/* ─── Services Section ─── */
/* NOTE: Warm sand background — NOT dark. Matches approved mockup. */
.services-section {
  padding: 0 48px 96px;
  background: var(--jc-bg);
}
.services-inner {
  max-width: 900px;
  margin: 0 auto;
}
.services-header {
  border-top: 1px solid rgba(196,168,130,0.3);
  padding-top: 36px;
  margin-bottom: 48px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.services-label {
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--jc-sand);
}
.services-count {
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 500;
  color: #ccc;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.service-card {
  padding: 28px 0;
  border-bottom: 1px solid rgba(196,168,130,0.2);
  background: transparent;
}
.service-card:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid rgba(196,168,130,0.2);
}
.service-card:nth-child(even) {
  padding-left: 32px;
}
.service-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--jc-ink);
  font-family: var(--font-body);
}
.service-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--jc-muted);
  font-family: var(--font-body);
}

/* ─── Full Bleed Image Break ─── */
.image-break {
  width: 100%;
  height: 42vh;
  overflow: hidden;
}
.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

/* ─── Companies Section ─── */
.companies-section {
  padding: 96px 48px;
  background: var(--jc-bg);
}
.companies-inner {
  max-width: 900px;
  margin: 0 auto;
}
.companies-heading {
  font-family: var(--font-display) !important;
  font-size: clamp(28px, 4vw, 46px) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.15 !important;
  color: var(--jc-ink) !important;
  margin-bottom: 48px !important;
}
/* Two-column split layout — matches approved mockup */
.companies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(196,168,130,0.3);
}
.company-card {
  padding: 36px 40px 36px 0;
  border-right: 1px solid rgba(196,168,130,0.3);
  background: transparent;
  text-decoration: none;
  display: block;
  transition: none;
  transform: none;
  box-shadow: none;
  border: none;
  border-top: none;
  border-right: 1px solid rgba(196,168,130,0.3);
}
.company-card-right {
  padding: 36px 0 36px 40px;
}
.company-status {
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--jc-sand);
  margin-bottom: 14px;
  background: none;
  padding: 0;
  display: block;
}
.company-status-soon {
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 500;
  color: #ccc;
  margin-bottom: 14px;
}
.company-name {
  font-family: var(--font-display) !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  margin-bottom: 14px !important;
  color: var(--jc-ink) !important;
  line-height: 1.2 !important;
}
.company-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--jc-muted);
  margin-bottom: 24px;
  font-style: italic;
}
.company-link {
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--jc-ink);
  border-bottom: 1px solid var(--jc-sand);
  padding-bottom: 2px;
  display: inline-block;
  transition: opacity 0.2s;
  text-decoration: none;
}
.company-link:hover { opacity: 0.5; }

/* ─── Contact Section ─── */
.contact-section {
  padding: 0 48px 96px;
  background: var(--jc-bg);
}
.contact-inner {
  max-width: 900px;
  margin: 0 auto;
}
.contact-border {
  border-top: 1px solid rgba(196,168,130,0.3);
  padding-top: 48px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-heading {
  font-family: var(--font-display) !important;
  font-size: clamp(28px, 4vw, 46px) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.15 !important;
  color: var(--jc-ink) !important;
  margin: 0 !important;
}
.contact-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--jc-muted);
  margin-bottom: 28px;
}
.contact-email {
  font-size: 15px;
  font-weight: 600;
  color: var(--jc-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--jc-sand);
  padding-bottom: 2px;
  transition: opacity 0.2s;
  display: inline-block;
}
.contact-email:hover { opacity: 0.5; }

/* ─── Footer ─── */
/* Light warm sand footer — matches approved mockup */
.site-footer {
  border-top: 1px solid rgba(196,168,130,0.25);
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--jc-bg);
}
.footer-copy {
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 500;
  color: #bbb;
}
.footer-link {
  font-family: var(--font-nav);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--jc-sand);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-link:hover { opacity: 0.6; }

/* ─── Fade-up Animations ─── */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .site-header { padding: 0 24px; }
  .hero-content { left: 24px; right: 24px; bottom: 40px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .about-section, .companies-section { padding: 64px 24px; }
  .services-section, .contact-section { padding: 0 24px 64px; }
  .about-grid, .services-grid, .companies-grid, .contact-grid { grid-template-columns: 1fr; }
  .company-card { padding: 36px 0; border-right: none; border-bottom: 1px solid rgba(196,168,130,0.3); }
  .company-card-right { padding: 36px 0; }
  .service-card:nth-child(odd) { padding-right: 0; border-right: none; }
  .service-card:nth-child(even) { padding-left: 0; }
  .site-footer { padding: 24px; }
  .nav-links { display: none !important; }
}
