/* Apartment & multifamily gutter cleaning — Nashville
   Warm property-operations composition. Mobile first. */

:root {
  --page: #F4EFE6;
  --sheet: #FFFCF6;
  --ink: #1C2320;
  --body: #333C38;
  --muted: #59635E;
  --rule: #DFD3C1;
  --clay: #F1E4D6;
  --clay-rule: #E0CDB8;
  --green: #22403A;
  --green-soft: #2F5147;
  --green-text: #E9E4D8;
  --brick: #91422A;
  --shadow: 0 1px 2px rgba(40, 32, 20, .05), 0 10px 26px rgba(40, 32, 20, .06);
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3, .cue, .jump, .drawer, .chit, .pz, .foot {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brick); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #6F311E; }

:focus-visible {
  outline: 3px solid var(--brick);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  z-index: 20;
  text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

.vh {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.hold {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

/* ---------- masthead ---------- */

.mast { padding-bottom: 8px; }

.mast__bar {
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 252, 246, .55);
}

.bar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
}

.mark { display: flex; align-items: flex-end; gap: 4px; height: 22px; }
.mark i { display: block; width: 9px; background: var(--green-soft); border-radius: 1px 1px 0 0; }
.mark__a { height: 12px; }
.mark__b { height: 20px; }
.mark__c { height: 15px; }

/* mobile hamburger */
.drawer { position: relative; }
.drawer > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-right: -6px;
  cursor: pointer;
  border-radius: 8px;
}
.drawer > summary::-webkit-details-marker { display: none; }
.burger { display: block; width: 22px; }
.burger i {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 4px 0;
}
.drawer[open] > summary { background: #EFE6D8; }

.drawer__panel {
  position: absolute;
  right: 0;
  top: 52px;
  z-index: 10;
  min-width: 232px;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
}
.drawer__panel ul { list-style: none; margin: 0; padding: 0; }
.drawer__panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  border-radius: 8px;
}
.drawer__panel a:hover { background: #F2EADC; }

/* desktop jump rail */
.jump { display: none; }
.jump ul {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.jump a {
  display: inline-block;
  padding: 4px 0;
  font-size: 14px;
  letter-spacing: .02em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.jump a:hover { color: var(--ink); border-bottom-color: var(--green-soft); }

.mast__in { padding-top: 34px; padding-bottom: 30px; }

h1 {
  margin: 0 0 18px;
  font-size: clamp(1.85rem, 1.2rem + 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--ink);
  max-width: 20ch;
}

.answer {
  font-size: clamp(1.06rem, 1rem + .5vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink);
  max-width: 62ch;
  border-top: 3px solid var(--green-soft);
  padding-top: 18px;
}

/* ---------- section rhythm ---------- */

.zone { margin: 26px 0; padding-left: 18px; padding-right: 18px; }
.zone--duty { padding-left: 0; padding-right: 0; }

.lead { margin-bottom: 22px; }
.lead h2, .duty__in h2, .record__head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.32rem, 1.05rem + 1.35vw, 1.85rem);
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--ink);
}
.lead__a { font-size: 1.06em; color: var(--ink); max-width: 62ch; margin: 0; }

.prose p { max-width: 68ch; }

/* 1 — roster sheet */

.sheet {
  position: relative;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 4px 4px 16px 16px;
  box-shadow: var(--shadow);
  padding: 34px 18px 30px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1084px;
}
.sheet--roofline::before {
  content: "";
  position: absolute;
  left: -1px; right: -1px; top: -1px;
  height: 10px;
  background:
    repeating-linear-gradient(135deg, var(--green-soft) 0 2px, transparent 2px 9px),
    linear-gradient(var(--clay), var(--clay));
  border-radius: 4px 4px 0 0;
}

.cue {
  margin: 0 0 14px;
  font-size: .84rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.roster { list-style: none; margin: 0 0 26px; padding: 0; }
.roster__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.roster__item:last-child { border-bottom: 1px solid var(--rule); }
.roster__item p { margin: 0; max-width: 62ch; }
.roster__item strong { color: var(--ink); }

/* building glyphs */
.bldg {
  position: relative;
  display: block;
  flex: none;
  width: 42px;
  height: 34px;
  margin-top: 4px;
}
.bldg::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 21px;
  background: #E7D9C6;
  border-radius: 2px;
}
.bldg::after {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 21px solid transparent;
  border-right: 21px solid transparent;
  border-bottom: 14px solid var(--green-soft);
}
.bldg i {
  position: absolute;
  left: 6px; right: 6px; bottom: 6px;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--sheet) 0 4px, transparent 4px 9px);
}
.bldg--b { width: 54px; }
.bldg--b::after { border-left-width: 27px; border-right-width: 27px; border-bottom-width: 11px; }
.bldg--c { width: 32px; }
.bldg--c::after { border-left-width: 16px; border-right-width: 16px; }
.bldg--d { width: 50px; height: 26px; margin-top: 10px; }
.bldg--d::before { height: 14px; }
.bldg--d::after {
  left: 0; transform: none;
  width: 100%; height: 7px;
  border: 0;
  background: var(--green-soft);
  border-radius: 2px;
}
.bldg--d i { display: none; }
.bldg--e { width: 36px; height: 30px; margin-top: 6px; }
.bldg--e::before { height: 17px; }
.bldg--e::after { border-left-width: 18px; border-right-width: 18px; border-bottom-width: 13px; }

/* 2 — responsibility field */

.zone--duty {
  background: var(--green);
  color: var(--green-text);
  padding: 42px 0 44px;
  margin: 34px 0;
}
.zone--duty h2 { color: #FBF7EC; }
.duty__a {
  font-size: clamp(1.08rem, 1rem + .55vw, 1.32rem);
  line-height: 1.55;
  color: #FBF7EC;
  max-width: 58ch;
  margin: 0 0 26px;
}
.statute {
  border-left: 3px solid rgba(233, 228, 216, .45);
  padding-left: 18px;
  color: rgba(233, 228, 216, .93);
}
.statute p { max-width: 68ch; }
.zone--duty a { color: #F2C9AF; }

/* 3 — access, clay panel */

.clay {
  background: var(--clay);
  border: 1px solid var(--clay-rule);
  border-radius: 18px;
  padding: 30px 18px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1084px;
}

.split { display: grid; gap: 24px; }

.plan {
  margin: 0;
  background: var(--sheet);
  border: 1px solid var(--clay-rule);
  border-radius: 12px;
  padding: 16px;
}
.plan__roofline { display: flex; align-items: flex-end; gap: 10px; height: 74px; }
.plan__blk { position: relative; flex: 1; background: #E7D9C6; border-radius: 2px; }
.plan__blk::before {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 100%;
  height: 6px;
  background: var(--green-soft);
  border-radius: 2px;
}
.plan__blk--1 { height: 46px; }
.plan__blk--2 { height: 64px; }
.plan__blk--3 { height: 36px; }

.plan__zones { display: grid; gap: 8px; margin-top: 14px; }
.pz {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FBF4EC;
  border: 1px solid var(--clay-rule);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.pz b { font-weight: 600; }
.cars i {
  display: inline-block;
  width: 15px; height: 9px;
  margin-right: 3px;
  background: #C9AF92;
  border-radius: 3px;
}
.path { flex: none; width: 54px; border-top: 3px dashed #C9AF92; }
.patio i {
  display: inline-block;
  width: 12px; height: 12px;
  margin-right: 4px;
  border: 2px solid #C9AF92;
  border-radius: 2px;
}

/* 4 — completion record */

.record {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-left: auto;
  margin-right: auto;
  max-width: 1084px;
  padding: 0;
  overflow: hidden;
}
.record__head {
  background: #EFE7D9;
  border-bottom: 1px solid var(--rule);
  padding: 26px 18px 24px;
}
.record__a { font-size: 1.06em; color: var(--ink); max-width: 62ch; margin: 0; }
.record__body { padding: 26px 18px 28px; display: grid; gap: 22px; }

.log { margin: 0; display: grid; gap: 8px; }
.log__row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FBF4EC;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 10px 12px;
}
.log__row .bldg { margin-top: 0; }
.chit {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--muted);
  background: #fff;
}
.chit--flow { border-color: var(--green-soft); color: var(--green-soft); }

/* 5 — providers frame */

.frame {
  border: 2px solid var(--clay-rule);
  border-radius: 18px;
  padding: 30px 18px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1084px;
}

.cos { display: grid; gap: 20px; }
.co {
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 22px 18px;
}
.co h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--ink);
}
.co p { max-width: 60ch; }
.co__limit {
  border-left: 3px solid var(--clay-rule);
  padding-left: 14px;
  color: var(--muted);
}
.co__fit {
  background: #F4EDE1;
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
}
.close {
  margin-top: 24px;
  max-width: 68ch;
  color: var(--ink);
}

/* ---------- footer ---------- */

.foot {
  border-top: 1px solid var(--rule);
  margin-top: 40px;
  padding: 26px 0 40px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.foot p { max-width: 70ch; }

/* ---------- wider screens ---------- */

@media (min-width: 700px) {
  body { font-size: 18px; }
  .hold { padding-left: 28px; padding-right: 28px; }
  .zone { padding-left: 28px; padding-right: 28px; }
  .zone--duty { padding-left: 0; padding-right: 0; }
  .sheet, .clay, .record, .frame { max-width: 1064px; }
  .sheet { padding: 42px 36px 38px; }
  .clay, .frame { padding: 38px 36px; }
  .record__head { padding: 34px 36px 30px; }
  .record__body { padding: 32px 36px 36px; }
  .co { padding: 26px 24px; }
  .zone { margin: 34px 0; }
  .zone--duty { padding: 56px 0 58px; margin: 44px 0; }
  .split { grid-template-columns: 340px 1fr; gap: 34px; align-items: start; }
  .record__body { grid-template-columns: 300px 1fr; gap: 34px; align-items: start; }
  .statute { padding-left: 26px; }
}

@media (min-width: 900px) {
  .cos { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .roster { display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; }
  .roster__item:nth-last-child(2) { border-bottom: 1px solid var(--rule); }
  .lead {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 30px;
  }
  .lead h2 { margin-bottom: 0; }
  .duty__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 34px; align-items: end; }
  .duty__in h2 { margin-bottom: 0; }
  .duty__a { margin-bottom: 0; }
  .statute { grid-column: 1 / -1; margin-top: 30px; }
  .record__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 30px; align-items: end; }
  .record__head h2 { margin-bottom: 0; }
}

@media (min-width: 980px) {
  .drawer { display: none; }
  .jump { display: block; }
  .bar__in { min-height: 62px; }
  .mast__in { padding-top: 56px; padding-bottom: 48px; }
  h1 { max-width: 24ch; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
