:root {
  --ivory: #F5F1E9;
  --charcoal: #171916;
  --bronze: #B99A6B;
  --white: #FFFCF7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: "Inter", sans-serif;
  line-height: 1.7;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 12px 6%;
  background: var(--charcoal);
}
.header .logo {
  display: flex;
  flex: 0 0 230px;
  align-items: center;
  text-decoration: none;
}
.header .logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.header nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}
.header nav a {
  color: var(--ivory);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
}
.header nav a:hover,
.header nav a:focus-visible { color: var(--bronze); }

.hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 100px 8%;
  background-image:
    linear-gradient(90deg,
      rgba(10, 12, 10, 0.90) 0%,
      rgba(10, 12, 10, 0.65) 42%,
      rgba(10, 12, 10, 0.10) 85%),
    url("images/hero-dog.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--charcoal);
}
.hero-content { max-width: 720px; }
.eyebrow {
  color: var(--bronze);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
}
.hero h1, .hero .intro { color: var(--ivory); }
h1, h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  line-height: 1.08;
}
h1 { font-size: clamp(54px, 7vw, 100px); margin: 24px 0; }
h2 { font-size: clamp(40px, 5vw, 66px); }
.intro { font-size: 17px; max-width: 480px; margin-bottom: 36px; }
.button {
  display: inline-block;
  background: var(--bronze);
  color: var(--charcoal);
  padding: 17px 32px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}
.button:hover, .button:focus-visible { background: var(--ivory); }
.section { padding: 100px 10%; max-width: 1100px; }
.section p:not(.eyebrow) { max-width: 560px; }
footer { padding: 35px 7%; border-top: 1px solid #DDD8CF; font-size: 12px; }

@media (max-width: 700px) {
  .header { flex-direction: column; gap: 12px; padding: 12px 5% 20px; }
  .header .logo { flex-basis: auto; width: 190px; }
  .header nav { justify-content: center; gap: 18px; }
  .header nav a { font-size: 10px; }
  .hero { min-height: 600px; padding: 80px 7%; background-position: 62% center; }
  .section { padding: 75px 7%; }
}

/* FitPack Co. Luxury Footer */

footer a {
  color: #B99A6B;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover,
footer a:focus-visible {
  color: #8C7048;
  text-decoration: underline;
}

footer p {
  margin: 8px 0;
}

/* FitPack Co. Service Area */

.service-area {
  border-top: 1px solid #DDD8CF;
  border-bottom: 1px solid #DDD8CF;
}

.service-area h2 {
  max-width: 720px;
}

.service-area-link {
  display: inline-block;
  margin-top: 24px;
  color: #8C7048;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid #B99A6B;
  padding-bottom: 8px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.service-area-link:hover,
.service-area-link:focus-visible {
  color: #171916;
}
