/* =========================================================
   Vasojo Remodeling — Rustic / Warm
   ========================================================= */

:root {
  --bg: #f4ede0;          /* warm cream */
  --bg-2: #ebe1cc;        /* deeper cream */
  --ink: #1f1611;         /* near-black walnut */
  --ink-soft: #4a3a2c;    /* warm brown text */
  --rule: #c9b89a;        /* dusty rule */
  --accent: #b4582a;      /* burnt amber */
  --accent-deep: #8a3f1c;
  --forest: #3d4a32;      /* moss accent */
  --paper: #faf5ea;
  --shadow: 0 30px 60px -30px rgba(60, 38, 20, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Paper grain overlay — subtle texture across the whole site */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.15  0 0 0 0 0.10  0 0 0 0 0.06  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Typography ---------- */
.display {
  font-family: 'Fraunces', 'Times New Roman', serif;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--ink);
}

.eyebrow {
  font-family: 'Sora', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-deep);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(244, 237, 224, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 184, 154, 0.4);
}

.brand {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-block;
}

.nav {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

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

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--accent);
}

/* ---------- Layout ---------- */
main { padding-top: 4.5rem; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

section { padding: 6rem 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.btn-arrow {
  width: 14px; height: 14px;
  transition: transform 0.3s;
}

.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d8c9b0;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.site-footer h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.2rem;
}

.site-footer p, .site-footer a {
  color: #d8c9b0;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.8;
}

.site-footer a:hover { color: #e89a5e; }

.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--paper);
  margin-bottom: 0.8rem;
}

.footer-bottom {
  max-width: 1240px;
  margin: 3rem auto 0;
  padding: 1.5rem 2.5rem 0;
  border-top: 1px solid rgba(216, 201, 176, 0.15);
  font-size: 0.78rem;
  color: #9c8a72;
  letter-spacing: 0.05em;
}

/* ---------- Animations ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fade-up 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.7s; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .site-header { padding: 1rem 1.4rem; }
  .nav { gap: 1.2rem; }
  .nav a { font-size: 0.78rem; }
  .container { padding: 0 1.4rem; }
  section { padding: 4rem 0; }
  .site-footer .container { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
  .nav { gap: 0.9rem; }
  .nav a { font-size: 0.72rem; }
  .brand { font-size: 1.1rem; }
}
