/* =============================================
   CSS VARIABLES & RESET
============================================= */
:root {
  --ink: #1a1a18;
  --ink-light: #4a4a44;
  --ink-faint: #8a8a80;
  --paper: #f7f5f0;
  --paper-warm: #edeae2;
  --accent: #2d6a4f; /* deep forest green */
  --accent-mid: #52b788; /* mid green */
  --accent-light: #d8f3dc; /* pale green tint */
  --rule: rgba(26, 26, 24, 0.12);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", sans-serif;

  --max-w: 720px;
  --gutter: clamp(1.5rem, 5vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =============================================
   TYPOGRAPHY
============================================= */
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
}

p {
  max-width: 62ch;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* =============================================
   LAYOUT UTILITIES
============================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3rem, 8vw, 5rem);
}

.divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* =============================================
   NAV
============================================= */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: 60px;
}

.nav-logo {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo:hover {
  text-decoration: none;
}

.nav-logo-f2 {
  color: #4a5568;
}

.nav-logo-impact {
  color: #dd6b20;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* =============================================
   HERO
============================================= */
#hero {
  padding-top: calc(60px + clamp(3rem, 8vw, 5rem));
  padding-bottom: clamp(3rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(
    ellipse at center,
    var(--accent-light) 0%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0.6;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: "";
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

#hero h1 {
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--ink-light);
  max-width: 52ch;
}

/* =============================================
   SECTION LABEL
============================================= */
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
}

#about .lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
  max-width: 58ch;
}

/* =============================================
   CONTACT
============================================= */
#contact {
  background: var(--ink);
  color: var(--paper);
}

#contact .section-label {
  color: rgba(247, 245, 240, 0.4);
}

#contact .section-label::before {
  background: rgba(247, 245, 240, 0.4);
}

#contact p {
  color: rgba(247, 245, 240, 0.65);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.15s;
}

.btn-primary {
  background: var(--accent-mid);
  color: #1a1a18;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  text-decoration: none;
}

/* =============================================
   FOOTER
============================================= */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(247, 245, 240, 0.08);
  padding-block: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(247, 245, 240, 0.25);
}

/* =============================================
   FADE-IN ANIMATION
============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}
