/* ─── Custom Properties ─── */
:root {
  --forest:     #3F612D;
  --cream:      #FEFADC;
  --sunflower:  #F5CF00;
  --warm-stone: #E8DCC8;
  --parchment:  #D4C4A0;
  --ink:        #1C2A12;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-ui:    system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── Reset ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-serif);
  color: var(--ink);
  background: var(--cream);
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Nav ─── */
.nav {
  background: var(--cream);
  border-bottom: 2px solid var(--sunflower);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
}

.nav__monogram {
  width: 40px;
  height: 40px;
  border: 2px solid var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--forest);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.nav__name {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--forest);
  text-transform: uppercase;
}

.nav__contact {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--forest);
  text-decoration: none;
  text-transform: uppercase;
}

.nav__contact:hover {
  text-decoration: underline;
  text-decoration-color: var(--sunflower);
  text-underline-offset: 3px;
}

/* ─── Hero ─── */
.hero {
  background-image:
    linear-gradient(rgba(28, 42, 18, 0.55), rgba(28, 42, 18, 0.55)),
    url('hero.jpg');
  background-size: cover;
  background-position: center;
  padding: 5.5rem 2rem;
}

.hero__inner {
  max-width: 780px;
  margin: 0 auto;
}

.hero__eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--sunflower);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__headline {
  font-size: 46px;
  font-weight: normal;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero__body {
  font-size: 18px;
  color: rgba(254, 250, 220, 0.72);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.hero__cta {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--cream);
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: var(--sunflower);
  text-underline-offset: 4px;
}

.hero__cta:hover {
  text-decoration-thickness: 2px;
}

/* ─── Practice Areas ─── */
.practice-areas {
  background: var(--warm-stone);
  padding: 4.5rem 2rem;
}

.practice-areas__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.practice-areas__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--forest);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.practice-areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--cream);
  border-top: 4px solid var(--sunflower);
  padding: 1.75rem 1.5rem;
}

.card__title {
  font-size: 17px;
  font-weight: bold;
  color: var(--forest);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card__body {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.65;
  opacity: 0.8;
}

/* ─── Built on Grassland Hill ─── */
.built-on {
  background: var(--forest);
  padding: 4.5rem 2rem;
}

.built-on__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.built-on__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--sunflower);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.built-on__heading {
  font-size: 22px;
  font-weight: normal;
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.built-on__body {
  font-size: 16px;
  color: rgba(254, 250, 220, 0.65);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 1.25rem;
}

.built-on__link {
  font-size: 15px;
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: var(--sunflower);
  text-underline-offset: 4px;
}

.built-on__link:hover {
  text-decoration-thickness: 2px;
}

/* ─── Footer ─── */
.footer {
  background: var(--ink);
  padding: 3rem 2rem;
  scroll-margin-top: 64px;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer__left {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.footer__monogram {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(254, 250, 220, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 13px;
  color: rgba(254, 250, 220, 0.35);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.footer__entity {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(254, 250, 220, 0.45);
  text-transform: uppercase;
}

.footer__right {
  text-align: right;
}

.footer__email {
  font-size: 14px;
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: var(--sunflower);
  text-underline-offset: 4px;
  display: block;
  margin-bottom: 0.5rem;
}

.footer__email:hover {
  text-decoration-thickness: 2px;
}

.footer__disclaimer {
  font-size: 12px;
  color: rgba(254, 250, 220, 0.22);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero { padding: 3.5rem 1.25rem; }
  .hero__headline { font-size: 30px; }
  .hero__body { font-size: 16px; }

  .practice-areas { padding: 3rem 1.25rem; }
  .practice-areas__grid { grid-template-columns: 1fr; }

  .built-on { padding: 3rem 1.25rem; }

  .footer { padding: 2rem 1.25rem; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__right { text-align: left; }
}
