/* ===== Base / Tokens ===== */
:root {
  --bg: #fbf7f0;
  --bg-alt: #f3ede2;
  --surface: #ffffff;
  --text: #211b16;
  --text-dim: #6f655b;
  --accent: #c4622d;
  --accent-2: #1f6f5c;
  --border: #e6ddcf;
  --radius: 10px;
  --container: 1100px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: 0 10px 22px -14px rgba(196, 98, 45, 0.9);
}
.btn:hover { transform: translateY(-2px); background: #ad541f; box-shadow: 0 14px 26px -14px rgba(196, 98, 45, 0.95); }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(196, 98, 45, 0.07); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(251, 247, 240, 0.85);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.logo span { color: var(--accent); font-style: italic; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--accent); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 104px 0 92px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(31, 111, 92, 0.16), transparent 65%);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  background: rgba(196, 98, 45, 0.08);
  border: 1px solid rgba(196, 98, 45, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.3rem, 6vw, 3.8rem);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.accent {
  color: var(--accent);
  font-style: italic;
}
.lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 60px; }

/* ===== Stats ===== */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent-2);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ===== Sections ===== */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 44px;
  max-width: 640px;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-text { font-size: 1.1rem; color: var(--text-dim); }
.about-text strong { color: var(--text); font-weight: 600; }
.skills h3 { font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin-bottom: 18px; }
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.skill-tags li {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

/* ===== Work ===== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 2px rgba(33, 27, 22, 0.04);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(33, 27, 22, 0.35); }
.card-thumb {
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}
.card:hover .card-thumb img { transform: scale(1.04); }
.card-body { padding: 26px; }
.card-body h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; margin-bottom: 10px; }
.card-body p { font-size: 0.97rem; color: var(--text-dim); margin-bottom: 18px; }
.card-body p strong { color: var(--text); font-weight: 600; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.card-tags span {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-2);
  background: rgba(31, 111, 92, 0.09);
  padding: 4px 11px;
  border-radius: 999px;
}
.card-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent);
  transition: gap 0.18s ease, opacity 0.18s ease;
}
.card-link:hover { opacity: 0.75; }

/* ===== Contact ===== */
.contact-inner { text-align: center; max-width: 640px; }
.contact-inner .section-eyebrow,
.contact-inner .section-title { margin-left: auto; margin-right: auto; }
.contact-text { color: var(--text-dim); font-size: 1.12rem; margin-bottom: 32px; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner p { color: var(--text-dim); font-size: 0.9rem; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .work-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .stats { gap: 36px; }
}
