/* ============================================
   Father and Son Trades, LLC
   ============================================ */

:root {
  --ink: #121212;
  --pine: #1F3B2C;
  --pine-light: #3A5F45;
  --pine-pale: #7C9C86;
  --white: #FFFFFF;
  --stone: #E8E7E2;
  --stone-dark: #C9C8C1;

  --font-head: 'Roboto Slab', serif;
  --font-body: 'Inter', sans-serif;

  --nav-height: 190px;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

h1, h2 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   Navbar
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  background: transparent;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.navbar--solid {
  background-color: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.navbar__inner {
  position: relative;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42%;
}

.navbar__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 165px !important;
  height: 165px !important;
  max-width: 165px;
  max-height: 165px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 3px solid var(--pine-pale);
  flex-shrink: 0;
  z-index: 1;
}

.navbar__menu {
  display: flex;
  gap: 40px;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 2px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--pine-pale);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link--active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link--active::after {
  transform: scaleX(1);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar__toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__toggle--open span:nth-child(2) {
  opacity: 0;
}
.navbar__toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Section shell (shared by all four sections)
   ============================================ */

.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  overflow: hidden;
  padding: calc(var(--nav-height) + 40px) 32px 80px;
}

.section__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.section__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.section__scrim--dark {
  background: linear-gradient(
    180deg,
    rgba(10, 12, 10, 0.78) 0%,
    rgba(10, 12, 10, 0.62) 45%,
    rgba(10, 12, 10, 0.88) 100%
  );
}

.section__scrim--green {
  background: linear-gradient(
    160deg,
    rgba(18, 24, 19, 0.93) 0%,
    rgba(31, 59, 44, 0.86) 55%,
    rgba(18, 24, 19, 0.93) 100%
  );
}

.section__scrim--light {
  background: linear-gradient(
    160deg,
    rgba(232, 231, 226, 0.95) 0%,
    rgba(232, 231, 226, 0.9) 55%,
    rgba(232, 231, 226, 0.96) 100%
  );
}

.section__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  width: 100%;
  text-align: left;
}

.section__eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pine-pale);
  margin-bottom: 14px;
}

.section__eyebrow--dark {
  color: var(--pine);
}

.section__title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 20px;
}

.section__title--dark {
  color: var(--ink);
}

.section__intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 56ch;
  margin-bottom: 44px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 34px;
  border-radius: 3px;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn--primary {
  background: var(--pine);
  color: var(--white);
  border: 1px solid var(--pine-light);
}

.btn--primary:hover {
  background: var(--pine-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.btn--primary:focus-visible,
.nav-link:focus-visible,
.navbar__brand:focus-visible {
  outline: 2px solid var(--pine-pale);
  outline-offset: 3px;
}

/* ============================================
   Section 1: Home
   ============================================ */

.home__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  text-align: center;
  margin: auto;
  animation: rise 0.9s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.home__eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--pine-pale);
  margin-bottom: 18px;
}

.home__tagline {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 18px;
}

.home__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
  margin: 0 auto 36px;
}

.home__cta {
  margin-top: 4px;
}

/* ============================================
   Section 2: Pricing
   ============================================ */

.service-list {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.service-list__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.service-list__name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
}

.service-list__note {
  font-size: 0.9rem;
  color: var(--pine-pale);
  white-space: nowrap;
}

.section__footnote {
  margin-top: 32px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Section 3: About Us (light section)
   ============================================ */

.section__content--dark-text .about__body p {
  color: rgba(18, 18, 18, 0.85);
  font-size: 1.05rem;
  max-width: 62ch;
  margin-bottom: 20px;
}

.section__content--dark-text .about__body strong {
  color: var(--pine);
}

/* ============================================
   Section 4: Contact
   ============================================ */

.contact__cta {
  font-size: 1.05rem;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  font-size: 0.8rem;
  padding: 28px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p + p {
  margin-top: 6px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 820px) {
  :root {
    --nav-height: 100px;
  }

  .navbar__menu {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    height: calc(100vh - var(--nav-height));
    width: min(72vw, 300px);
    background: rgba(18, 18, 18, 0.97);
    backdrop-filter: blur(6px);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 32px 28px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .navbar__menu--open {
    transform: translateX(0);
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__brand {
    max-width: 40%;
    font-size: 1rem;
  }

  .navbar__logo {
    width: 82px !important;
    height: 82px !important;
    max-width: 82px;
    max-height: 82px;
  }

  .nav-link {
    width: 100%;
    padding: 12px 0;
    font-size: 1.05rem;
  }

  .service-list__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 500px) {
  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
