/* ==========================================================================
   SIBERIAN AIR — Design System
   ========================================================================== */

:root {
  --blue: #3B2E22;          /* bark — primary accent */
  --blue-light: #55432F;    /* bark, lighter (hover) */
  --ice: #EAE6D9;           /* warm ivory wash */
  --ice-dark: #CFC8B4;      /* soft sand on dark */
  --dark: #211E19;          /* espresso — warm near-black */
  --gray-900: #2A2622;
  --gray-700: #4A443C;
  --gray-500: #625B50; /* warm grey, AA on ivory */
  --gray-300: #D6D0C2;
  --gray-100: #ECE8DD;
  --white: #FBFAF5;         /* warm paper white (cards) */
  --radius: 6px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif; /* headline serif — warm, editorial */
  /* System font stack for body — fast, neutral counterpoint to the serif */
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font); color: var(--dark); background: #F2F0E6; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------- NAV ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: padding 0.3s, box-shadow 0.3s;
}
nav.scrolled { padding: 0.6rem 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

.nav-brand { display: flex; align-items: center; gap: 0.6rem; }
.nav-brand img { height: 34px; width: auto; }
.nav-brand-text { font-weight: 800; font-size: 1rem; letter-spacing: 0.04em; color: var(--dark); }
.nav-brand-text span { font-weight: 800; color: var(--dark); margin-left: 0.15em; }

.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links > a, .nav-dropdown > a { font-size: 0.82rem; font-weight: 500; color: var(--gray-700); }
.nav-links > a:hover, .nav-dropdown > a:hover { color: var(--dark); }

.nav-dropdown { position: relative; }
.dropdown-content {
  display: none; position: absolute; top: 100%; left: -12px;
  background: var(--white); min-width: 200px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12); border-radius: var(--radius);
  padding: 0.4rem 0; border: 1px solid var(--gray-100);
}
.nav-dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { display: block; padding: 0.5rem 1rem; font-size: 0.8rem; color: var(--gray-700); }
.dropdown-content a:hover { background: var(--gray-100); color: var(--dark); }

.nav-phone { font-weight: 700 !important; color: var(--dark) !important; font-size: 0.85rem !important; }
.nav-cta {
  background: var(--blue) !important; color: var(--white) !important;
  padding: 0.45rem 1.1rem; border-radius: var(--radius);
  font-weight: 600 !important; font-size: 0.8rem !important;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--blue-light) !important; transform: translateY(-1px); }

.mobile-menu-btn { display: none; background: none; border: none; width: 26px; height: 18px; position: relative; }
.mobile-menu-btn span { display: block; width: 100%; height: 2px; background: var(--dark); position: absolute; left: 0; transition: 0.3s; }
.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 8px; }
.mobile-menu-btn span:nth-child(3) { top: 16px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.8rem; border-radius: var(--radius);
  font-weight: 650; font-size: 0.88rem;
  transition: all 0.2s; border: 2px solid transparent;
}
.btn-fill { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-fill:hover { background: var(--blue-light); border-color: var(--blue-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.btn-outline { background: var(--white); color: var(--dark); border-color: #3B2E22; }
.btn-outline:hover { border-color: var(--dark); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-white:hover { background: var(--ice); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,255,255,0.2); }
.btn-ghost { background: var(--white); color: var(--dark); border-color: #3B2E22; }
.btn-ghost:hover { border-color: var(--white); }

/* ---------- PAGE HEADER (subpages) ---------- */
.page-hero {
  padding: 9rem 2rem 4rem; background: linear-gradient(160deg, #191410 0%, #241C15 55%, #3B2E22 100%);
  color: var(--white); position: relative; overflow: hidden;
  max-width: none;
}
.page-hero > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.page-hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .t-eyebrow { color: var(--ice-dark); margin-bottom: 0.8rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 550; line-height: 1.08; letter-spacing: -0.015em; }
.page-hero .t-subhead { color: rgba(255,255,255,0.62); font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.15rem; line-height: 1.65; }
.breadcrumb { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-bottom: 1.5rem; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- CONTENT ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }

.content-block { margin-bottom: 2.5rem; }
.content-block h2 { font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: 0.6rem; }
.content-block h3 { font-size: 1.1rem; font-weight: 600; color: var(--dark); margin-bottom: 0.4rem; }
.content-block p { color: var(--gray-700); line-height: 1.8; margin-bottom: 0.8rem; font-size: 0.95rem; }
.content-block ul { margin: 0.5rem 0 1rem 1.2rem; color: var(--gray-700); line-height: 1.9; font-size: 0.95rem; }
.content-block li { margin-bottom: 0.3rem; }
.answer-box {
  background: var(--ice); border-left: 3px solid var(--blue);
  padding: 1rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem; color: var(--gray-900); line-height: 1.7; margin-bottom: 1.5rem;
}

/* ---------- SERVICES GRID ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.service-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius); padding: 1.6rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(26,63,92,0.08); }
.service-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.service-card h3 a { color: var(--dark); }
.service-card h3 a:hover { color: var(--blue); }
.service-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }

/* ---------- AREAS ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.9rem; }
.area-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 1.1rem 1.2rem; transition: border-color .15s, box-shadow .15s; }
.area-card:hover { border-color: var(--gray-300); box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.area-card h3 { font-size: 1rem; margin: 0 0 0.2rem; }
.area-card p { font-size: 0.8rem; color: var(--gray-500); margin: 0; }
.area-link {
  display: block; padding: 1.2rem; text-align: center;
  border: 1px solid var(--gray-100); border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem; color: var(--dark);
  transition: all 0.2s;
}
.area-link:hover { border-color: var(--blue); color: var(--blue); background: var(--ice); transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 680px; }
.faq-item { border-bottom: 1px solid var(--gray-100); }
.faq-question {
  width: 100%; background: none; border: none; text-align: left;
  padding: 1.2rem 0; font-size: 0.95rem; font-weight: 600;
  color: var(--dark); display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: var(--font);
}
.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--gray-500); font-weight: 300; transition: transform 0.3s; }
.faq-item.open .faq-question::after { content: '\2212'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: var(--gray-700); font-size: 0.88rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.2rem; }

/* ---------- CTA BAND ---------- */
.cta-band { background: linear-gradient(160deg, #241C15 0%, #3B2E22 100%); color: var(--white); text-align: center; padding: 4.5rem 2rem; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 550; margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.cta-band p { color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; font-size: 0.95rem; }
.cta-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- SHARED CTA BUTTONS (were unstyled) ---------- */
.btn-primary, .btn-secondary { display: inline-block; padding: 0.85rem 1.7rem; border-radius: var(--radius); font-size: 0.9rem; font-weight: 700; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--dark); color: var(--white); }
.btn-primary:hover { background: #000; }
.btn-secondary { border: 1.5px solid var(--gray-300); color: var(--dark); font-weight: 600; }
.btn-secondary:hover { border-color: var(--dark); }
/* on the dark cta band, flip for contrast */
.cta-band .btn-primary { background: var(--white); color: var(--dark); }
.cta-band .btn-primary:hover { background: var(--gray-100); }
.cta-band .btn-secondary { border-color: rgba(255,255,255,0.4); color: var(--white); }
.cta-band .btn-secondary:hover { border-color: var(--white); }


/* ---------- CONTACT FORM ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-form { display: flex; flex-direction: column; gap: 0.7rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 0.7rem 0.9rem; border: 1.5px solid var(--gray-300);
  border-radius: var(--radius); font-family: var(--font); font-size: 0.85rem;
  color: var(--dark); outline: none; transition: border-color 0.2s; background: var(--white);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); }
.contact-form textarea { resize: vertical; min-height: 90px; }
.contact-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.contact-detail { display: flex; gap: 0.6rem; margin-bottom: 1rem; font-size: 0.85rem; color: var(--gray-700); }
.contact-detail strong { color: var(--dark); display: block; margin-bottom: 0.1rem; }

/* ---------- FOOTER ---------- */
footer { background: var(--dark); color: var(--gray-500); padding: 3.5rem 2rem 2rem; }
.footer-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-col h4 { color: var(--white); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.8rem; }
.footer-col a { display: block; font-size: 0.8rem; color: var(--gray-500); margin-bottom: 0.35rem; }
.footer-col a:hover { color: var(--white); }
.footer-brand { font-weight: 800; color: var(--white); font-size: 0.95rem; margin-bottom: 0.5rem; letter-spacing: 0.02em; }
.footer-brand span { font-weight: 800; color: var(--white); }
.footer-desc { font-size: 0.8rem; line-height: 1.6; margin-bottom: 0.6rem; }
.footer-contact { font-size: 0.8rem; }
.footer-contact a { display: inline; }
.footer-bottom { max-width: 1120px; margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.72rem; color: rgba(255,255,255,0.25); text-align: center; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--white);
    padding: 1.5rem 2rem; gap: 1rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08); border-bottom: 1px solid var(--gray-100);
  }
  .dropdown-content { position: static; box-shadow: none; border: none; padding-left: 0.8rem; display: block; }
  .contact-grid, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 7rem 1.5rem 3rem; }
  .section { padding: 3.5rem 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- STICKY MOBILE CALL BAR ---------- */
.call-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--dark); padding: 0.6rem 0.8rem;
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem; box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}
.call-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 0.5rem; border-radius: var(--radius);
  font-weight: 700; font-size: 0.9rem;
}
.call-bar .cb-call { background: var(--blue); color: var(--white); }
.call-bar .cb-text { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
@media (max-width: 768px) {
  .call-bar { display: flex; }
  body { padding-bottom: 64px; }
}

/* ---------- TRUST / PROMISE STRIP ---------- */
.promise-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.promise-item { display: flex; gap: 0.7rem; align-items: flex-start; }
.promise-item .p-icon {
  width: 34px; height: 34px; border-radius: 50%; background: var(--ice);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--blue); font-weight: 800; font-size: 0.95rem;
}
.promise-item strong { display: block; font-size: 0.88rem; color: var(--dark); }
.promise-item span { font-size: 0.8rem; color: var(--gray-500); line-height: 1.5; }

/* ---------- PRICING TABLE ---------- */
.pricing-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.pricing-table th {
  text-align: left; padding: 0.7rem 0.9rem; background: var(--dark); color: var(--white);
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.pricing-table td { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
.pricing-table td:last-child { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--dark); white-space: nowrap; }
.pricing-note { font-size: 0.78rem; color: var(--gray-500); margin-top: 0.7rem; }

/* ---------- HOW IT WORKS ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step-item { position: relative; padding-top: 0.4rem; }
.step-item::before {
  counter-increment: step; content: counter(step);
  display: block; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 0.9rem;
}
.step-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--dark); }
.step-item p { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; }
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FORM LABELS ---------- */
.contact-form label { display: block; }
.contact-form label .lbl {
  display: block; font-size: 0.74rem; font-weight: 600; color: var(--gray-700);
  margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.form-note { font-size: 0.78rem; color: var(--gray-500); margin-top: 0.5rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- ACCESSIBILITY ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--blue); color: var(--white); padding: 0.7rem 1.2rem;
  font-weight: 700; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #2d6cdf; outline-offset: 2px; border-radius: 2px;
}
.nav-dropdown:focus-within .dropdown-content { display: block; }
.faq-h { margin: 0; }
.faq-h .faq-question { width: 100%; }

/* ---------- MID-PAGE CTA ---------- */
.mid-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--ice); border: 1px solid var(--ice-dark); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; margin: 2rem 0; flex-wrap: wrap;
}
.mid-cta p { margin: 0 !important; font-weight: 600; color: var(--dark) !important; font-size: 0.95rem !important; }
.mid-cta .mc-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.mid-cta a {
  padding: 0.6rem 1.2rem; border-radius: var(--radius); font-weight: 700; font-size: 0.85rem;
}
.mid-cta .mc-call { background: var(--blue); color: var(--white); }
.mid-cta .mc-text { background: var(--white); color: var(--blue); border: 1.5px solid var(--blue); }

/* ---------- COST LINE ---------- */
.cost-line {
  display: flex; gap: 0.8rem; align-items: baseline; flex-wrap: wrap;
  background: var(--gray-100); border-radius: var(--radius);
  padding: 0.9rem 1.2rem; margin: 1.2rem 0; font-size: 0.9rem;
}
.cost-line strong { color: var(--dark); }
.cost-line .cl-price { font-size: 1.15rem; font-weight: 800; color: var(--blue); }
.cost-line small { color: var(--gray-500); flex-basis: 100%; }

/* ---------- FOUNDERS / PROMISES ---------- */
.founder-card {
  display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center;
  background: var(--gray-100); border-radius: var(--radius); padding: 1.6rem;
}
.founder-badge {
  width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem;
}
@media (max-width: 480px) { .founder-card { grid-template-columns: 1fr; } .mid-cta { flex-direction: column; align-items: flex-start; } }

/* ---------- EDITORIAL TYPE (Fraunces display + system sans body) ---------- */
.content-block h2, .home-section h2, section h2 {
  font-family: var(--font-display); font-weight: 550; letter-spacing: -0.01em;
}
.content-block h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
/* serif italic pull-accents available anywhere */
.flourish { font-family: var(--font-display); font-style: italic; font-weight: 450; }

/* ---------- PLAYFUL SCALE (dark warm ramp: black→charcoal→espresso→bark) ---------- */
.content-block h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.content-block h2::first-line { letter-spacing: -0.015em; }
/* eyebrows in bark, headings near-black — tonal layering */
.t-eyebrow, .page-hero .t-eyebrow { color: #A5937B !important; }
