/* =========================================================
   Coker Construction — Litchfield Park, AZ
   Design direction: "Garden City" — Cormorant Garamond
   (old-style/garamond display, expressive italic) + Manrope
   geometric humanist body. Deep palm green + ivory + brass
   palette referencing the Wigwam Resort heritage and Litchfield
   Park's deliberately planted boulevards.

   Roman small caps tracked utility labels, § (section mark)
   service entries, palm avenue silhouette hero signature.
   Refined Wigwam-menu-card buttons in palm green.

   First old-style/garamond serif in the network. First
   green-dominant palette. Visually unrelated to Goodyear,
   Waddell, Peoria, Glendale, and Buckeye.
   ========================================================= */

:root {
  /* Palette — warm ivory + palm green + brass */
  --paper: #F2EDDE;
  --paper-deep: #E0D9C2;
  --ink: #1B1815;
  --ink-soft: #5C5547;
  --palm: #2D4F3E;
  --palm-deep: #1F3A2C;
  --palm-light: #426B53;
  --brass: #B58D4A;
  --brass-deep: #8E6E36;
  --terracotta: #A05438;
  --sage: #C8C8B0;
  --rule: rgba(27, 24, 21, 0.15);
  --rule-strong: rgba(27, 24, 21, 0.4);

  /* Type — first old-style serif display + geometric sans body */
  --display: "Cormorant Garamond", "EB Garamond", "Adobe Garamond Pro", Garamond, Georgia, serif;
  --body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --max: 1160px;
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a {
  color: var(--palm);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(45, 79, 62, 0.45);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
a:hover { color: var(--brass-deep); text-decoration-color: var(--brass-deep); }

/* Eyebrow — Roman small caps tracked, NOT italic
   (6th distinct utility style across the network) */
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--palm);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1;
}
.eyebrow::before {
  content: "❦";
  font-family: var(--display);
  font-size: 0.85rem;
  color: var(--brass);
  letter-spacing: 0;
}
.eyebrow--brass { color: var(--brass-deep); }
.eyebrow--brass::before { color: var(--palm); }

/* Display headlines — Cormorant Garamond */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(3rem, 7vw, 5.6rem); line-height: 1; font-weight: 400; letter-spacing: -0.015em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; font-weight: 400; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.4rem, 2.3vw, 1.75rem); line-height: 1.2; font-weight: 500; }
h4 { font-size: 1.1rem; line-height: 1.3; font-weight: 600; }

/* Italic carries strong personality — Cormorant italic is distinctive */
h1 em, h2 em {
  font-style: italic;
  color: var(--palm);
  font-weight: 400;
}

p { margin: 0 0 1.15em; }
p.lead {
  font-family: var(--body);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 58ch;
  font-weight: 400;
}

/* Layout primitives */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.section--paper-deep { background: var(--paper-deep); }
.section--palm {
  background: var(--palm-deep);
  color: var(--paper);
}
.section--palm h1, .section--palm h2, .section--palm h3 { color: var(--paper); }
.section--palm p { color: rgba(242, 237, 222, 0.82); }
.section--palm .eyebrow { color: var(--brass); }
.section--palm .eyebrow::before { color: var(--paper); }
.section--palm a { color: var(--brass); }

.rule { border: 0; height: 1px; background: var(--rule); margin: 2.5rem 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 237, 222, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}
.brand {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand strong {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand span {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--palm);
  margin-top: 0.3rem;
}
.nav {
  display: flex;
  gap: 2.25rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 0.4rem 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--palm); color: var(--palm); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 760px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    padding: 1rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--rule);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--rule); letter-spacing: 0.14em; }
  .nav-toggle { display: block; }
}

/* Hero — book-page elegance */
.hero {
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(2rem, 3vw, 3rem);
  position: relative;
}
.hero__eyebrow { margin-bottom: 1.75rem; }
.hero__title { max-width: 18ch; margin-bottom: 1.75rem; }
.hero__lead { max-width: 56ch; margin-bottom: 2.5rem; }

/* Palm avenue hero signature */
.palms {
  width: 100%;
  height: auto;
  margin: 3.5rem 0 2.5rem;
  color: var(--palm);
}

/* Hero meta */
.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule-strong);
}
.hero__meta dt {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--palm);
  margin-bottom: 0.5rem;
}
.hero__meta dd {
  margin: 0;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}

@media (max-width: 780px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* CTA buttons — refined Wigwam-menu-card (6th distinct treatment) */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.7rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid var(--palm);
  background: var(--palm);
  color: var(--paper);
  border-radius: 1px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn:hover { background: var(--palm-deep); border-color: var(--palm-deep); color: var(--paper); text-decoration: none; }
.btn--ghost {
  background: transparent;
  color: var(--palm);
}
.btn--ghost:hover { background: var(--palm); color: var(--paper); }
.btn__arrow {
  display: inline-block;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  transition: transform 0.15s ease;
}
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Two-column layouts */
.cols-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}
@media (max-width: 820px) { .cols-2 { grid-template-columns: 1fr; } }

.section__header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__header h2 { margin-top: 0.8rem; max-width: 22ch; }

/* Services — § section-mark prefix, no numbering (6th distinct treatment) */
.services-list { list-style: none; padding: 0; margin: 0; }
.service {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 1.5rem 2rem;
  padding: 2.1rem 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.service:last-child { border-bottom: 1px solid var(--rule); }
.service__mark {
  font-family: var(--display);
  font-size: 1.65rem;
  color: var(--brass-deep);
  line-height: 1;
  padding-top: 0.2rem;
  font-style: italic;
}
.service__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.service__desc {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 700px) {
  .service { grid-template-columns: 28px 1fr; gap: 0.5rem 1rem; padding: 1.7rem 0; }
  .service__mark { font-size: 1.3rem; }
  .service__desc { grid-column: 1 / -1; }
}

/* Neighborhoods — in-limits / adjacent split */
.zone {
  margin-bottom: 3rem;
}
.zone__label {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--palm);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.zone__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.neighborhoods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.neighborhood {
  background: var(--paper);
  padding: 1.5rem 1.5rem 1.6rem;
  border: 1px solid var(--rule-strong);
  border-top: 3px solid var(--palm);
  transition: border-top-color 0.15s ease;
}
.neighborhood:hover { border-top-color: var(--brass); }
.section--paper-deep .neighborhood { background: var(--paper); }
.neighborhood__name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}
.neighborhood__tag {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.neighborhood__note {
  font-size: 0.93rem;
  color: var(--ink-soft);
  margin: 0.75rem 0 0;
  line-height: 1.6;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.25rem;
  margin-top: 2rem;
  counter-reset: phase;
}
.process__step {
  padding: 0;
  counter-increment: phase;
}
.process__step::before {
  content: counter(phase, upper-roman) ".";
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--brass);
  display: block;
  margin-bottom: 0.8rem;
  line-height: 1;
}
.process__step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--paper);
  font-weight: 500;
}
.process__step p { font-size: 0.95rem; color: rgba(242, 237, 222, 0.78); margin: 0; }

/* FAQ */
.faq__item {
  border-top: 1px solid var(--rule);
}
.faq__item:last-child { border-bottom: 1px solid var(--rule); }
.faq__q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 1.85rem 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.faq__q::after {
  content: "+";
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--palm);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}
.faq__item[open] .faq__q::after { content: "−"; }
.faq__a {
  padding: 0 0 1.85rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 68ch;
}
.faq__a p:last-child { margin-bottom: 0; }
.faq__item summary { list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info dl { margin: 0; }
.contact-info dt {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--palm);
  margin-top: 1.75rem;
}
.contact-info dt:first-of-type { margin-top: 0; }
.contact-info dd { margin: 0.45rem 0 0; font-size: 1.05rem; }

.form { display: grid; gap: 1.4rem; }
.field { display: flex; flex-direction: column; }
.field > label {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--palm);
  margin-bottom: 0.55rem;
}
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  color: var(--ink);
  border-radius: 1px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--palm);
  outline-offset: 0;
  border-color: var(--palm);
}
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 580px) { .field-row { grid-template-columns: 1fr; } }
.form__submit { justify-self: start; margin-top: 0.5rem; }
.form__msg {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--palm);
  margin-top: 1rem;
}
.form__msg--error { color: var(--terracotta); }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Services checkbox group */
.field--services { border: 0; padding: 0; margin: 0; }
.field--services legend {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--palm);
  margin-bottom: 0.8rem;
  padding: 0;
}
.field__hint {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-left: 0.5rem;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.6rem 1rem;
  border: 1px solid var(--rule-strong);
  padding: 1.15rem;
  background: var(--paper);
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.96rem;
  padding: 0.3rem 0;
}
.checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid var(--ink-soft);
  background: var(--paper);
  border-radius: 1px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin: 0;
}
.checkbox input[type="checkbox"]:checked {
  background: var(--palm);
  border-color: var(--palm);
}
.checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid var(--paper);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--palm);
  outline-offset: 2px;
}

.recaptcha-notice {
  font-family: var(--body);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.85rem;
  line-height: 1.5;
}
.recaptcha-notice a { color: var(--palm); }
.grecaptcha-badge { visibility: hidden !important; }

/* Footer */
.site-footer {
  background: var(--palm-deep);
  color: var(--paper);
  padding: 4.5rem 0 2rem;
}
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.footer-col h4 {
  color: var(--brass);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.55rem; font-size: 0.96rem; }
.footer-brand p { color: rgba(242, 237, 222, 0.72); font-size: 0.95rem; max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid rgba(242, 237, 222, 0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(242, 237, 222, 0.65);
}

/* Page-specific intro (subpages) */
.page-intro {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule);
}
.page-intro h1 { max-width: 20ch; margin-bottom: 1.2rem; }
.page-intro p.lead { max-width: 60ch; }

/* Pull quote — palm-bordered, Cormorant italic */
.pullquote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.3;
  color: var(--ink);
  padding: 2rem 0 2rem 2rem;
  border-left: 3px solid var(--brass);
  margin: 2.5rem 0;
  max-width: 38ch;
}
.pullquote cite {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--body);
  font-style: normal;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--palm);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  margin: 2.5rem 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
}
.stat {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: 0; }
@media (max-width: 700px) {
  .stat { border-right: 0; border-bottom: 1px solid var(--rule); padding: 1.5rem 0; }
  .stat:last-child { border-bottom: 0; }
}
.stat__num {
  font-family: var(--display);
  font-weight: 500;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--palm);
  margin-bottom: 0.5rem;
}
.stat__label {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

/* Focus states */
:focus-visible {
  outline: 2px solid var(--palm);
  outline-offset: 2px;
}

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


/* ──────────────────────────────────────────────────────────────
   SEO upgrade — split hero hierarchy
   .hero__h1 is the new keyword-targeted H1 (smaller, top of hero)
   .hero__tagline carries the original display copy (large, italic)
   ────────────────────────────────────────────────────────────── */
.hero__h1 {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  color: var(--ink-soft, var(--ink));
}

.hero__tagline {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1;
  margin: 0 0 1.75rem;
  color: var(--ink);
  max-width: 18ch;
}

.hero__tagline em {
  font-style: italic;
  color: var(--palm);
}
