/* ============================================================
   Harp & Hammer Advisory Services — site styles
   ============================================================ */

:root {
  --green: #1F5530;
  --green-dark: #163B22;
  --gold: #C9A227;
  --gold-dark: #A78318;
  --muted-gold: #8C7A3A;
  --orange: #C8541F;
  --black: #1A1A1A;
  --ivory: #FAF7EC;
  --white: #FFFFFF;
  --gray: #5F5E5A;
  --gray-light: #B4B2A9;
  --border: #E7E2D0;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;

  --container-max: 1180px;
  --section-pad-y: 96px;
  --header-h: 96px;
}

/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
a { color: var(--green); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold-dark); }
button { cursor: pointer; font-family: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Eyebrow */
.eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 20px;
}
.eyebrow-dark { color: var(--muted-gold); }
.eyebrow-gold { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 14px 26px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.btn .ti { font-size: 18px; transition: transform 0.15s; }
.btn:hover .ti { transform: translateX(2px); }
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-dark); color: var(--black); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-dark); color: var(--black); }

/* ============================================================
   Header & navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 64px; width: auto; }
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  padding: 8px 0;
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 4px;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--green-dark); color: var(--white) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 8px; }
  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: var(--green);
  color: var(--white);
  padding: 100px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text { max-width: 640px; }
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.20) 0%, rgba(201, 162, 39, 0) 62%);
  pointer-events: none;
}
.hero-visual img {
  position: relative;
  width: 320px;
  max-width: 90%;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.28));
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
  }
  .hero-visual { min-height: 420px; }
  .hero-visual img { width: 380px; }
}
@media (max-width: 768px) {
  .hero-visual { display: none; }
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0 0 28px;
  color: var(--white);
}
.hero-lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  max-width: 640px;
  margin: 0 0 40px;
  color: var(--ivory);
}
.hero .eyebrow { color: var(--gold); }

/* ============================================================
   Generic sections
   ============================================================ */
.section { padding: var(--section-pad-y) 0; }
.section-white { background: var(--white); }
.section-ivory { background: var(--ivory); }
.section-green { background: var(--green); color: var(--white); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-header-light { color: var(--white); }
.section-heading {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin: 0 0 16px;
  color: var(--black);
}
.section-header-light .section-heading { color: var(--white); }
.section-lede {
  font-size: 18px;
  color: var(--gray);
  margin: 0;
  line-height: 1.55;
}
.section-header-light .section-lede { color: var(--ivory); }

/* ============================================================
   Services
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(31, 85, 48, 0.10);
  border-color: var(--gold);
}
.service-icon {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  background: rgba(31, 85, 48, 0.08);
  color: var(--green);
  border-radius: 6px;
  font-size: 24px;
  margin-bottom: 22px;
}
.service-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--black);
}
.service-card p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--gray);
  margin: 0;
}
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   About
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
.about-photo {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(31, 85, 48, 0.10);
  background: var(--ivory);
  aspect-ratio: 4 / 5;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-photo-fallback {
  object-fit: contain !important;
  padding: 40px;
  background: var(--ivory);
}
.about-content .section-heading { text-align: left; }
.about-content > p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--black);
  margin: 0 0 18px;
}
.about-subhead {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin: 36px 0 18px;
}
.engagements li {
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 16px;
  padding-left: 22px;
  position: relative;
  color: var(--gray);
}
.engagements li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 2px;
  background: var(--gold);
}
.engagements li strong {
  color: var(--black);
  font-weight: 600;
}
.certs {
  font-size: 15.5px;
  color: var(--gray);
  margin: 0;
  line-height: 1.7;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 360px 1fr;
    gap: 64px;
  }
}

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  padding: 32px 28px;
  border-radius: 8px;
  border: 1px solid rgba(201, 162, 39, 0.25);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}
.form-optional {
  text-transform: none;
  letter-spacing: 0;
  color: rgba(250, 247, 236, 0.5);
  font-size: 12px;
  font-weight: 400;
  margin-left: 4px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 4px;
  transition: border-color 0.15s, background 0.15s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.10);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { margin-top: 8px; }

.contact-info h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 12px;
  color: var(--white);
}
.contact-info > p {
  margin: 0 0 24px;
  color: var(--ivory);
  font-size: 16px;
  line-height: 1.6;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.20);
  color: var(--ivory);
  font-size: 16px;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ti { color: var(--gold); font-size: 20px; flex-shrink: 0; }
.contact-list a { color: var(--ivory); }
.contact-list a:hover { color: var(--gold); }

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--black);
  color: var(--ivory);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-mark { opacity: 0.85; }
.footer-copy {
  margin: 0;
  font-size: 13.5px;
  color: rgba(250, 247, 236, 0.65);
}
@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Responsive section padding */
@media (max-width: 720px) {
  :root { --section-pad-y: 72px; }
  .hero { padding: 80px 0 72px; }
}
