/* ==========================================================================
   Clipper IT Services — restyle
   Palette pulled from brandlifi.com's live computed styles:
   cream #F5F0E5, ink #14110B, gold #C99213, gold-deep #9C7110
   ========================================================================== */

:root {
  --cream: #F5F0E5;
  --cream-card: #FBF8F1;
  --ink: #14110B;
  --ink-soft: #4A453A;
  --gold: #C99213;
  --gold-deep: #9C7110;
  --line: rgba(20, 17, 11, 0.12);
  --shadow: 0 1px 2px rgba(20,17,11,0.04), 0 8px 24px rgba(20,17,11,0.06);
  --radius-pill: 999px;
  --radius-card: 20px;
  --maxw: 1120px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 100px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; text-decoration: none; }

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

h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--gold);
  color: var(--cream);
  border: 1px solid var(--gold);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(20,17,11,0.04); border-color: var(--ink); }

.btn-on-dark {
  background: var(--gold);
  color: var(--ink);
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* Nav */
.site-nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  max-width: var(--maxw);
  margin: 16px auto 0;
  padding: 0 8px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 12px 12px 12px 24px;
  box-shadow: var(--shadow);
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.brand span { color: var(--gold); }
.links { display: flex; align-items: center; gap: 26px; font-size: 0.92rem; font-weight: 500; }
.links a:hover { color: var(--gold-deep); }
.links a.nav-cta {
  background: var(--gold);
  color: var(--cream);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}
.links a.nav-cta:hover { background: var(--gold-deep); }

/* Sections */
main { display: block; }
section { padding: 48px 0; }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.hero { padding-top: 40px; }
.hero .sub { font-size: 1.1rem; max-width: 640px; }

/* Proof stats */
.stats-section { padding-top: 8px; }
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-item {
  text-align: center;
  padding: 24px 20px;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Engagement board */
.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.board-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: var(--shadow);
}
.board-card.active { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.board-card h3 { margin-bottom: 8px; }
.board-card p { font-size: 0.92rem; margin-bottom: 16px; }
.ticket {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  background: rgba(201,146,19,0.12);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.tag {
  display: inline-block;
  font-size: 0.76rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

/* About */
.about-grid { display: grid; grid-template-columns: 120px 1fr; gap: 40px; align-items: start; }
.monogram {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
}
.avatar-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  display: block;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag-pill {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--cream-card);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

/* Engagement model timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 28px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 14px; left: 0; right: 0;
  height: 2px;
  background: var(--line);
}
.step { position: relative; }
.step-week {
  display: inline-block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  background: var(--ink);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.92rem; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.service-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px;
}
.service-card .ticket { margin-bottom: 18px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.94rem; margin: 0; }

/* Guides hub */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.guide-card {
  display: block;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.guide-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.guide-card h3 { font-size: 1.1rem; }

/* Lead magnet / free resource */
.resource-card {
  background: var(--cream-card);
  border: 1px solid var(--gold);
  border-radius: var(--radius-card);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}
.resource-text h2 { margin-bottom: 8px; }
.resource-text p { margin: 0; }
.resource-form { display: flex; flex-direction: column; gap: 8px; }
.resource-form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.resource-form-row input[type="email"] {
  flex: 1 1 200px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.98rem;
}
.resource-form-row input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,146,19,0.18);
}
.resource-form .form-status.ok { color: #3f7d4a; }
.resource-form .form-status.err { color: #b23c3c; }
.rf-turnstile { margin-top: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (max-width: 760px) {
  .resource-card { grid-template-columns: 1fr; }
}

/* Why this */
.why-section { background: var(--cream-card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.why-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.why-list li {
  display: flex; gap: 12px;
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.why-list li::before {
  content: "";
  min-width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.testimonial-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px;
  margin: 0;
}
.testimonial-card p {
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.6;
  margin: 0 0 16px;
}
.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Contact — dark section, mirrors brandlifi's dark footer/subscribe block */
.contact-section {
  background: var(--ink);
  color: var(--cream);
  border-radius: 28px;
  margin: 0 auto;
  max-width: var(--maxw);
  padding: 40px 48px;
  text-align: center;
}
.contact-section h2 { color: var(--cream); }
.contact-section p { color: rgba(245,240,229,0.72); }
.contact-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin: 18px 0 32px; font-size: 0.98rem; }
.contact-links a:hover { color: var(--gold); }
.contact-section .cta-row { justify-content: center; }
.contact-section .btn-ghost { border-color: rgba(245,240,229,0.28); color: var(--cream); }
.contact-section .btn-ghost:hover { background: rgba(245,240,229,0.08); border-color: var(--cream); }

.contact-lede { max-width: 480px; margin: 0 auto 32px; }

/* Contact form */
.contact-form { text-align: left; max-width: 640px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(245,240,229,0.72);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(245,240,229,0.06);
  border: 1px solid rgba(245,240,229,0.24);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.98rem;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(245,240,229,0.4); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,146,19,0.25);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 18px; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.form-status { font-size: 0.92rem; }
.form-status.ok { color: #8fd19e; }
.form-status.err { color: #e08a8a; }
.contact-form button[disabled] { opacity: 0.6; cursor: not-allowed; }
.contact-divider {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(245,240,229,0.5);
  margin: 40px 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Footer */
footer.site-footer {
  text-align: center;
  padding: 20px 0 32px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Biography hero variant */
.bio-hero .cta-row { margin-top: 32px; }

/* Guide / content pages */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--gold-deep); }
.breadcrumb a:hover { text-decoration: underline; }

.guide-content { max-width: 760px; }
.guide-content h2 { margin-top: 44px; }
.guide-content h2:first-child { margin-top: 0; }
.guide-content p { font-size: 1rem; }
.guide-content ul, .guide-content ol { color: var(--ink-soft); padding-left: 22px; margin: 0 0 1em; }
.guide-content li { margin-bottom: 8px; }

.callout {
  background: var(--cream-card);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 28px 0;
}
.callout p { margin: 0; }
.callout p + p { margin-top: 10px; }
.callout a { color: var(--gold-deep); text-decoration: underline; }

.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 0.94rem;
}
.guide-table th, .guide-table td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--line);
}
.guide-table th {
  background: var(--cream-card);
  font-family: var(--font-body);
  font-weight: 600;
}

.guide-cta {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-card);
  padding: 32px 36px;
  margin-top: 48px;
  text-align: center;
}
.guide-cta h3 { color: var(--cream); margin-bottom: 8px; }
.guide-cta p { color: rgba(245,240,229,0.75); margin-bottom: 20px; }
.guide-cta .cta-row { justify-content: center; }
.guide-cta .btn-ghost { border-color: rgba(245,240,229,0.28); color: var(--cream); }
.guide-cta .btn-ghost:hover { background: rgba(245,240,229,0.08); border-color: var(--cream); }

.related-guides {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(245,240,229,0.16);
  font-size: 0.9rem;
}
.related-guides a { color: var(--gold); }

/* Sticky contact button */
.sticky-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(20,17,11,0.24);
  text-decoration: none;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.15s ease;
}
.sticky-contact:hover { box-shadow: 0 6px 18px rgba(20,17,11,0.3); }
.sticky-contact.is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

/* Mid-page CTA banner */
.mid-cta { background: var(--ink); }
.mid-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px 0;
}
.mid-cta h3 { color: var(--cream); font-size: 1.15rem; margin-bottom: 4px; }
.mid-cta p { color: rgba(245,240,229,0.72); margin: 0; font-size: 0.92rem; }
.mid-cta .btn { flex-shrink: 0; }

@media (max-width: 640px) {
  .sticky-contact { right: 14px; bottom: 14px; padding: 11px 18px; font-size: 0.82rem; }
}

@media (max-width: 860px) {
  .board, .services-grid, .timeline, .why-grid, .testimonials-grid, .guides-grid, .stats-strip { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .links { display: none; }
  .site-nav { top: 10px; }
  .contact-section { padding: 48px 24px; border-radius: 20px; }
  section { padding: 36px 0; }
}
