/* Cedar Hill Landscape Contractors — site styles */
:root {
  --oxblood: #4b0f12;
  --oxblood-deep: #2c0809;
  --oxblood-soft: #6b2a2c;
  --saddle: #a77d4f;
  --saddle-light: #c9a373;
  --limestone: #ebe6dd;
  --paper: #fbfaf7;
  --ink: #241b19;
  --ink-soft: #5a4d48;
  --rule: #d6cdbf;
  --serif: "Libre Caslon Text", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Libre Franklin", "Franklin Gothic Book", "Helvetica Neue", Arial, sans-serif;
  --measure: 66ch;
  --gutter: clamp(20px, 5vw, 64px);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oxblood); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--oxblood-deep); }
:focus-visible { outline: 2px solid var(--saddle); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--oxblood); line-height: 1.18; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; max-width: var(--measure); }

/* Utility bar */
.utility { background: var(--oxblood-deep); color: #e6d8c6; font-size: .84rem; }
.utility .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.utility a { color: #f3e7d6; text-decoration: none; }
.utility a:hover { text-decoration: underline; color: #fff; }
.utility .markets { color: #cbb79e; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); position: relative; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 132px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav a { font-size: .97rem; font-weight: 500; color: var(--ink); text-decoration: none; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--oxblood); }
.nav a[aria-current="page"] { color: var(--oxblood); border-bottom-color: var(--oxblood); }
.nav .btn { border-bottom: 0; }
.nav-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: .95rem;
  padding: 12px 22px; border-radius: 2px; text-decoration: none; cursor: pointer;
  background: var(--oxblood); color: #fff; border: 1px solid var(--oxblood);
}
.btn:hover { background: var(--oxblood-deep); color: #fff; }
.btn-quiet { background: transparent; color: var(--oxblood); }
.btn-quiet:hover { background: var(--oxblood); color: #fff; }
.nav .btn, .nav .btn[aria-current="page"] { color: #fff; padding: 10px 18px; border-bottom: 0; }

/* Page title band */
.masthead {
  background-color: var(--oxblood);
  background-image: url("contours.svg");
  background-size: 900px auto;
  background-position: right -120px center;
  background-repeat: no-repeat;
  color: #f4ebe0;
}
.masthead .wrap { padding-block: clamp(56px, 9vw, 112px) clamp(48px, 7vw, 88px); }
.masthead h1 { color: #fff; max-width: 20ch; }
.masthead .lede { font-family: var(--serif); font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; color: #ead9c5; margin-top: 22px; max-width: 54ch; }
.crumb { font-size: .9rem; color: #d2b99a; margin: 0 0 18px; }
.crumb a { color: #e9d6bd; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section + .section { border-top: 1px solid var(--rule); }
.section.stone { background: var(--limestone); border-top: 0; }
.section.stone + .section { border-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split h2 { position: sticky; top: 28px; }
.prose p:first-child { font-family: var(--serif); font-size: 1.22rem; line-height: 1.6; color: var(--ink); }
.prose p { color: var(--ink-soft); }

/* Service ledger */
.ledger { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--oxblood); }
.ledger li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; padding-block: 26px; border-bottom: 1px solid var(--rule); }
.ledger h3 { font-size: 1.35rem; }
.ledger p { margin: 0; color: var(--ink-soft); }

/* Markets */
.markets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--rule); background: var(--paper); }
.market { padding: clamp(26px, 4vw, 44px); }
.market + .market { border-left: 1px solid var(--rule); }
.market h3 { margin-bottom: 10px; }
.market p { color: var(--ink-soft); margin: 0; }
.market .lead { margin-top: 18px; font-size: .95rem; color: var(--ink); }

.segments { columns: 2; column-gap: 40px; padding: 0; margin: 8px 0 0; list-style: none; max-width: 520px; }
.segments li { padding: 9px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }

/* Pull statement */
.statement { background: var(--oxblood-deep); color: #efe2d1; }
.statement .wrap { padding-block: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.statement img { width: clamp(84px, 11vw, 132px); filter: brightness(0) invert(88%) sepia(18%) saturate(380%) hue-rotate(340deg); opacity: .9; }
.statement blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.45; color: #fff; max-width: 34ch; }
.statement cite { display: block; margin-top: 16px; font-family: var(--sans); font-style: normal; font-size: .95rem; color: #cfb595; }

/* Team */
.leader { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.leader + .leader { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--rule); }
.portrait { aspect-ratio: 4 / 5; overflow: hidden; background: var(--limestone); position: relative; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.portrait .pending {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  font-family: var(--serif); color: var(--oxblood-soft); font-size: 3.4rem;
  background: linear-gradient(160deg, #e6dfd3, #d9cfbf);
}
.leader h2 { margin-bottom: 4px; }
.leader .role { font-size: 1rem; color: var(--saddle); font-weight: 600; margin: 0 0 26px; }
.leader .focus { font-size: .95rem; color: var(--ink-soft); margin: 0 0 26px; }
.leader .bio p { color: var(--ink-soft); }
.leader .bio p:first-child { color: var(--ink); }
.leader .reach { display: flex; gap: 22px; flex-wrap: wrap; font-size: .95rem; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 26px; padding: 0; list-style: none; font-size: .93rem; color: var(--ink); }
.facts li { padding-left: 14px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--saddle); transform: rotate(45deg); }

/* Careers */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.values h3 { margin-bottom: 10px; padding-top: 18px; border-top: 2px solid var(--oxblood); }
.values p { color: var(--ink-soft); margin: 0; }
.roles { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.roles li { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.roles strong { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; color: var(--ink); }
.roles span { color: var(--ink-soft); font-size: .95rem; text-align: right; }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
form.ch-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 13px; background: #fff; border: 1px solid #c9bfb1; border-radius: 2px; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--oxblood); box-shadow: 0 0 0 3px rgba(75,15,18,.12); }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.form-status { grid-column: 1 / -1; padding: 16px 18px; border-left: 3px solid var(--oxblood); background: var(--limestone); margin: 0; }
.hp { position: absolute; left: -9999px; }

.contact-card { background: var(--limestone); padding: clamp(24px, 3vw, 36px); }
.contact-card h3 { margin-bottom: 12px; }
.contact-card + .contact-card { margin-top: 20px; }
.contact-card p { margin: 0 0 .5em; color: var(--ink-soft); font-size: .98rem; }
.contact-card dl { margin: 0; }
.contact-card dt { font-weight: 600; color: var(--ink); margin-top: 14px; }
.contact-card dd { margin: 2px 0 0; color: var(--ink-soft); font-size: .98rem; }

/* Closing band */
.cta-band { background: var(--limestone); border-top: 1px solid var(--rule); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding-block: clamp(44px, 6vw, 72px); flex-wrap: wrap; }
.cta-band h2 { max-width: 26ch; }

/* Footer */
.site-footer { background: var(--oxblood-deep); color: #d9c7b1; font-size: .93rem; }
.site-footer .wrap { padding-block: 56px 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 3fr)); gap: 32px; }
.site-footer h4 { font-family: var(--serif); font-weight: 400; color: #fff; font-size: 1.05rem; margin: 0 0 12px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: #f1e3cf; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.foot-mark img { width: 150px; filter: brightness(0) invert(90%) sepia(14%) saturate(300%) hue-rotate(340deg); margin-bottom: 18px; }
.foot-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(233, 214, 189, .18); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #b39c82; font-size: .85rem; }

/* Responsive */
@media (max-width: 900px) {
  .split, .leader, .form-layout { grid-template-columns: 1fr; }
  .split h2 { position: static; }
  .leader .portrait { max-width: 360px; }
  .values { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: .95rem;
    background: none; border: 1px solid var(--rule); padding: 9px 14px; color: var(--ink); border-radius: 2px; cursor: pointer;
  }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--rule); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--rule); }
  .nav a[aria-current="page"] { border-bottom-color: var(--rule); }
  .nav .btn { margin-top: 14px; text-align: center; }
  .brand img { width: 104px; }
  .ledger li { grid-template-columns: 1fr; gap: 8px; }
  .markets-grid { grid-template-columns: 1fr; }
  .market + .market { border-left: 0; border-top: 1px solid var(--rule); }
  .segments { columns: 1; }
  .statement .wrap { grid-template-columns: 1fr; }
  form.ch-form { grid-template-columns: 1fr; }
  .roles li { flex-direction: column; gap: 4px; }
  .roles span { text-align: left; }
  .masthead { background-size: 640px auto; background-position: right -260px bottom -80px; }
  .utility .wrap { justify-content: flex-end; }
  .utility .markets { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Principles */
.creed { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.creed > div { padding-right: clamp(24px, 5vw, 64px); }
.creed > div + div { padding-right: 0; padding-left: clamp(24px, 5vw, 64px); border-left: 1px solid var(--rule); }
.creed h2 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; color: var(--saddle); margin-bottom: 14px; }
.creed p { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.45; color: var(--ink); margin: 0; max-width: 30ch; }
.stool-intro h2 { position: static; margin-bottom: 28px; }
.stool { width: 180px; height: auto; display: block; margin-bottom: 24px; }
.stool rect { fill: var(--oxblood); }
.stool line { stroke: var(--oxblood); stroke-width: 7; stroke-linecap: round; }
.stool line.rung { stroke-width: 3.5; stroke: var(--saddle); }
.stool-note { font-family: var(--serif); font-style: italic; font-size: 1.1rem; line-height: 1.6; color: var(--ink-soft); max-width: 32ch; }
.legs { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--oxblood); }
.legs li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding-block: 30px; border-bottom: 1px solid var(--rule); }
.legs .numeral { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--saddle); line-height: 1.2; }
.legs h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.legs .sub { font-family: var(--serif); font-style: italic; color: var(--oxblood-soft); margin: 4px 0 12px; }
.legs p { color: var(--ink-soft); margin-bottom: 0; }
.statement-body p { font-size: 1.02rem; color: #e3d2bd; max-width: 62ch; margin-top: 20px; }
.statement-body .closer { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.35rem); color: #fff; line-height: 1.5; }
@media (max-width: 900px) { .stool-intro { display: grid; grid-template-columns: auto 1fr; gap: 0 24px; align-items: center; } .stool-intro h2 { grid-column: 1 / -1; } .stool { width: 120px; margin: 0; } }
@media (max-width: 760px) {
  .creed { grid-template-columns: 1fr; gap: 36px; }
  .creed > div, .creed > div + div { padding: 0; border-left: 0; }
  .creed > div + div { padding-top: 36px; border-top: 1px solid var(--rule); }
  .legs li { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
}

/* Home */
.home-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); background: var(--oxblood); min-height: min(640px, 78vh); }
.home-hero-text { display: flex; align-items: center; background-color: var(--oxblood); background-image: url("contours.svg"); background-size: 900px auto; background-position: left -260px center; background-repeat: no-repeat; }
.home-hero-inner { padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 72px) clamp(48px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.home-hero-inner > * { max-width: 620px; }
.home-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.12; text-wrap: balance; }
.home-hero .lede { font-family: var(--serif); font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: #ead9c5; margin-top: 24px; max-width: 48ch; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; }
.btn-light { background: var(--paper); color: var(--oxblood); border-color: var(--paper); }
.btn-light:hover { background: #fff; color: var(--oxblood-deep); }
.text-link { color: #f3e3cc; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(243,227,204,.45); text-underline-offset: 5px; }
.text-link:hover { color: #fff; }
.text-link.dark { color: var(--oxblood); text-decoration-color: rgba(75,15,18,.35); }
.home-hero-photo { position: relative; overflow: hidden; }
.home-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { margin: 0; color: var(--ink-soft); max-width: 46ch; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.service { text-decoration: none; color: var(--ink); display: block; }
.service img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; margin-bottom: 18px; }
.service h3 { margin-bottom: 8px; }
.service p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.service:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

.principles-teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.principles-teaser p { color: var(--ink-soft); margin: 16px 0 22px; }
.mini-legs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--oxblood); }
.mini-legs li { padding: 22px 18px 4px 0; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--oxblood); }
.mini-legs li + li { padding-left: 18px; border-left: 1px solid var(--rule); }
.mini-legs span { display: block; font-style: italic; font-size: 1rem; color: var(--saddle); margin-bottom: 6px; }
.mini-legs em { display: block; font-size: 1rem; color: var(--ink-soft); margin-top: 6px; }

.principals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.principals a { text-decoration: none; color: var(--ink); }
.principals .portrait { margin-bottom: 14px; }
.principals strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--oxblood); }
.principals span:not(.pending) { color: var(--ink-soft); font-size: .95rem; }
.principals a:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; min-height: 0; }
  .home-hero-inner { padding-inline: var(--gutter); }
  .home-hero-photo { aspect-ratio: 16 / 10; order: -1; }
  .principles-teaser { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .services { grid-template-columns: 1fr; }
  .principals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mini-legs { grid-template-columns: 1fr; }
  .mini-legs li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .mini-legs li { padding-bottom: 18px; }
}
