/* ═══════════════════════════════════════════════════
   HONTE CONSULTING — Design System
   Green light theme · EB Garamond · Instrument Sans
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Mono:wght@300;400;500&family=Instrument+Sans:wght@400;500;600&display=swap');

:root {
  /* Backgrounds */
  --bg:           #f7f5f1;
  --bg-warm:      #efe9de;
  --bg-card:      #ffffff;

  /* Text */
  --ink:          #1a1a1a;
  --ink-soft:     #3d3d3d;
  --ink-muted:    #6b6b6b;

  /* Accent — forest green */
  --accent:       #2a4a3e;
  --accent-mid:   #4a7a66;
  --accent-light: #e8efe9;
  --accent-rule:  rgba(42,74,62,0.18);

  /* Borders */
  --rule:         #d0ccc4;
  --rule-soft:    rgba(208,204,196,0.6);

  /* Contract — navy blue */
  --contract:       #1e3a5f;
  --contract-light: #e8eef5;
  --contract-rule:  rgba(30,58,95,0.2);

  /* Permanent — warm brown */
  --perm:       #5c3a1e;
  --perm-light: #f5ede8;
  --perm-rule:  rgba(92,58,30,0.2);

  /* Typography */
  --serif: 'EB Garamond', Georgia, serif;
  --sans:  'Instrument Sans', system-ui, sans-serif;
  --mono:  'DM Mono', monospace;

  --max-w: 1060px;
  --nav-h: 68px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ══ NAVIGATION ══ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(247,245,241,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  z-index: 100;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.35rem 0.85rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  border-radius: 3px;
  transition: color 0.18s, background 0.18s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: var(--accent-light);
}
.nav-cta {
  background: var(--accent) !important;
  color: #f7f5f1 !important;
  font-weight: 500 !important;
}
.nav-cta:hover {
  background: var(--accent-mid) !important;
  color: #f7f5f1 !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.25s;
}

/* ══ PAGE WRAPPER ══ */
.page-wrap { padding-top: var(--nav-h); min-height: 100vh; }

/* ══ CONTAINERS ══ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}
.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ══ SPACING ══ */
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

/* ══ TYPOGRAPHY UTILITIES ══ */
.label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.7rem;
}
.label-accent { color: var(--accent-mid); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

p { color: var(--ink-soft); line-height: 1.75; }
p + p { margin-top: 0.9rem; }

.lead {
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.72;
}

/* ══ ACCENT LINE ══ */
.accent-line {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  margin-bottom: 1.4rem;
}

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: all 0.18s;
}
.btn-primary {
  background: var(--accent);
  color: #f7f5f1;
}
.btn-primary:hover {
  background: var(--accent-mid);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent-rule);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

/* ══ CARDS ══ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  border-color: var(--accent-rule);
  box-shadow: 0 2px 12px rgba(42,74,62,0.06);
}

/* ══ CALLOUT ══ */
.callout {
  background: var(--bg-warm);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.4rem;
  border-radius: 0 4px 4px 0;
  margin: 1.4rem 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.65;
}
.callout strong { color: var(--ink); }

/* ══ MONO TAGS ══ */
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  background: var(--bg-warm);
  border: 1px solid var(--rule);
  color: var(--ink-muted);
}
.tag-accent {
  background: var(--accent-light);
  border-color: rgba(42,74,62,0.2);
  color: var(--accent);
}

/* ══ FEATURE LIST ══ */
.feature-item {
  display: flex;
  gap: 1.1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.feature-item:last-child { border-bottom: none; }
.feature-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.55rem;
}
.feature-item h4 {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.feature-item p {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ══ RATE TABLE ══ */
.rate-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 5px;
  overflow: hidden;
}
.rate-card-header {
  background: var(--accent);
  padding: 1rem 1.4rem;
}
.rate-card-header h4 {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247,245,241,0.75);
  font-weight: 400;
}
.rate-row-full {
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--rule-soft);
}
.rate-row-full:last-child { border-bottom: none; }
.rate-row-full .rate-level {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.rate-cols {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.rate-col .rc-label {
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: block;
  margin-bottom: 0.1rem;
}
.rate-col .rc-val {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
}
.rate-note-box {
  padding: 0.9rem 1.4rem;
  background: var(--bg-warm);
  border-top: 1px solid var(--rule);
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ══ PROCESS STEPS ══ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 5px;
  overflow: hidden;
  margin-top: 2.5rem;
}
.process-step {
  background: var(--bg);
  padding: 1.8rem 1.6rem;
}
.step-num {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--accent-mid);
  margin-bottom: 0.8rem;
}
.process-step h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.process-step p {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ══ COMPARE TABLE ══ */
.compare-table {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 5px;
  overflow: hidden;
}
.compare-head {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  background: var(--ink);
  color: var(--bg);
}
.compare-head div {
  padding: 0.7rem 1.1rem;
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.compare-head div:last-child { border-right: none; }
.compare-head .col-c { color: #a8c4e0; }
.compare-head .col-p { color: #d0ccc4; }
.compare-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  border-bottom: 1px solid var(--rule-soft);
}
.compare-row:last-child { border-bottom: none; }
.compare-row:nth-child(even) { background: var(--bg); }
.compare-cell {
  padding: 0.8rem 1.1rem;
  font-size: 0.82rem;
  border-right: 1px solid var(--rule-soft);
  line-height: 1.4;
  color: var(--ink-muted);
}
.compare-cell:last-child { border-right: none; }
.compare-cell.label { color: var(--ink-soft); }
.compare-cell.positive { color: var(--contract); font-weight: 500; }
.compare-cell.highlight { color: var(--accent); font-weight: 600; }

/* ══ FORM ══ */
.form-wrap { display: flex; flex-direction: column; gap: 1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.field input,
.field select,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 0.65rem 0.9rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.18s;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); }
.field select option { background: var(--bg); }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.form-note {
  font-size: 0.76rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ══ FOOTER ══ */
footer {
  background: var(--accent);
  padding: 3rem 0 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: #f7f5f1;
  margin-bottom: 0.7rem;
}
.footer-brand span { opacity: 0.6; }
.footer-tagline {
  font-size: 0.83rem;
  color: rgba(247,245,241,0.6);
  line-height: 1.6;
  max-width: 260px;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,245,241,0.45);
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.45rem; }
.footer-col a {
  font-size: 0.85rem;
  color: rgba(247,245,241,0.7);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-col a:hover { color: #f7f5f1; }
.footer-bottom {
  border-top: 1px solid rgba(247,245,241,0.12);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: rgba(247,245,241,0.4);
  letter-spacing: 0.05em;
}

/* ══ FADE-IN ══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.65s ease forwards; }
.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.34s; }
.d4 { animation-delay: 0.48s; }

/* ══ RESPONSIVE ══ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--bg);
    padding: 1.4rem;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  }
  .nav-toggle { display: flex; }
  .container, .container-narrow { padding: 0 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .section { padding: 3.5rem 0; }
  .section-lg { padding: 4rem 0; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .compare-head, .compare-row { grid-template-columns: 1.2fr 1fr 1fr; }
}
