/* Evergreene Architectural Arts — base stylesheet */

:root {
  --white: #ffffff;
  --paper: #f7f6f3;
  --charcoal: #23262a;
  --charcoal-soft: #3a3f45;
  --warm-gray: #8a8578;
  --warm-gray-light: #e4e1d9;
  --navy: #2b3a4f;
  --navy-mid: #3f5d7a;
  --line: #dcd8ce;
  --radius: 3px;
  --maxw: 1140px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal-soft);
  background: var(--white);
}

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

a { color: var(--navy-mid); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--charcoal);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.35rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy);
  color: #dfe6ee;
  font-size: .84rem;
  letter-spacing: .02em;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  align-items: center; justify-content: space-between;
  min-height: 40px; padding-top: 6px; padding-bottom: 6px;
}
.topbar a { color: #ffffff; }
.topbar span + span { white-space: nowrap; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--serif); font-size: 1.12rem; font-weight: 600;
  color: var(--charcoal); letter-spacing: .01em;
}
.brand-tag {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--warm-gray);
}

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 9px 12px; cursor: pointer;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--charcoal);
}

.nav ul {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav a {
  color: var(--charcoal); font-size: .93rem; letter-spacing: .02em;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { text-decoration: none; border-bottom-color: var(--warm-gray); }
.nav a.active { border-bottom-color: var(--navy); color: var(--navy); }
.nav .nav-cta {
  background: var(--navy); color: #fff; padding: 10px 18px;
  border-radius: var(--radius); border-bottom: 0;
}
.nav .nav-cta:hover { background: var(--navy-mid); border-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: var(--radius);
  font-size: .95rem; letter-spacing: .04em; text-align: center;
  border: 1px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-mid); }
.btn-outline { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--warm-gray-light); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */
.hero {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px;
  align-items: center; padding: 68px 0 72px;
}
.eyebrow {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .2em;
  color: var(--warm-gray); margin: 0 0 16px;
}
.hero h1 { margin-bottom: 18px; }
.hero-lead { font-size: 1.09rem; color: var(--charcoal-soft); }
.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line);
}
.hero-note {
  margin-top: 12px; font-size: .82rem; color: var(--warm-gray);
  letter-spacing: .02em;
}
.rule-list {
  list-style: none; padding: 0; margin: 26px 0 28px;
  font-size: .96rem;
}
.rule-list li {
  padding-left: 20px; position: relative; color: var(--charcoal-soft);
}
.rule-list li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 9px; height: 1px; background: var(--navy-mid);
}

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head p { margin-bottom: 0; }
.section-head .eyebrow { margin-bottom: 12px; }

.page-head {
  background: var(--navy); color: #e8edf3; padding: 58px 0 60px;
}
.page-head h1 { color: #fff; max-width: 900px; }
.page-head p { max-width: 760px; margin-bottom: 0; color: #cdd8e4; }
.page-head .eyebrow { color: #9fb3c8; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
}
.card h3 { margin-bottom: .5em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-num {
  font-family: var(--serif); font-size: .82rem; letter-spacing: .18em;
  color: var(--warm-gray); display: block; margin-bottom: 10px;
}
.card-media { padding: 0; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-media .card-body { padding: 24px 26px 26px; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.split img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }
.split h2 { margin-bottom: .5em; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { padding: 30px 28px; border-right: 1px solid var(--line); background: #fff; }
.step:last-child { border-right: 0; }
.step-index {
  font-family: var(--serif); font-size: 1.5rem; color: var(--navy);
  display: block; margin-bottom: 8px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .94rem; margin-bottom: 0; }

/* ---------- Service list (services page) ---------- */
.service-block {
  border-top: 1px solid var(--line); padding: 34px 0;
  display: grid; grid-template-columns: 260px 1fr; gap: 40px;
}
.service-block:last-child { border-bottom: 1px solid var(--line); }
.service-block h2 { font-size: 1.4rem; margin-bottom: 0; }
.service-block .service-meta {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--warm-gray); margin-top: 10px;
}
.service-block p:last-child, .service-block ul:last-child { margin-bottom: 0; }

/* ---------- Areas ---------- */
.area-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.area-list li {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 16px; background: #fff; font-size: .94rem; margin: 0;
  color: var(--charcoal);
}

/* ---------- Contact ---------- */
.contact-band {
  background: var(--navy); color: #e8edf3; padding: 56px 0;
}
.contact-band h2 { color: #fff; }
.contact-band a { color: #fff; text-decoration: underline; }
.contact-band .btn-light { text-decoration: none; }
.contact-band .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.contact-band .btn-outline:hover { background: #fff; color: var(--navy); }
.contact-cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }

.info-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.info-table th, .info-table td {
  text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table th { width: 34%; font-weight: 600; color: var(--charcoal); font-family: var(--sans); }

form .field { margin-bottom: 18px; }
label { display: block; font-size: .87rem; letter-spacing: .04em; color: var(--charcoal); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 13px; font-size: 1rem; font-family: inherit;
  color: var(--charcoal); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy-mid); outline-offset: 1px; border-color: var(--navy-mid); }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .84rem; color: var(--warm-gray); }
.form-status {
  margin-top: 14px; padding: 12px 14px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); font-size: .92rem;
  display: none;
}
.form-status.visible { display: block; }

.map-frame {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  line-height: 0; background: var(--paper);
}
.map-frame iframe { width: 100%; height: 380px; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal); color: #b9bcc0; padding: 52px 0 26px;
  font-size: .93rem;
}
.site-footer h3 {
  color: #fff; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .16em; font-family: var(--sans); font-weight: 600; margin-bottom: 14px;
}
.site-footer a { color: #e7e8ea; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 38px; height: 38px; background: #fff; border-radius: var(--radius); }
.footer-brand span { font-family: var(--serif); color: #fff; font-size: 1.05rem; }
.footer-bottom {
  border-top: 1px solid #3a3e43; margin-top: 40px; padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between;
  font-size: .85rem; color: #8f9296;
}

/* ---------- Sticky mobile call bar ---------- */
.call-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; padding: 48px 0 54px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .contact-cols { grid-template-columns: 1fr; gap: 34px; }
  .service-block { grid-template-columns: 1fr; gap: 14px; }
  .area-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.45rem; }
  .section { padding: 48px 0; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(35,38,42,.08);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav li:last-child { border-bottom: 0; padding-top: 14px; }
  .nav a { display: block; padding: 14px 0; border-bottom: 0; }
  .nav a.active { border-bottom: 0; }
  .nav .nav-cta { text-align: center; }
  .site-header { position: relative; }
  .header-inner { min-height: 66px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .btn { width: 100%; }
  .btn-row { gap: 12px; }
  body { padding-bottom: 62px; }
  .call-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    border-top: 1px solid #1c2431;
  }
  .call-bar a {
    flex: 1; text-align: center; padding: 15px 8px; font-size: .95rem;
    background: var(--navy); color: #fff; letter-spacing: .03em;
  }
  .call-bar a + a { background: var(--charcoal); border-left: 1px solid #1c2431; }
  .call-bar a:hover { text-decoration: none; }
}

@media print {
  .site-header, .topbar, .call-bar, .map-frame { display: none; }
}
