/* ============================================
   RIDGELINE OPERATIONS LLC
   WordPress Theme Stylesheet
   Version: 1.0
   Author: Ridgeline Operations LLC
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ─── TOKENS ─────────────────────────────── */
:root {
  --clay:       #8B5E3C;
  --clay-light: #A8744F;
  --clay-dark:  #6B4428;
  --sand:       #F2E8DC;
  --sand-dark:  #E4D5C3;
  --stone:      #4A4035;
  --stone-light:#7A6E63;
  --cream:      #FAF6F1;
  --white:      #FFFFFF;
  --ridge-green:#3D5A47;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 4px rgba(74,64,53,0.10);
  --shadow-md: 0 4px 20px rgba(74,64,53,0.12);
  --shadow-lg: 0 8px 40px rgba(74,64,53,0.16);

  --max-width: 1140px;
  --section-pad: 96px 24px;
}

/* ─── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream); color: var(--stone); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.25; color: var(--stone); }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--stone-light); line-height: 1.8; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 12px;
  display: block;
}

/* ─── LAYOUT ─────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section    { padding: var(--section-pad); }
.section--cream { background: var(--cream); }
.section--sand  { background: var(--sand); }
.section--stone { background: var(--stone); }
.section--clay  { background: var(--clay); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; align-items: stretch; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; align-items: stretch; }

.text-center { text-align: center; }
.text-left   { text-align: left; }

.section-header { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-header p { margin-top: 16px; font-size: 1.05rem; }

/* ─── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary   { background: var(--clay); color: var(--white); border-color: var(--clay); }
.btn-primary:hover { background: var(--clay-dark); border-color: var(--clay-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline   { background: transparent; color: var(--clay); border-color: var(--clay); }
.btn-outline:hover { background: var(--clay); color: var(--white); }
.btn-white     { background: var(--white); color: var(--clay); border-color: var(--white); }
.btn-white:hover { background: var(--sand); }
.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* ─── NAV ────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,246,241,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-dark);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--stone);
  line-height: 1.2;
}
.nav-logo span { display: block; font-size: 0.65rem; font-family: var(--font-body); font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--stone); transition: color 0.2s; }
.nav-links a:hover { color: var(--clay); }
.nav-links .btn { margin-left: 8px; padding: 10px 20px; font-size: 0.85rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--stone); margin: 4px 0; transition: all 0.2s; }

/* ─── HERO ───────────────────────────────── */
.hero {
  background: var(--stone);
  padding: 120px 24px 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,94,60,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,90,71,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content h1 { color: var(--white); margin-bottom: 24px; }
.hero-content h1 em { font-style: normal; color: var(--clay-light); }
.hero-content p { color: rgba(255,255,255,0.72); font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--clay-light); }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-top: 4px; letter-spacing: 0.05em; }
.hero-card {
  background: var(--sand);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.hero-card-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--stone); margin-bottom: 20px; }
.hero-card-list { display: flex; flex-direction: column; gap: 14px; }
.hero-card-item { display: flex; align-items: flex-start; gap: 12px; }
.hero-card-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--clay); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.hero-card-icon svg { width: 14px; height: 14px; fill: none; stroke: white; stroke-width: 2.5; stroke-linecap: round; }
.hero-card-item p { font-size: 0.9rem; color: var(--stone); margin: 0; line-height: 1.5; }

/* ─── TRUST BAR ──────────────────────────── */
.trust-bar { background: var(--sand-dark); padding: 20px 24px; }
.trust-bar-inner { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 600; color: var(--stone); letter-spacing: 0.04em; text-transform: uppercase; }
.trust-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }

/* ─── SERVICES ───────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sand-dark);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--clay); fill: none; stroke-width: 1.8; stroke-linecap: round; }
.service-card h3 { margin-bottom: 12px; color: var(--stone); }
.service-card p { font-size: 0.92rem; flex: 1; }
.service-card .btn { margin-top: 24px; align-self: flex-start; }
.service-tag { display: inline-block; background: var(--sand); color: var(--clay); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 12px; }

/* ─── ABOUT STRIP ────────────────────────── */
.about-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image-wrap { position: relative; }
.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--sand-dark);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--stone-light);
  border: 2px dashed var(--clay);
}
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--clay);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-badge-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1; }
.about-badge-label { font-size: 0.72rem; opacity: 0.85; margin-top: 4px; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { margin-bottom: 20px; }
.about-credentials { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.credential-tag { background: var(--sand); color: var(--stone); font-size: 0.78rem; font-weight: 500; padding: 6px 14px; border-radius: 20px; border: 1px solid var(--sand-dark); }

/* ─── PROCESS ────────────────────────────── */
.process-steps { display: flex; flex-direction: column; gap: 0; counter-reset: step; }
.process-step { display: grid; grid-template-columns: 80px 1fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--sand-dark); align-items: start; }
.process-step:last-child { border-bottom: none; }
.step-num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--sand-dark); line-height: 1; padding-top: 4px; }
.step-body h3 { margin-bottom: 8px; }
.step-body p  { font-size: 0.95rem; }

/* ─── TESTIMONIALS ───────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--sand-dark);
  box-shadow: var(--shadow-sm);
}
.testimonial-quote { font-family: var(--font-display); font-size: 1.05rem; color: var(--stone); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-quote::before { content: '\201C'; color: var(--clay); font-size: 2rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--sand-dark); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--clay); font-size: 1rem; flex-shrink: 0; }
.testimonial-name { font-weight: 600; font-size: 0.9rem; color: var(--stone); }
.testimonial-role { font-size: 0.8rem; color: var(--stone-light); }

/* ─── DIGITAL PRODUCTS ───────────────────── */
.product-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--sand-dark); box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-thumb { background: var(--sand); padding: 32px; display: flex; align-items: center; justify-content: center; min-height: 160px; }
.product-thumb svg { width: 64px; height: 64px; stroke: var(--clay); fill: none; stroke-width: 1.5; }
.product-body { padding: 24px; flex: 1; display: flex; flex-direction: column; min-height: 180px; }
.product-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.product-body p { font-size: 0.88rem; margin-bottom: 16px; flex: 1; }
.product-price { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--clay); margin-top: auto; }
.product-footer { padding: 0 24px 24px; margin-top: auto; }

/* ─── BLOG ───────────────────────────────── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--sand-dark);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-thumb { background: var(--sand-dark); height: 180px; display: flex; align-items: center; justify-content: center; font-size: 0.82rem; color: var(--stone-light); }
.blog-body { padding: 24px; }
.blog-meta { display: flex; align-items: center; gap: 12px; font-size: 0.78rem; color: var(--stone-light); margin-bottom: 12px; }
.blog-tag { background: var(--sand); color: var(--clay); padding: 2px 10px; border-radius: 20px; font-weight: 600; }
.blog-body h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.4; }
.blog-body p { font-size: 0.88rem; }
.blog-read-more { display: inline-flex; align-items: center; gap: 6px; color: var(--clay); font-size: 0.85rem; font-weight: 600; margin-top: 16px; transition: gap 0.2s; }
.blog-read-more:hover { gap: 10px; }

/* ─── CTA BAND ───────────────────────────── */
.cta-band {
  background: var(--clay);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; position: relative; }
.cta-band p  { color: rgba(255,255,255,0.78); max-width: 520px; margin: 0 auto 36px; position: relative; }
.cta-band .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ─── CONTACT ────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 32px; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.contact-detail-icon { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--sand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--clay); fill: none; stroke-width: 2; stroke-linecap: round; }
.contact-detail-label { font-size: 0.78rem; color: var(--stone-light); margin-bottom: 2px; }
.contact-detail-value { font-weight: 500; font-size: 0.95rem; color: var(--stone); }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--sand-dark); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--stone); margin-bottom: 6px; letter-spacing: 0.02em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--stone);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(139,94,60,0.08); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── FOOTER ─────────────────────────────── */
.site-footer { background: var(--stone); color: rgba(255,255,255,0.65); padding: 64px 24px 32px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--clay-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.82rem; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.82rem; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-legal a:hover { color: var(--white); }

/* ─── PAGE HERO (inner pages) ────────────── */
.page-hero { background: var(--stone); padding: 80px 24px 64px; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.7); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ─── MOBILE ─────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-card        { display: none; }
  .about-strip      { grid-template-columns: 1fr; }
  .contact-grid     { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .process-step     { grid-template-columns: 48px 1fr; gap: 20px; }
  .step-num         { font-size: 2rem; }
}
@media (max-width: 640px) {
  :root { --section-pad: 64px 20px; }
  .nav-links        { display: none; }
  .nav-toggle       { display: block; }
  .hero             { padding: 80px 20px 64px; }
  .hero-stats       { grid-template-columns: 1fr 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; }
  .trust-bar-inner  { gap: 24px; }
  .footer-bottom    { flex-direction: column; align-items: flex-start; }
}
