/* Southside Local
   One accent colour. Change --accent and the page follows.
   System fonts only: no downloads, no build step. */

:root {
  --paper: #f3f6f4;
  --ink: #14201b;
  --muted: #3d4c45;
  --line: #d7e0db;
  --accent: #0d6b4c;
  --accent-ink: #0b5c41;
  --accent-dark: #084832;
  --card: #ffffff;
  --band: #e5f3ec;
  --footer: #10241c;
  --danger: #7a2e2e;
  --sans: system-ui, -apple-system, "Segoe UI", Cantarell, "Noto Sans", "Liberation Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 70rem;
  --radius: 12px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.05rem, 4.5vw, 3.15rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 0.9rem;
}

h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  margin: 0;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.45rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 0.85rem;
  text-wrap: pretty;
}

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

a {
  color: var(--accent-ink);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-dark);
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: #cfe6d8;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 50;
  transform: translateY(-160%);
  background: var(--card);
  color: var(--ink);
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 2px solid var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.skip:focus {
  transform: none;
}

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

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--accent-ink);
  font-size: 1rem;
  font-weight: 700;
}

.section {
  padding: 3rem 0;
  scroll-margin-top: 5.25rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

.section-head p:last-child {
  margin-top: 0.75rem;
  color: var(--muted);
}

.lede {
  font-size: 1.2rem;
  max-width: 40rem;
  color: var(--ink);
}

.fine {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1rem;
  max-width: 38rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.05rem;
  border: 2px solid var(--accent);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.button:active {
  transform: translateY(1px);
}

.button:disabled {
  opacity: 0.72;
  cursor: wait;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
  min-width: 0;
}

.logo span {
  white-space: nowrap;
}

.logo .mark {
  width: 30px;
  height: 30px;
  flex: none;
  display: block;
}

.desktop-nav,
.header-cta {
  display: none;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  text-decoration-color: rgba(12, 79, 52, 0.45);
  white-space: nowrap;
}

.mobile-nav {
  position: relative;
  margin-left: auto;
}

.mobile-nav summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 48px;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary::after {
  content: "+";
  margin-left: 0.45rem;
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1;
  color: var(--accent);
}

.mobile-nav[open] summary::after {
  content: "–";
}

.mobile-nav nav {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  width: min(18.5rem, calc(100vw - 2rem));
  padding: 0.35rem 0.95rem 0.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(22, 32, 26, 0.1);
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.mobile-nav li:last-child a {
  border-bottom: 0;
  color: var(--accent-ink);
}

/* Hero */

.hero {
  padding: 2rem 0 2.75rem;
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.15rem;
  margin-top: 1.35rem;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 700;
}

.hero-founding {
  margin: 1rem 0 0;
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 1.05rem;
}

.hero-founding a {
  color: inherit;
}

.section-cta {
  margin: 1.5rem 0 0;
}

#why > .wrap > p,
#who .who-copy > p {
  max-width: 42rem;
}

.who-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.who-portrait {
  margin: 0 auto;
  width: min(16rem, 70vw);
}

.who-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  background: #eef0f2;
  border: 3px solid #fff;
  box-shadow: 0 10px 28px rgba(16, 36, 28, 0.08);
}

.offer .price-note {
  margin: -0.45rem 0 0.85rem;
  color: var(--accent-ink);
  font-weight: 700;
}

.sheet {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(16, 36, 28, 0.06);
  padding: 1.2rem 1.15rem 1rem;
}

.sheet-kicker {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-ink);
}

.score {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 0.35rem 0 0.2rem;
  font-family: var(--sans);
  line-height: 1;
}

.score-range {
  font-size: clamp(2.5rem, 5vw, 3.1rem);
  letter-spacing: -0.03em;
}

.sheet-note,
.sheet-foot {
  color: var(--muted);
  font-size: 1rem;
}

.sheet-list {
  list-style: none;
  margin: 1rem 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--line);
}

.sheet-list li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1.7rem;
}

.sheet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid var(--accent);
  border-radius: 2px;
}

/* Problem */

.problems,
.steps,
.offers,
.boroughs,
.look-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.problems {
  display: grid;
  gap: 1.25rem;
  counter-reset: problem;
}

.problems li {
  counter-increment: problem;
  border-top: 2px solid var(--accent);
  padding-top: 0.85rem;
}

.problems li::before {
  content: counter(problem, decimal-leading-zero);
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--sans);
  font-size: 1.55rem;
  line-height: 1;
  color: var(--accent);
}

.problems h3,
.steps h3,
.offer h3 {
  font-size: 1.35rem;
}

.problems p,
.steps p,
.offer p,
.look-list,
.section-head p {
  color: var(--muted);
}

.problems h3,
.steps h3,
.offer h3,
.look-list strong {
  color: var(--ink);
}

/* Check */

.check {
  background: var(--band);
}

.look-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.look-list li {
  padding-left: 0.95rem;
  border-left: 3px solid var(--accent);
}

.look-list strong {
  font-weight: 700;
}

.check-note {
  margin-top: 1.35rem;
  max-width: 40rem;
  padding: 1rem 1.05rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid #c5ddd0;
}

/* Services */

.offers {
  display: grid;
  gap: 1rem;
}

.offer {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1.4rem;
}

.offer-upkeep {
  background: var(--band);
  border-color: #c5ddd0;
}

.offer .tag {
  margin: 0 0 0.35rem;
  color: var(--accent-ink);
  font-size: 1rem;
  font-weight: 700;
}

.offer .price {
  margin: 0.85rem 0;
  font-family: var(--sans);
  font-size: clamp(1.7rem, 3vw, 2rem);
  line-height: 1.15;
  color: var(--accent-ink);
}

.founding {
  margin-top: 1.25rem;
  background: var(--band);
  border: 1px solid #c5ddd0;
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
}

.founding-kicker {
  margin: 0 0 0.3rem;
  color: var(--accent-ink);
  font-size: 1rem;
  font-weight: 700;
}

.founding h3 {
  margin: 0 0 0.65rem;
}

.founding p {
  max-width: 50rem;
}

.founding p:last-child {
  color: var(--muted);
  font-size: 1rem;
}

/* Steps */

.steps {
  display: grid;
  gap: 1.35rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--sans);
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
}

/* Areas */

.boroughs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.boroughs li {
  background: var(--card);
  margin: 0;
  padding: 1rem 0.7rem;
  text-align: center;
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 700;
}

.areas-note {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 42rem;
}

/* FAQ */

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 0.9rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1.05rem;
  max-width: 46rem;
  color: var(--muted);
}

/* Contact */

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

.direct {
  margin: 1rem 0 0;
  padding: 0;
}

.direct div {
  margin-bottom: 0.35rem;
}

.direct dt {
  font-weight: 700;
}

.direct dd {
  margin: 0 0 0.55rem;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1rem 1.2rem;
}

.req-note {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 1rem;
}

.fields {
  display: grid;
  gap: 0.9rem;
}

.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.req {
  color: var(--accent-ink);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c9c0b0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

::placeholder {
  color: #5c564c;
  opacity: 1;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

input:user-invalid,
select:user-invalid,
textarea:user-invalid {
  border-color: var(--danger);
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-card .button {
  width: 100%;
  margin-top: 0.25rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.8rem 0 0;
  font-size: 1rem;
}

.form-status.is-error {
  color: var(--danger);
  font-weight: 700;
}

.setup-note {
  margin: 0.9rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 1rem;
}

/* Privacy */

.privacy {
  border-top: 1px solid var(--line);
}

.privacy h3 {
  margin-top: 1.35rem;
  font-family: var(--sans);
  font-size: 1.125rem;
  letter-spacing: 0;
}

.privacy p,
.privacy li {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1rem;
}

.privacy ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}

.privacy :target,
#privacy:target {
  scroll-margin-top: 5.25rem;
}

/* Footer */

.site-footer {
  background: var(--footer);
  color: var(--paper);
  padding: 2.2rem 0 2.4rem;
  border-top: 4px solid var(--accent);
}

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

.site-footer :focus-visible {
  outline-color: var(--paper);
}

.disclaimer {
  font-size: 1.05rem;
  font-weight: 700;
  max-width: 46rem;
}

.footer-meta {
  margin-top: 1rem;
  color: #d5e0d8;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

/* Wider layouts */

@media (min-width: 700px) {
  .who-grid {
    grid-template-columns: 16rem minmax(0, 1fr);
    gap: 2.25rem;
    align-items: center;
  }

  .who-portrait {
    margin: 0;
    width: 16rem;
  }

  .hero {
    padding: 3.25rem 0 4rem;
  }

  .section {
    padding: 4.25rem 0;
  }

  .fields {
    grid-template-columns: 1fr 1fr;
  }

  .span-2 {
    grid-column: span 2;
  }

  .form-card {
    padding: 1.4rem 1.35rem 1.45rem;
  }

  .form-card .button {
    width: auto;
  }

  .boroughs {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    gap: 3rem;
    align-items: center;
  }

  .problems,
  .steps,
  .offers,
  .look-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1.75rem;
  }

  .look-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 2rem;
  }

  .offers {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2.5rem;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .desktop-nav {
    display: block;
    margin-left: auto;
  }

  .header-cta {
    display: inline-flex;
    white-space: nowrap;
    font-size: 1rem;
    padding-inline: 0.85rem;
  }

  .mobile-nav {
    display: none;
  }

  .boroughs {
    grid-template-columns: repeat(6, 1fr);
  }

  .boroughs li {
    font-size: 1.2rem;
    padding: 1.15rem 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button:active {
    transform: none;
  }
}

@media (forced-colors: active) {
  .button,
  .sheet,
  .offer,
  .founding,
  .form-card,
  .mobile-nav nav,
  .boroughs li {
    border: 1px solid ButtonText;
  }
}

@media print {
  .site-header,
  .skip,
  .mobile-nav,
  .header-cta,
  .hero-actions,
  .setup-note {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .check,
  .offer-upkeep,
  .founding,
  .site-footer {
    background: #fff;
    color: #000;
  }

  .site-footer a,
  a {
    color: #000;
  }

  .section {
    padding: 1.2rem 0;
  }
}
