/* Oakes & Acres: global styles. Update --site-url in each HTML <head> when your domain is live. */

:root {
  --green: #76c043;
  --dark: #1e3922;
  --white: #ffffff;
  --muted: #f4f6f4;
  --text: #1e3922;
  --max: 72rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: var(--dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green);
}

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--dark);
  color: var(--white);
  z-index: 9999;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(30, 57, 34, 0.12);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.brand img {
  width: 135px;
  height: 135px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .brand img {
    width: 156px;
    height: 156px;
  }
}

@media (min-width: 900px) {
  .brand img {
    width: 177px;
    height: 177px;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dark);
}

@media (min-width: 480px) {
  .brand-name {
    font-size: 1.22rem;
  }
}

.brand-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  color: var(--dark);
  white-space: nowrap;
}

.nav-desktop a:hover {
  background: var(--muted);
}

.nav-desktop a[aria-current="page"] {
  background: var(--dark);
  color: var(--white);
}

.nav-desktop a[aria-current="page"]:hover {
  color: var(--white);
}

.header-cta {
  display: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 1rem;
  background: var(--green);
  color: var(--white);
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--dark);
  color: var(--white);
}

@media (max-width: 859px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem 0.85rem;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .nav-desktop {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.35rem 0.45rem;
    width: 100%;
    margin: 0;
    padding: 0.65rem 0 0;
    border-top: 1px solid rgba(30, 57, 34, 0.1);
  }

  .nav-desktop a {
    font-size: 0.88rem;
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-self: center;
    font-size: 0.82rem;
    padding: 0.48rem 0.75rem;
    white-space: nowrap;
  }
}

@media (min-width: 860px) {
  .nav-desktop {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    padding: 0;
    border: none;
    margin: 0;
  }

  .nav-desktop a {
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
  }

  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .header-cta {
    display: inline-flex;
    font-size: 0.95rem;
    padding: 0.55rem 1rem;
  }
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 3rem;
}

/* Full-width home hero */
.hero-section {
  position: relative;
  color: var(--dark);
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.25rem) 1.25rem clamp(2.5rem, 6vw, 4rem);
  border-radius: 0 0 1.25rem 1.25rem;
  box-shadow: 0 12px 40px rgba(30, 57, 34, 0.12);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    #e8f4e1 0%,
    #d4ecc8 32%,
    #b5dda4 58%,
    #94cc82 100%
  );
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 85% at 75% 15%,
    rgba(255, 255, 255, 0.55),
    transparent 55%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1.75rem, 4vw, 2.5rem);
}

.hero-copy {
  width: 100%;
  max-width: 38rem;
  margin-inline: auto;
  text-align: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: min(248px, 62vw);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.hero-highlights {
  margin: 0 auto 1.5rem;
  padding: 0;
  list-style: none;
  text-align: left;
  width: fit-content;
  max-width: 100%;
}

.hero-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2d5c34;
}

.hero-section h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--dark);
  text-wrap: balance;
}

.hero-lead {
  margin: 0 0 1.35rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  color: rgba(30, 57, 34, 0.88);
}

.hero-highlights li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.55rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--dark);
}

.hero-highlights li:last-child {
  margin-bottom: 0;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--dark);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.65);
}

.hero-cta {
  justify-content: center;
}

.hero-cta .btn-primary {
  box-shadow: 0 4px 14px rgba(30, 57, 34, 0.2);
}

.hero-note {
  margin: 1.15rem 0 0;
  font-size: 0.88rem;
  color: rgba(30, 57, 34, 0.72);
  line-height: 1.45;
}

.btn-outline-on-dark {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

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

.hero-cta .btn-outline-on-dark {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--dark);
  font-weight: 800;
  padding: 0.8rem 1.45rem;
  box-shadow:
    0 4px 16px rgba(30, 57, 34, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.hero-cta .btn-outline-on-dark:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
  box-shadow: 0 6px 18px rgba(30, 57, 34, 0.28);
}

@media (min-width: 900px) {
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
    align-items: center;
    column-gap: clamp(2rem, 5vw, 4rem);
    row-gap: 2rem;
  }

  .hero-copy {
    margin-inline: 0;
    max-width: none;
    text-align: left;
    grid-column: 1;
    grid-row: 1;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
  }

  .hero-logo {
    width: min(340px, 32vw);
    max-width: 100%;
  }

  .hero-highlights {
    margin-left: 0;
    margin-right: 0;
    max-width: 32rem;
  }

  .hero-cta {
    justify-content: flex-start;
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--dark);
  color: var(--white);
}

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

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

section {
  margin-top: 2.75rem;
}

section h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--dark);
  font-weight: 800;
}

section p {
  margin: 0 0 1rem;
  max-width: 42rem;
}

section p:last-child {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--muted);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(30, 57, 34, 0.08);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--dark);
  font-weight: 800;
}

.card p {
  margin: 0;
  font-size: 0.98rem;
}

.list-check {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
}

.list-check li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 2px;
  background: var(--green);
}

.service-areas-list {
  display: grid;
  gap: 0.35rem 2rem;
  max-width: none;
}

@media (min-width: 480px) {
  .service-areas-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.muted-band {
  background: var(--muted);
  border-top: 1px solid rgba(30, 57, 34, 0.08);
  border-bottom: 1px solid rgba(30, 57, 34, 0.08);
  padding: 2.5rem 1.25rem;
  margin-top: 2.5rem;
}

.muted-band-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.muted-band h2 {
  margin-top: 0;
}

.page-intro {
  margin-bottom: 2rem;
}

.page-intro h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  color: var(--dark);
  font-weight: 800;
}

.page-intro p {
  margin: 0;
  max-width: 40rem;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact-block h2 {
  font-size: 1.15rem;
  margin-top: 0;
}

.phone-big {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0.5rem 0 0;
}

.phone-big a {
  text-decoration: none;
  color: var(--green);
}

.phone-big a:hover {
  color: var(--dark);
}

form label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

form input,
form textarea,
form select {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 2px solid rgba(30, 57, 34, 0.2);
  border-radius: 8px;
  margin-bottom: 1rem;
  background: var(--white);
}

form input:focus,
form textarea:focus,
form select:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

form textarea {
  min-height: 8rem;
  resize: vertical;
}

form button[type="submit"] {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: var(--green);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
}

form button[type="submit"]:hover {
  background: var(--dark);
}

form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-status {
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  background: rgba(118, 192, 67, 0.15);
  color: var(--dark);
  border: 1px solid rgba(118, 192, 67, 0.45);
}

.form-status-error {
  background: rgba(180, 60, 50, 0.1);
  border-color: rgba(180, 60, 50, 0.35);
  color: #5c2018;
}

.form-note {
  font-size: 0.9rem;
  color: rgba(30, 57, 34, 0.75);
  margin-top: 1rem;
  max-width: 36rem;
  line-height: 1.45;
}

.form-note code {
  font-size: 0.92em;
  background: rgba(30, 57, 34, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 2rem 1.25rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.site-footer a {
  color: var(--white);
  opacity: 0.95;
}

.site-footer a:hover {
  color: var(--green);
}

.site-footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.site-footer .footer-nav a {
  text-decoration: none;
}

.footer-brand {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.footer-copy {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
}

.internal-links {
  margin-top: 1rem;
}

.internal-links a {
  font-weight: 600;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.trust-strip-main {
  margin-top: 0;
}

.trust-strip li {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--muted);
  border: 1px solid rgba(30, 57, 34, 0.1);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
}

.page-intro-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.05rem;
}

.about-prose {
  max-width: 42rem;
}

.about-prose p {
  margin: 0 0 1rem;
}

.about-goals-lines {
  margin: 0 0 1.25rem;
  line-height: 1.65;
  font-weight: 600;
}

.about-signoff {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(30, 57, 34, 0.12);
  font-size: 1.05rem;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .work-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.work-slot {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(30, 57, 34, 0.06), rgba(118, 192, 67, 0.12));
  border: 2px dashed rgba(30, 57, 34, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  text-align: center;
}

.work-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.work-slot:has(img) {
  border-style: solid;
  border-color: rgba(30, 57, 34, 0.1);
  background: var(--muted);
  padding: 0;
  overflow: hidden;
}

.work-slot:has(img) .work-slot-label {
  display: none;
}

.work-slot-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(30, 57, 34, 0.55);
}

@media (max-width: 859px) {
  .nav-desktop {
    gap: 0.25rem 0.35rem;
  }

  .nav-desktop a {
    font-size: 0.72rem;
    padding: 0.38rem 0.4rem;
    letter-spacing: 0.01em;
  }
}
