/* AJ Ghosh Consulting — boutique practice-management identity
   Headlines: Fraunces (light editorial serif) · UI/Body: Inter
   Palette: pine #0B3B2C · brass #B98A2F · white · warm light #F6F4EE */
:root {
  --pine: #0B3B2C;
  --pine-2: #1A5C42;
  --gold: #B98A2F;
  --gold-light: #D9B25F;
  --ink: #14201B;
  --body: #3A443F;
  --gray: #6E7A73;
  --line: #E3DDCF;
  --paper: #FFFFFF;
  --paper-alt: #F6F4EE;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 300;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: 0;
}

h1 { font-size: clamp(2.6rem, 5vw, 4.25rem); margin: 0 0 1.5rem; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 1.25rem; }
h3 { font-size: 1.45rem; margin: 0 0 0.75rem; }
h4 { font-size: 1.2rem; margin: 0 0 0.5rem; }

p { margin: 0 0 1.25rem; }
p.lead { font-size: 1.25rem; line-height: 1.6; font-weight: 300; }
strong { font-weight: 500; }

a { color: var(--pine-2); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

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

/* Eyebrow kicker — small caps with brass rule */
.eyebrow {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.075rem;
  margin: 0 0 1.5rem;
  color: var(--body);
}
.eyebrow::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: var(--gold);
  margin-top: 0.9rem;
}
.on-dark .eyebrow { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 90px;
}
.brand {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
/* Hamburger toggle (mobile only) */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 0.9rem 0; }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after { content: ''; position: absolute; left: 0; }
.nav-toggle-label span::before { top: -8px; }
.nav-toggle-label span::after { top: 8px; }
.main-nav { display: flex; align-items: center; gap: 2.2rem; }
.main-nav a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { text-decoration: none; border-bottom-color: var(--gold); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--gold); }

/* ---------- Buttons: sharp, pine with brass hover ---------- */
.btn {
  display: inline-block;
  min-width: 200px;
  text-align: center;
  font-size: 1rem;
  font-weight: 400;
  padding: 0.65rem 1.5rem;
  border-radius: 0;
  border: 1px solid var(--pine);
  background: var(--pine);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(11, 59, 44, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--pine);
  border-color: var(--pine);
}
.btn-outline:hover { background: var(--pine); border-color: var(--pine); color: #fff; }
.btn-light { background: #fff; color: var(--pine); border-color: #fff; }
.btn-light:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--pine); }
/* Keep button text readable inside pine bands (band link color would otherwise win) */
.band-pine a.btn-light, .band-pine a.btn-light:hover { color: var(--pine); }
.cta-row { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 2.5rem; }

/* ---------- Hero: full-bleed pine band with abstract visual ---------- */
.hero {
  background:
    linear-gradient(135deg, rgba(11,59,44,0.9) 0%, rgba(26,92,66,0.55) 160%),
    url('assets/hero-abstract-pine.jpg') center / cover no-repeat,
    var(--pine);
  color: #fff;
  padding: 6rem 0 5rem;
}
.hero h1 { color: #fff; max-width: 16em; }
.hero .dek {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 300;
  color: #fff;
  max-width: 44rem;
  margin-bottom: 0;
}
.hero .eyebrow { color: #fff; }

/* ---------- Content bands ---------- */
.band { padding: 5.5rem 0; }
.band-alt { background: var(--paper-alt); }
.band-pine {
  background: var(--pine);
  background: linear-gradient(135deg, var(--pine) 0%, var(--pine-2) 160%);
  color: #fff;
}
.band-pine h1, .band-pine h2, .band-pine h3, .band-pine h4 { color: #fff; }
.band-pine p { color: #e6ece8; }
.band-pine a { color: #fff; }
.section-head { max-width: 52rem; margin-bottom: 3.5rem; }
.section-head p { font-size: 1.15rem; color: var(--body); }
.band-pine .section-head p { color: #e6ece8; }

/* ---------- Cards: borderless, sharp, hover lift ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.card { padding: 0; }
.card .num {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.075rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.card h3 { margin-top: 0; }
.card-rule { border-top: 1px solid var(--line); padding-top: 2rem; }

/* Insight-style rows with hairline separators */
.rows { border-top: 1px solid var(--line); }
.row-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.row-item .num {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.075rem;
  color: var(--gold);
}
.row-item h3 { margin-top: 0; }
.row-item p:last-child { margin-bottom: 0; }

/* Pricing */
.price-card { border-top: 3px solid var(--gold); padding-top: 2rem; scroll-margin-top: 110px; }
/* ---------- Demo table: illustrative work sample ---------- */
.demo-wrap { overflow-x: auto; }
.demo-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
}
.demo-table th {
  background: var(--pine);
  color: #fff;
  text-align: left;
  padding: 0.7rem 0.8rem;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.demo-table td {
  padding: 0.7rem 0.8rem;
  border-top: 1px solid var(--line);
  color: var(--body);
  vertical-align: top;
}
.demo-table tr.overdue td { background: #fdf6ec; }
.demo-table .due-overdue { color: #a3541a; font-weight: 600; white-space: nowrap; }
.demo-label { font-size: 0.8rem; color: var(--gray); font-style: italic; }
.price-card .price {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: 3rem;
  color: var(--ink);
  margin: 0.5rem 0 0.25rem;
  line-height: 1;
}
.price-card .per { color: var(--gray); font-size: 1rem; margin-bottom: 1.5rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li {
  padding: 0.55rem 0 0.55rem 1.6rem;
  position: relative;
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--gold);
  font-weight: 500;
}
.excluded {
  color: var(--gray);
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.steps li::before {
  content: "0" counter(step);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.steps li p:last-child { margin-bottom: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 4rem; align-items: start; }
.about-grid img { width: 100%; height: auto; display: block; border-radius: 0; }

/* ---------- Contact form ---------- */
/* ---------- Resource library gate ---------- */
#gate { max-width: 560px; }
#gate .fine { font-size: 0.85rem; color: var(--gray); }
#library-grid[hidden] { display: none; }
.form-card { max-width: 680px; }
.field { margin-bottom: 1.75rem; }
.field label {
  display: block;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  font: inherit;
  font-weight: 300;
  background: #fff;
  color: var(--body);
}
.field textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: 0.95rem; color: var(--gray); margin-top: 1.5rem; }

/* ---------- Full-bleed image band ---------- */
.image-band {
  background:
    linear-gradient(rgba(11,59,44,0.74), rgba(11,59,44,0.74)),
    url('assets/office-tower-dusk.jpg') center / cover no-repeat,
    var(--pine);
  color: #fff;
  padding: 7rem 0;
  text-align: center;
}
.image-band h2 { color: #fff; max-width: 22em; margin-left: auto; margin-right: auto; }
.image-band .eyebrow { color: #fff; }
.image-band .eyebrow::after { margin-left: auto; margin-right: auto; }

/* ---------- Image + text split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split img { width: 100%; height: auto; display: block; border-radius: 0; }
.split .section-head { margin-bottom: 0; }

/* ---------- Footer: pine, columns, disclosure ---------- */
.site-footer {
  background: var(--pine);
  color: #e6ece8;
  padding: 4.5rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 1rem;
}
.site-footer .wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.75rem;
  color: #fff;
  margin: 0 0 1rem;
}
.footer-tag { color: #e6ece8; margin-bottom: 1rem; }
.footer-contact a { color: #fff; }
.footer-heading {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 1rem;
}
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.6rem; }
.footer-nav a { color: #e6ece8; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-disclosure {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 2.5rem;
  padding-top: 2rem;
}
.footer-disclosure p { font-size: 0.85rem; color: #c9d4cd; max-width: 64rem; }
.footer-disclosure p:last-child { margin-bottom: 0; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #9fb0a6;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; gap: 2.5rem; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid img { max-width: 340px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding: 4rem 0 3.5rem; }
  .band { padding: 3.75rem 0; }
  .header-inner { height: auto; padding: 0.75rem 0; flex-direction: row; align-items: center; gap: 1rem; position: relative; }
  .nav-toggle-label { display: block; margin-left: auto; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    z-index: 60;
  }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .main-nav a { padding: 0.8rem 0; border-bottom: none; font-size: 0.95rem; }
  .main-nav a[aria-current="page"] { border-bottom: none; color: var(--gold-dark); }
  .row-item, .steps li { grid-template-columns: 1fr; gap: 0.75rem; }
}
