/* The Archer Group — site styles */

:root {
  --navy: #081b33;
  --navy-soft: rgba(8, 27, 51, 0.8);
  --accent: #e54a35;
  --bg: #f2f2f2;
  --white: #fdfdfd;
  --sans: "Jost", "Futura", "Century Gothic", sans-serif;
  --serif: "Lora", "Georgia", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.7;
  color: var(--navy-soft);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--bg);
  padding: 2.2rem 5vw 2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--navy-soft);
  font-weight: 400;
  font-size: 1rem;
}

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

/* ---------- Hero ---------- */

.hero {
  background-color: var(--navy);
  background-image: url("../assets/hero_pattern.png");
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: clamp(5rem, 14vh, 9rem) 6vw;
}

.hero--page {
  background-image: none;
  background: var(--bg);
  padding: clamp(3.5rem, 9vh, 6rem) 6vw 2rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  line-height: 1.25;
  color: var(--white);
  max-width: 21ch;
  margin: 0 auto;
}

.hero--page h1 {
  color: var(--navy);
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(3rem, 8vh, 5.5rem) 6vw;
}

.section--navy {
  background-color: var(--navy);
  background-image: url("../assets/hero_pattern.png");
  background-size: cover;
  background-position: center;
  color: rgba(253, 253, 253, 0.85);
}

.section--white {
  background: var(--white);
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.section-inner--left {
  text-align: left;
}

.section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 1.6rem;
}

.section--navy h2 {
  color: var(--white);
}

.section p + p {
  margin-top: 1.2rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  margin-top: 2.2rem;
  padding: 1rem 2.4rem;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: transparent;
  color: var(--accent);
}

.section--navy .btn:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ---------- Contact strip / columns ---------- */

.info-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.info-columns h3 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.section--navy .info-columns h3 {
  color: var(--white);
}

.info-columns .note {
  font-size: 0.92rem;
  opacity: 0.75;
}

/* ---------- Services grid ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.6rem 3rem;
  max-width: 1020px;
  margin: 3rem auto 0;
  text-align: center;
}

.services-grid h3 {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.services-grid p {
  font-size: 1rem;
}

/* ---------- About page ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3.5rem;
  max-width: 1020px;
  margin: 0 auto;
  align-items: start;
}

.about-grid .headshot img {
  width: 100%;
  border-radius: 2px;
}

.client-list {
  list-style: none;
  margin-top: 1rem;
}

.client-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(8, 27, 51, 0.12);
}

.client-list li:last-child {
  border-bottom: none;
}

/* ---------- Testimonials ---------- */

.testimonials {
  max-width: 820px;
  margin: 0 auto;
}

.testimonial {
  margin-bottom: 3.2rem;
  text-align: center;
}

.testimonial blockquote {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--navy);
}

.testimonial cite {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.testimonial + .testimonial {
  padding-top: 3.2rem;
  border-top: 1px solid rgba(8, 27, 51, 0.12);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(253, 253, 253, 0.75);
  text-align: center;
  padding: 3.5rem 6vw 2.5rem;
}

.site-footer .mission {
  max-width: 760px;
  margin: 0 auto 2rem;
  font-size: 0.98rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--white);
  opacity: 0.85;
}

.footer-links a:hover {
  color: var(--accent);
  opacity: 1;
}

.footer-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.55;
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .site-nav {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}
