/* Arrow Civil — brand: black + two greens (from logo) */
:root {
  /* Official Arrow Civil brand palette — from Logo Guidelines (Feb 2026) */
  --black: #231f20;      /* Neutral Black C */
  --near-black: #2f2a2b;
  --green-dark: #155c3e;  /* Pantone 5545 C */
  --green-mid: #2c7f3f;   /* Pantone 355 C — primary logo green */
  --green-light: #81bb42; /* Pantone 368 C */
  --white: #ffffff;
  --off-white: #f6f7f5;
  --gray-100: #eceeec;
  --gray-300: #c9cdc8;
  --gray-600: #5a615c;
  --gray-800: #2c302d;
  --radius: 6px;
  --max-width: 1180px;
  --shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .btn, .nav-links a, .nav-cta, .hero-eyebrow, .eyebrow, .value-icon,
.team-role, .project-tag, .footer-grid h4, .stat-number {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Bold italic Montserrat is the "Arrow" wordmark treatment in the logo —
   echoed here as a small brand accent, not used for body headings. */
.brand-accent {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-style: italic;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--green-light);
  color: var(--black);
}
.btn-primary:hover { background: var(--green-mid); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline-dark:hover { background: var(--black); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-link img { height: 150px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--green-light);
  border-bottom-color: var(--green-light);
}

.nav-cta {
  background: var(--green-light);
  color: var(--black) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
}
.nav-cta:hover { background: var(--green-mid); border-color: transparent; color: var(--white) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 480px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links a[aria-current="page"] { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-cta { margin: 16px 24px; display: inline-block; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--near-black) 55%, var(--green-dark) 150%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 60%;
  height: 140%;
  background: linear-gradient(120deg, transparent 40%, rgba(139,197,63,0.12) 41%, rgba(139,197,63,0.12) 55%, transparent 56%),
              linear-gradient(120deg, transparent 60%, rgba(30,107,58,0.18) 61%, rgba(30,107,58,0.18) 74%, transparent 75%);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 34vw;
  max-width: 460px;
  aspect-ratio: 1.3 / 1;
  background: linear-gradient(120deg, var(--green-light), var(--green-dark));
  opacity: 0.14;
  clip-path: polygon(0% 0%, 45% 0%, 100% 50%, 45% 100%, 0% 100%, 40% 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow {
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 20px;
  max-width: 780px;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--gray-300);
  max-width: 620px;
  margin: 0 0 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 64px 0;
}
.page-hero .hero-eyebrow { color: var(--green-light); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 700; margin-bottom: 12px; }
.page-hero h1 { margin: 0 0 12px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
.page-hero p { color: var(--gray-300); max-width: 640px; margin: 0; font-size: 1.05rem; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
.section-alt { background: var(--off-white); }

.eyebrow {
  color: var(--green-mid);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 10px;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--black);
}
h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 10px; color: var(--black); }
p { margin: 0 0 16px; color: var(--gray-600); }

.section-head { max-width: 700px; margin-bottom: 44px; }

.grid {
  display: grid;
  gap: 32px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.milestone-card { padding: 26px; }
.milestone-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.milestone-icon svg { width: 20px; height: 20px; }
.milestone-card h3 { font-size: 1.05rem; }
.milestone-card p { font-size: 0.92rem; margin-bottom: 0; }
.milestone-card a { color: var(--green-dark); font-weight: 600; }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--green-mid));
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 6px 14px rgba(76, 154, 58, 0.28);
}
.value-icon svg { width: 24px; height: 24px; }

/* ---------- Team ---------- */
.team-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--gray-100);
}
.team-photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--black), var(--green-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
}
.team-body { padding: 24px; }
.team-role { color: var(--green-mid); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }

/* ---------- Projects ---------- */
.project-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}
.project-photo-slot {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, var(--gray-100), var(--gray-100) 10px, var(--off-white) 10px, var(--off-white) 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 16px;
  border-bottom: 1px solid var(--gray-100);
}
img.project-photo-slot {
  object-fit: cover;
  padding: 0;
  color: transparent;
}
.project-body { padding: 22px; }
.project-tag {
  display: inline-block;
  background: var(--off-white);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.notice-banner {
  background: #fff8e6;
  border: 1px solid #f0d98c;
  color: #6b5510;
  padding: 18px 22px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  margin-bottom: 44px;
}
.notice-banner strong { color: #4d3d08; }

/* ---------- Photo feature (full-width background image) ---------- */
.photo-feature {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
}
.photo-feature-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  z-index: 0;
}
.photo-feature-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(35,31,32,0.92) 0%, rgba(35,31,32,0.55) 42%, rgba(35,31,32,0.15) 75%),
    linear-gradient(90deg, rgba(35,31,32,0.75) 0%, rgba(35,31,32,0.15) 55%);
}
.photo-feature .container {
  position: relative;
  z-index: 2;
  padding-top: 64px;
  padding-bottom: 56px;
}
.photo-feature-text { max-width: 560px; }
.photo-feature-text .eyebrow { color: var(--green-light); }
.photo-feature-text h2 { color: var(--white); }
.photo-feature-text p { color: var(--gray-300); font-size: 1.05rem; margin-bottom: 0; }
@media (max-width: 860px) {
  .photo-feature { min-height: 560px; }
  .photo-feature-text { max-width: 100%; }
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--off-white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 52px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: 1fr; gap: 36px; }
}
.stat-number {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  color: var(--gray-600);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--black), var(--green-dark));
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--gray-300); max-width: 560px; margin: 0 auto 30px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-detail { margin-bottom: 24px; }
.contact-detail dt { font-weight: 700; color: var(--black); margin-bottom: 4px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-detail dd { margin: 0 0 4px; color: var(--gray-600); }

table.hours { width: 100%; border-collapse: collapse; margin-top: 8px; }
table.hours td { padding: 6px 0; border-bottom: 1px solid var(--gray-100); color: var(--gray-600); font-size: 0.92rem; }
table.hours td:last-child { text-align: right; font-weight: 600; color: var(--black); }

form.contact-form { display: flex; flex-direction: column; gap: 16px; }
form.contact-form label { font-weight: 600; font-size: 0.88rem; color: var(--black); margin-bottom: 6px; display: block; }
form.contact-form input,
form.contact-form textarea,
form.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
form.contact-form input:focus,
form.contact-form textarea:focus,
form.contact-form select:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(76,154,58,0.15);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row-2 { grid-template-columns: 1fr; } }
.form-status { font-size: 0.9rem; margin-top: 4px; }
.form-status.success { color: var(--green-dark); }
.form-status.error { color: #b03030; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); margin: 0 0 16px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--green-light); }
.footer-logo img { height: 64px; margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--gray-300);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li { padding-left: 28px; position: relative; margin-bottom: 12px; color: var(--gray-600); }
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--green-light);
  clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%, 30% 50%);
}
