/* ═══════════════════════════════════════════════
   SIGNIFY ACCOUNTING — style.css
   ═══════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────── */
:root {
  --teal:        #0b5b62;
  --teal-light:  #0d6e77;
  --teal-pale:   #e8f4f5;
  --charcoal:    #1a1a1a;
  --charcoal-2:  #2c2c2c;
  --mid:         #5a5a5a;
  --muted:       #8a8a8a;
  --rule:        #e0e0e0;
  --offwhite:    #f8f8f6;
  --white:       #ffffff;

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

  --nav-h:  72px;
  --max:    1160px;
  --pad:    clamp(1.25rem, 5vw, 3rem);
  --sec:    clamp(4rem, 8vw, 7rem);
}

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

/* ── UTILITY ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.section-eyebrow {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--teal); flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 500; line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}
.section-title em { font-style: italic; color: var(--teal); }
.section-body {
  font-size: 0.95rem; color: var(--mid);
  line-height: 1.85; margin-bottom: 1.25rem;
}
.btn-primary {
  background: var(--teal); color: var(--white);
  padding: 0.85rem 2rem;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  border-radius: 2px; display: inline-block;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer; font-family: var(--font-body);
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.35); color: var(--white);
  padding: 0.85rem 2rem;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  border-radius: 2px; display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.06); }
.btn-teal-outline {
  border: 1px solid var(--teal); color: var(--teal);
  padding: 0.85rem 2rem;
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase;
  border-radius: 2px; display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.btn-teal-outline:hover { background: var(--teal); color: var(--white); }

/* ── REVEAL ANIMATION ───────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── NAVIGATION ──────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  border-color: var(--rule);
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max);
  margin: 0 auto; padding: 0 var(--pad);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-logo .logo-fallback {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600;
  color: var(--teal); display: none;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid); transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal); }
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 2px;
}
.nav-cta:hover { background: var(--teal-light) !important; color: var(--white) !important; }

/* hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--charcoal);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 0; top: var(--nav-h);
  background: var(--white); z-index: 99;
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal);
}
.mobile-menu a.nav-cta {
  color: var(--white) !important; padding: 0.75rem 2.5rem !important;
}

/* ── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  background: var(--charcoal);
  padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.14;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 500; line-height: 1.15; color: var(--white);
  margin-bottom: 0.75rem;
}
.page-hero h1 em { font-style: italic; color: var(--teal-pale); }
.page-hero p {
  font-size: 1rem; color: rgba(255,255,255,0.6);
  max-width: 520px; line-height: 1.8; font-weight: 300;
}
.breadcrumb {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.breadcrumb a { color: var(--teal-pale); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ── STATS BAND ──────────────────────────────── */
.stats-band { background: var(--charcoal); padding: 3.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  padding: 1.5rem 2rem; border-left: 1px solid rgba(255,255,255,0.08); text-align: center;
}
.stat-item:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 500; color: var(--white); line-height: 1; margin-bottom: 0.4rem;
}
.stat-num span { color: var(--teal-pale); }
.stat-label {
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4);
}

/* ── QUOTE BAND ──────────────────────────────── */
.quote-band { background: var(--teal); padding: clamp(3rem, 6vw, 5rem) 0; }
.quote-inner { max-width: 760px; text-align: center; margin: 0 auto; }
.quote-inner blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400; font-style: italic;
  color: var(--white); line-height: 1.5; margin-bottom: 1.25rem;
}
.quote-attr {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55);
}

/* ── FOOTER ──────────────────────────────────── */
footer { background: var(--charcoal-2, #2c2c2c); padding: 3.5rem 0 2rem; }
.footer-inner {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-start; gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
.footer-brand p {
  font-size: 0.82rem; color: rgba(255,255,255,0.38);
  max-width: 240px; line-height: 1.75; margin-top: 0.75rem;
}
.logo-text-footer {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600; color: var(--white); display: none;
}
.footer-links h4 {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.38); margin-bottom: 1rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
  font-size: 0.82rem; color: rgba(255,255,255,0.52); transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 1rem;
}
.footer-bottom p, .footer-bottom a {
  font-size: 0.73rem; color: rgba(255,255,255,0.28);
}
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ── CONTACT FORM ────────────────────────────── */
.contact-section { padding: var(--sec) 0; background: var(--offwhite); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.contact-info-col h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 500; color: var(--charcoal); margin-bottom: 0.5rem;
}
.contact-info-col > p {
  font-size: 0.9rem; color: var(--mid); line-height: 1.8; margin-bottom: 2rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; }
.contact-detail-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--white); border: 1px solid var(--rule); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-detail-icon svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 1.5; }
.contact-detail-text strong {
  display: block; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.15rem;
}
.contact-detail-text a,
.contact-detail-text span { font-size: 0.92rem; color: var(--charcoal); transition: color 0.2s; }
.contact-detail-text a:hover { color: var(--teal); }
.contact-form-card {
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 2px; padding: 2.25rem;
}
.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 500; color: var(--charcoal); margin-bottom: 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-group label {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--mid);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; border: 1px solid var(--rule); border-radius: 2px;
  padding: 0.7rem 0.9rem; font-family: var(--font-body);
  font-size: 0.88rem; color: var(--charcoal);
  background: var(--offwhite); transition: border-color 0.2s; outline: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; background: var(--teal); color: var(--white); border: none; cursor: pointer;
  padding: 0.9rem 2rem; font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 2px; transition: background 0.2s, transform 0.15s;
}
.form-submit:hover { background: var(--teal-light); transform: translateY(-1px); }
.form-success {
  display: none; text-align: center; padding: 2rem 0;
}
.form-success svg { margin: 0 auto 1rem; stroke: var(--teal); }
.form-success h4 {
  font-family: var(--font-display); font-size: 1.4rem; color: var(--charcoal); margin-bottom: 0.5rem;
}
.form-success p { font-size: 0.9rem; color: var(--mid); }

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-left: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
