/* ============================================================
   ANAND & ANAND, CHARTERED ACCOUNTANTS — Site Stylesheet
   Design tokens sampled directly from the firm letterhead.
   ============================================================ */

:root {
  --navy: #0B2545;
  --navy-deep: #081A33;
  --gold: #B08D33;
  --gold-light: #D4B05C;
  --cream: #FAF7F0;
  --ivory: #F2EDE0;
  --ink: #242220;
  --ink-soft: #5A5650;
  --rule: linear-gradient(to right, var(--navy) 0%, var(--navy) 55%, var(--gold) 55%, var(--gold) 100%);
  --max-w: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  font-weight: 700;
  margin: 0 0 0.4em;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

.label {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

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

/* ---------- Header ---------- */

.site-header { background: #fff; }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  padding: 22px 28px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand img.mark {
  height: 66px;
  width: auto;
  flex-shrink: 0;
}

.brand .wordmark .script {
  font-family: 'Pinyon Script', cursive;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--navy);
  white-space: nowrap;
}

.brand .wordmark .script .amp { color: var(--gold); }

.brand .wordmark .tagline {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.header-contact {
  text-align: right;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.header-contact .label {
  margin-right: 4px;
}

.header-rule {
  height: 3px;
  background: var(--rule);
}

@media (max-width: 640px) {
  .site-header .container { justify-content: center; text-align: center; }
  .header-contact { text-align: center; }
  .brand .wordmark .script { font-size: 2rem; }
}

/* ---------- Nav ---------- */

nav.main-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
}

nav.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  padding-top: 0;
  padding-bottom: 0;
}

nav.main-nav a {
  display: inline-block;
  color: #EDE6D6;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 20px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

/* ---------- Gold-navy rule (signature divider) ---------- */

.rule {
  height: 3px;
  width: 110px;
  background: var(--rule);
  margin: 14px 0 28px;
}

.rule.center { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 40px;
  text-align: center;
}

.hero .eyebrow {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.hero h1 { margin-bottom: 6px; }

.hero .sub {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Brass plaque stat strip (signature element) ---------- */

.plaque-wrap {
  display: flex;
  justify-content: center;
  padding: 0 0 56px;
}

.plaque {
  background: linear-gradient(180deg, #C9A646 0%, #AD8A36 48%, #8E6F26 100%);
  border: 1px solid #7E641F;
  border-radius: 3px;
  box-shadow: 0 6px 18px rgba(11,37,69,0.18), inset 0 1px 0 rgba(255,255,255,0.35);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.plaque-item {
  padding: 22px 36px;
  text-align: center;
  border-right: 1px solid rgba(11,37,69,0.25);
}

.plaque-item:last-child { border-right: none; }

.plaque-item .num {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--navy-deep);
  letter-spacing: 0.02em;
}

.plaque-item .cap {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2C2306;
  margin-top: 4px;
}

/* ---------- Sections ---------- */

section { padding: 56px 0; }
section.alt { background: var(--ivory); }

.section-head { text-align: center; margin-bottom: 36px; }
.section-head .label { display: block; margin-bottom: 8px; }

/* ---------- Two column ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- Strengths list ---------- */

.strengths { list-style: none; margin: 0; padding: 0; }
.strengths li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #e3dcc9;
}
.strengths li:first-child { border-top: none; }
.strengths .mark {
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 9px;
}
.strengths strong { color: var(--navy); display: block; font-family: 'Inter', sans-serif; font-size: 0.95rem; letter-spacing: 0.01em; margin-bottom: 2px; }
.strengths span.desc { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Services grid ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}

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

.service-item {
  border-left: 3px solid var(--gold);
  padding-left: 18px;
}

.service-item h3 { margin-bottom: 6px; font-size: 1.1rem; }
.service-item p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }

/* ---------- Partner cards ---------- */

.partner-card {
  padding: 30px 0;
  border-top: 1px solid #e3dcc9;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
}

.partner-card:first-child { border-top: none; padding-top: 0; }

@media (max-width: 640px) {
  .partner-card { grid-template-columns: 1fr; gap: 10px; }
}

.partner-id .name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.partner-id .role {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.partner-id .quals {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.partner-id .mno {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.partner-bio p { margin: 0; font-size: 0.97rem; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

.contact-block { margin-bottom: 22px; }
.contact-block .label { display: block; margin-bottom: 6px; }
.contact-block .value { font-size: 1.02rem; }
.contact-block .value a { border-bottom: 1px dotted var(--gold); }

.map-frame {
  width: 100%;
  height: 340px;
  border: 1px solid #e3dcc9;
  border-radius: 3px;
}

/* ---------- Footer ---------- */

footer {
  background: var(--navy);
  color: #C9C2AE;
  padding: 38px 0 28px;
  margin-top: 0;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

footer .firm-line {
  font-family: 'Playfair Display', serif;
  color: #EDE6D6;
  font-size: 1.05rem;
}

footer .frn {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

footer .disclaimer {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  color: #8B92A3;
  max-width: 620px;
  line-height: 1.6;
  margin-top: 8px;
}

footer .copyright {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: #6E7791;
  margin-top: 6px;
}

/* ---------- Page header (non-home pages) ---------- */

.page-head {
  padding: 48px 0 28px;
  text-align: center;
}

.page-head .label { margin-bottom: 10px; display: block; }
