/* ============================================================
   Evins Construction LLC v2 — Base & Reset
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,400&family=Libre+Franklin:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--steel-light) var(--surface);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb {
  background: var(--steel-light);
  border-radius: 4px;
  border: 2px solid var(--surface);
}
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* --- Typography Scale --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--navy);
}

h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h4 { font-size: 1.4rem; }

p { font-family: var(--font-serif); font-size: 1.05rem; color: var(--text-light); max-width: 68ch; }

/* --- Layout Utilities --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-pad) 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  padding: 0.85rem 2rem;
  border-radius: var(--r-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.25s;
  cursor: pointer;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201,125,46,0.35);
}
.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,125,46,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-phone {
  background: var(--steel);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(30,58,95,0.3);
}
.btn-phone:hover {
  background: var(--steel-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30,58,95,0.4);
}

/* --- Section Labels --- */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 0.75rem;
}

/* --- Section Dividers --- */
.divider {
  line-height: 0;
  overflow: hidden;
}
.divider svg { width: 100%; height: 50px; display: block; }

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--steel) 100%);
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.04;
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); font-size: clamp(2.5rem, 6vw, 5rem); }
.page-header p { color: rgba(255,255,255,0.75); max-width: 60ch; font-size: 1.1rem; margin-top: 1rem; }
.page-header .section-label { color: var(--amber-light); }

/* --- Breadcrumb --- */
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--amber-light); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .blur-reveal { filter: none !important; opacity: 1 !important; }
  .progress-bar { display: none !important; }
}
