/* ═══════════════════════════════════════════════
   AVERON — Built for Generations
   Design System: Montserrat + Inter, Charcoal + Copper
   ═══════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background: #0D0D0D;
  color: #FFFFFF;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TOKENS ── */
:root {
  --charcoal:    #0D0D0D;
  --copper:      #B87333;
  --copper-light:#D79A5A;
  --ivory:       #F8F7F3;
  --white:       #FFFFFF;
  --stone:       #D8D8D8;
  --text-grey:   #6B7280;
}

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-light { background: var(--ivory); color: var(--charcoal); }
.section-dark  { background: var(--charcoal); color: var(--white); }
.text-center   { text-align: center; }
section        { padding: 96px 0; }

/* ── TYPOGRAPHY — HEADINGS ── */
.heading-dark {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--charcoal);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.heading-white {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 46px);
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 64px;
}
.body-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-grey);
  margin-bottom: 40px;
}

/* ── DECORATIVE ── */
.copper-bar {
  width: 48px;
  height: 2px;
  background: var(--copper);
  margin: 20px 0 28px;
}
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-grey);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.section-label.copper { color: var(--copper); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 14px 30px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}
.btn-primary:hover {
  background: var(--copper-light);
  border-color: var(--copper-light);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-secondary:hover {
  border-color: var(--copper);
  color: var(--copper);
}
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline:hover {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}

/* ── SCROLL ANIMATION ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ════════════════════════════
   NAV
════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s;
}
#nav.scrolled {
  background: rgba(13,13,13,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(184,115,51,0.18);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.13em;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: left;
}
.nav-links a:hover,
.nav-links a.active { color: var(--copper); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { flex-shrink: 0; font-size: 11px; padding: 10px 22px; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  background: rgba(13,13,13,0.97);
  padding: 24px 40px 32px;
  border-top: 1px solid #1e1e1e;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.mobile-menu ul a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.8);
}

/* ════════════════════════════
   HERO
════════════════════════════ */
#hero {
  min-height: 100vh;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
}
.hero-glow {
  position: absolute;
  width: 760px; height: 760px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(184,115,51,0.35) 0%,
    rgba(184,115,51,0.08) 40%,
    rgba(13,13,13,0) 70%
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo-wrap {
  margin-bottom: 40px;
}
.hero-logo-img {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.hero-pillars {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}
.pillar-sep { color: var(--copper); font-size: 16px; }
.hero-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 52px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ════════════════════════════
   ABOUT
════════════════════════════ */
#about { padding: 96px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text { }
.about-text .heading-dark { margin-bottom: 0; }
.about-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ════════════════════════════
   WHAT WE DO
════════════════════════════ */
#what-we-do { padding: 96px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}
.service-card {
  background: #131313;
  border: 1px solid #222222;
  padding: 52px 32px 48px;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.service-card:hover {
  border-color: var(--copper);
  transform: translateY(-6px);
}
.service-icon-badge {
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
  background: var(--ivory);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid rgba(184,115,51,0.25);
  transition: border-color 0.3s;
}
.service-card:hover .service-icon-badge {
  border-color: rgba(184,115,51,0.6);
}
.service-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
}
.service-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--white);
  margin-bottom: 12px;
}
.service-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-grey);
  line-height: 1.7;
}

/* ════════════════════════════
   WHY AVERON
════════════════════════════ */
#why-averon { padding: 96px 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.value-card {
  text-align: center;
  padding: 44px 20px;
  border: 1px solid var(--stone);
  background: var(--white);
  transition: border-color 0.3s, transform 0.3s;
}
.value-card:hover {
  border-color: var(--copper);
  transform: translateY(-5px);
}
.value-icon {
  width: 72px; height: 72px;
  object-fit: contain;
  margin: 0 auto 24px;
  mix-blend-mode: multiply;
  display: block;
}
.value-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.value-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-grey);
  line-height: 1.7;
}

/* ════════════════════════════
   FOUNDER
════════════════════════════ */
#founder { padding: 96px 0; }
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.founder-photo-wrap {
  position: relative;
  padding: 0;
}
.founder-photo-wrap::before {
  content: '';
  position: absolute;
  top: -14px; left: -14px;
  right: 14px; bottom: 14px;
  border: 1px solid var(--copper);
  z-index: 0;
  pointer-events: none;
}
.founder-photo-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.founder-bio .heading-white { margin-bottom: 8px; }
.founder-role {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--copper);
  display: block;
  margin-bottom: 0;
}
.founder-quote {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  border-left: 2px solid var(--copper);
  padding-left: 24px;
  margin-bottom: 36px;
}
.signature {
  font-family: 'Dancing Script', cursive;
  font-size: 30px;
  font-weight: 600;
  color: var(--copper-light);
  line-height: 1;
}

/* ════════════════════════════
   CONTACT
════════════════════════════ */
#contact { padding: 96px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-heading .heading-dark {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-grey);
  line-height: 1.65;
  transition: color 0.2s;
}
a.contact-item:hover { color: var(--charcoal); }
.contact-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ════════════════════════════
   FOOTER
════════════════════════════ */
#footer {
  background: var(--charcoal);
  padding: 32px 0;
  border-top: 1px solid #1c1c1c;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.footer-logo:hover { opacity: 1; }
.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-grey);
}

/* ════════════════════════════
   RESPONSIVE — 1024px
════════════════════════════ */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .founder-grid { gap: 48px; }
  .heading-white { margin-bottom: 48px; }
}

/* ════════════════════════════
   RESPONSIVE — 768px
════════════════════════════ */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .container { padding: 0 24px; }
  section { padding: 72px 0; }

  .about-grid,
  .founder-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-image img { height: 280px; }

  .founder-photo-wrap img { height: 360px; }
  .founder-photo-wrap::before {
    top: -10px; left: -10px;
    right: 10px; bottom: 10px;
  }

  .hero-logo-mark { width: 120px; height: 120px; }
  .hero-title { font-size: clamp(44px, 14vw, 80px); }

  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }

  .nav-inner { padding: 0 24px; }
  .mobile-menu { padding: 20px 24px 28px; }
}

/* ════════════════════════════
   RESPONSIVE — 480px
════════════════════════════ */
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }

  .hero-pillars {
    flex-direction: column;
    gap: 6px;
  }
  .pillar-sep { display: none; }

  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { justify-content: center; }

  .contact-heading .heading-dark { font-size: clamp(28px, 8vw, 40px); }
}
