/* Peasy Services — site styles. No build step; this file is served as-is. */

:root {
  --orange: #ffa633;
  --orange-600: #f39114;
  --orange-ink: #a85400;     /* orange that passes AA as text on white */
  --orange-50: #fff4e5;
  --ink: #141414;
  --text: #2e2e2e;
  --muted: #5c5c5c;
  --line: #e6e2dc;
  --bg: #ffffff;
  --bg-alt: #f7f5f2;
  --bg-hero: #eaeaea;        /* matches the hero photo's backdrop */
  --bg-dark: #151515;
  --danger: #b42318;
  --success: #1f7a3d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 10px 30px rgba(20, 20, 20, .07);
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font);
  text-rendering: optimizeLegibility;
}

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

a { color: var(--orange-ink); text-underline-offset: .18em; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

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

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

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

.icon {
  width: 1.5rem; height: 1.5rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 1rem/1.1 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.15rem; height: 1.15rem; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-600); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #333; color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand img { width: 196px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem;
  padding: .35rem 0; border-bottom: 2px solid transparent;
}
.site-nav ul a:hover { border-bottom-color: var(--orange); }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--orange); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .site-header .header-inner { flex-wrap: wrap; }
  .site-nav {
    width: 100%; flex-direction: column; align-items: stretch; gap: 1rem;
    padding: .5rem 0 1.25rem;
  }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line); color: var(--orange-ink); }
}

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #d8d8d8; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-block; margin-bottom: .9rem;
  font: 700 .8rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-ink);
}
.section-dark .eyebrow { color: var(--orange); }

.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.section-dark .section-head p { color: #bdbdbd; }

/* ---------- Hero ---------- */

.hero { background: var(--bg-hero); overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: 2rem; min-height: min(78vh, 640px);
}
.hero-copy { padding: clamp(3rem, 7vw, 5rem) 0; }
.hero h1 .hl {
  background: linear-gradient(transparent 62%, rgba(255, 166, 51, .55) 62%);
  padding: 0 .08em;
}
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #3b3b3b; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.5rem; }
.hero-phone { display: flex; align-items: center; gap: .55rem; color: #3b3b3b; font-weight: 600; }
.hero-phone .icon { color: var(--orange-ink); }
.hero-phone a { color: var(--ink); }
.hero-media { align-self: end; margin-right: calc((100vw - min(100vw - 2rem, var(--max))) / -2); }
.hero-media img { width: 100%; max-width: 760px; margin-left: auto; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-copy { padding-bottom: 1rem; }
  .hero-media { margin-right: -1rem; }
  .hero-media img { max-width: 520px; }
}

.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.page-hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 44rem; margin: 0; }

/* ---------- Grids & cards ---------- */

.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
}
.card h3 { margin-top: .9rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--orange-50); color: var(--orange-ink);
}
.section-dark .card { background: #1e1e1e; border-color: #2c2c2c; box-shadow: none; }
.section-dark .card p { color: #bdbdbd; }

/* Cards that end in a link keep that link on the bottom edge, so a row lines up. */
a.card, .card:has(> .card-link) { display: flex; flex-direction: column; align-items: flex-start; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; }
a.card:hover { transform: translateY(-2px); border-color: var(--orange); color: inherit; }
.card-link { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: .5rem; font-weight: 700; color: var(--orange-ink); }
.card-link .icon { width: 1.1rem; height: 1.1rem; }

.checklist { list-style: none; padding: 0; margin: .75rem 0 0; }
.checklist li { display: flex; gap: .6rem; padding: .3rem 0; color: var(--text); }
.checklist .icon { width: 1.15rem; height: 1.15rem; margin-top: .3rem; color: var(--orange-ink); }

/* Values (F.I.T.) */
.values-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.values-layout img { border-radius: var(--radius); box-shadow: var(--shadow); }
.values-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.value { display: flex; gap: 1rem; align-items: flex-start; }
.value h3 { margin: .2rem 0 .25rem; }
.value p { margin: 0; color: var(--muted); }
.value .letter { color: var(--orange-ink); }
@media (max-width: 860px) { .values-layout { grid-template-columns: 1fr; gap: 2rem; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; text-align: center; }
.stat-value { font: 800 clamp(2.2rem, 4.5vw, 3.2rem)/1 var(--font-display); color: var(--orange); }
.stat-label { margin-top: .6rem; color: #cfcfcf; font-size: .98rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.25rem; } }

/* Service group headings */
.service-group + .service-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.service-group > h2 { display: flex; align-items: center; gap: .75rem; }
.service-group > h2::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); flex: none;
}
.service-group > p { color: var(--muted); max-width: 44rem; margin-bottom: 1.5rem; }

.offer {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: end;
  margin-top: 1.5rem; padding: 1.5rem 1.75rem;
  border-radius: var(--radius); background: var(--orange-50); border: 1px solid #ffe2bb;
}
.offer p { margin: 0; color: var(--text); }
.offer-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 760px) { .offer { grid-template-columns: 1fr; align-items: start; } }

.industries { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: .75rem; list-style: none; padding: 0; margin: 0; }
.industries li {
  display: flex; align-items: center; gap: .6rem; padding: 1rem 1.15rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink);
}
.industries .icon { color: var(--orange-ink); width: 1.2rem; height: 1.2rem; }

.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin: .3rem 0; }
.prose .updated { color: var(--muted); font-size: .95rem; }

/* CTA band */
.cta-band { background: var(--orange); color: var(--ink); padding: clamp(3rem, 7vw, 4.5rem) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { margin: 0 0 .35rem; }
.cta-band p { margin: 0; font-size: 1.1rem; color: #2a2a2a; }
.cta-band p a { color: var(--ink); font-weight: 700; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn-ghost { border-color: var(--ink); }

/* ---------- Contact ---------- */

.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2rem; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-methods { display: grid; gap: 1rem; }
.contact-method { display: flex; gap: 1rem; align-items: flex-start; }
.contact-method h3 { font-size: 1.05rem; margin: .15rem 0 .2rem; }
.contact-method p { margin: 0; color: var(--text); }
.contact-method a { font-weight: 600; word-break: break-word; }

.form-card h2 { font-size: 1.6rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
label, legend { font-weight: 600; color: var(--ink); font-size: .98rem; }
.optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  border: 1.5px solid #cfcac3; border-radius: var(--radius-sm); background: #fff;
  font: inherit; color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--orange-600); box-shadow: 0 0 0 4px rgba(255, 166, 51, .25); }
input:user-invalid, textarea:user-invalid { border-color: var(--danger); }

fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; }
legend { padding: 0; margin-bottom: .5rem; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: .5rem; }
.choice {
  display: flex; align-items: center; gap: .6rem; padding: .65rem .8rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--orange-600); background: var(--orange-50); }
.choice input { width: 18px; height: 18px; accent-color: var(--orange-ink); flex: none; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 1rem 0 0; padding: .85rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { background: #fdecea; color: var(--danger); }
.form-status.is-pending { background: var(--bg-alt); color: var(--muted); }

.form-success { text-align: center; padding: 1.5rem .5rem; }
.form-success .card-icon { width: 64px; height: 64px; border-radius: 50%; background: #e7f5ec; color: var(--success); }
.form-success .card-icon .icon { width: 2rem; height: 2rem; }
.form-success h2 { margin-top: 1rem; }

.form-note { font-size: .92rem; color: var(--muted); margin-top: .9rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--bg-dark); color: #bdbdbd; padding: 4rem 0 2rem; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { font: 700 .8rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-grid a { color: #e6e6e6; text-decoration: none; }
.footer-grid a:hover { color: var(--orange); text-decoration: underline; }
.footer-brand img { width: 190px; margin-bottom: 1rem; }
.footer-brand p { max-width: 22rem; }
address { font-style: normal; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #2c2c2c; font-size: .9rem; color: #9a9a9a;
}
.footer-bottom a { color: #cfcfcf; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.notfound .code { font: 800 clamp(4rem, 12vw, 7rem)/1 var(--font-display); color: var(--orange); }
.notfound .hero-actions { justify-content: center; }
