/* ============================================================
   APR Handyman — Redesign
   Palette: deep charcoal #202321 · warm off-white #F7F6F2
            muted sage #788477 · natural stone #D9D5CB · white
   ============================================================ */

:root {
  --ink: #202321;
  --ink-2: #2a2d2b;
  --ink-3: #383c39;
  --paper: #f7f6f2;
  --paper-2: #efede6;
  --sage: #788477;
  --sage-2: #5f6b5e;
  --sage-3: #4a5549;
  --sage-light: #a9b3a7;
  --stone: #d9d5cb;
  --stone-2: #c8c3b7;
  --white: #ffffff;
  --line: #e4e1d8;
  --line-strong: #cfccc0;
  --line-dark: rgba(247, 246, 242, 0.16);
  --text: #202321;
  --text-soft: rgba(32, 35, 33, 0.72);
  --text-faint: rgba(32, 35, 33, 0.56);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shell: 1200px;
  --pad-x: clamp(20px, 4.5vw, 48px);
  --radius: 2px;
  --shadow-sm: 0 1px 2px rgba(32, 35, 33, 0.05), 0 4px 16px rgba(32, 35, 33, 0.06);
  --shadow-md: 0 8px 32px rgba(32, 35, 33, 0.14);
  --ease: cubic-bezier(0.33, 0.1, 0.18, 1);
}

/* ---------- Base ---------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }

p { margin: 0 0 1em; }

a { color: inherit; }

button { font: inherit; cursor: pointer; }

::selection { background: var(--sage); color: var(--white); }

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

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
}
.icon-small { width: 16px; height: 16px; }
.icon use { pointer-events: none; }
.flip-icon { transform: scaleX(-1); }

/* ---------- Type helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-2);
}
.eyebrow-rule {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--sage);
}
.eyebrow--light { color: var(--sage-light); }
.eyebrow--light .eyebrow-rule { background: var(--sage-light); }

.section { padding-block: clamp(72px, 9vw, 128px); }
.section--tight { padding-block: clamp(56px, 7vw, 88px); }
.section--white { background: var(--white); }
.section--stone { background: var(--paper-2); }
.section--dark { background: var(--ink); color: rgba(247, 246, 242, 0.82); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.section-head p { color: var(--text-soft); font-size: 1.05rem; }
.section--dark .section-head p { color: rgba(247, 246, 242, 0.66); }

.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.section-head-row > p { max-width: 400px; margin-bottom: 6px; }

.section-title-xl { font-size: clamp(2.4rem, 5vw, 3.9rem); }

.section-head--compact { margin-bottom: 28px; }
.h2-sm { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.eyebrow--center { justify-content: center; }

/* ---------- Buttons & links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.button .icon { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.button:hover .icon { transform: translateX(3px); }
.button:active { transform: translateY(1px); }

.button--primary { background: var(--ink); color: var(--paper); }
.button--primary:hover { background: var(--sage-3); }

.button--light { background: var(--paper); color: var(--ink); }
.button--light:hover { background: var(--white); }

.button--outline { border-color: var(--stone-2); color: var(--ink); background: transparent; }
.button--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.button--outline-light { border-color: rgba(247, 246, 242, 0.45); color: var(--paper); background: transparent; }
.button--outline-light:hover { border-color: var(--paper); background: var(--paper); color: var(--ink); }

.button[disabled] { opacity: 0.6; cursor: progress; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--stone-2);
  padding-bottom: 5px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.text-link .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.text-link:hover { color: var(--sage-3); border-color: var(--sage-3); }
.text-link:hover .icon { transform: translateX(3px); }
.text-link--light { color: var(--paper); border-color: rgba(247, 246, 242, 0.35); }
.text-link--light:hover { color: var(--white); border-color: var(--sage-light); }

/* ---------- Utility bar ---------- */

.utility-bar {
  background: var(--ink);
  color: rgba(247, 246, 242, 0.72);
  font-size: 0.78rem;
  position: relative;
  z-index: 60;
}
.utility-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 40px;
  padding-block: 6px;
  flex-wrap: wrap;
}
.utility-inner span, .utility-inner a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.utility-inner .icon { width: 14px; height: 14px; color: var(--sage-light); }
.utility-inner a { transition: color 0.2s var(--ease); }
.utility-inner a:hover { color: var(--white); }
.utility-spacer { flex: 1; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 242, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(32, 35, 33, 0.08); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  margin-right: auto;
}
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand-locale {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage-2);
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--sage);
}
.header-cta { margin-left: 12px; padding: 12px 22px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(86vh, 780px);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img { object-fit: cover; object-position: 62% 40%; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(26, 28, 27, 0.88) 8%, rgba(26, 28, 27, 0.62) 46%, rgba(26, 28, 27, 0.28) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding-block: clamp(80px, 12vh, 140px);
}
.hero-content .eyebrow { color: var(--sage-light); }
.hero-content .eyebrow-rule { background: var(--sage-light); }
.hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.5rem);
  font-weight: 450;
  color: var(--paper);
  margin-bottom: 24px;
}
.hero h1 em { color: var(--sage-light); }
.hero-intro {
  font-size: 1.09rem;
  line-height: 1.7;
  color: rgba(247, 246, 242, 0.82);
  max-width: 54ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-meta {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-dark);
}
.hero-meta-inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding-block: 20px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(247, 246, 242, 0.62);
  flex-wrap: wrap;
}
.hero-meta-inner strong { color: var(--paper); font-weight: 600; }
.hero-meta-sep { flex: 1; height: 1px; background: var(--line-dark); min-width: 30px; }
.hero-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(247, 246, 242, 0.55);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.hero-credit:hover { color: var(--paper); }
.hero-credit .icon { width: 15px; height: 15px; }

/* ---------- Trust strip ---------- */

.trust-strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 30px clamp(16px, 2.4vw, 36px);
  border-left: 1px solid var(--line);
}
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 6px;
}
.trust-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-2);
  margin-bottom: 8px;
}
.trust-note { display: block; font-size: 0.86rem; color: var(--text-faint); line-height: 1.55; }

/* ---------- Services grid ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.service-card:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: var(--paper-2);
  border-radius: var(--radius);
  color: var(--sage-3);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.service-icon .icon { width: 25px; height: 25px; }
.service-card:hover .service-icon { background: var(--sage); color: var(--white); }
.service-card h3 { font-size: 1.28rem; margin: 4px 0 0; }
.service-card p { font-size: 0.92rem; color: var(--text-soft); margin: 0; flex: 1; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage-3);
}
.service-card-link .icon { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.service-card:hover .service-card-link .icon { transform: translateX(3px); }

/* ---------- Featured projects (asymmetric) ---------- */

.featured-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
  align-items: start;
}
.featured-grid .project-card:nth-child(1) { grid-column: 1 / 8; }
.featured-grid .project-card:nth-child(1) .project-media { aspect-ratio: 4 / 3.4; }
.featured-grid .project-card:nth-child(2) { grid-column: 8 / 13; margin-top: clamp(28px, 5vw, 72px); }
.featured-grid .project-card:nth-child(3) { grid-column: 1 / 6; margin-top: clamp(-40px, -2vw, -12px); }
.featured-grid .project-card:nth-child(4) { grid-column: 6 / 13; }
.featured-grid .project-card:nth-child(4) .project-media { aspect-ratio: 16 / 9.5; }

.project-card { position: relative; }
.project-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}
.project-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.project-card:hover .project-media img { transform: scale(1.03); }
.project-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: rgba(26, 28, 27, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: rgba(247, 246, 242, 0.9);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.project-badge .icon { width: 12px; height: 12px; }
.project-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
}
.project-title { font-size: 1.12rem; margin: 0; }
.project-cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-2);
  white-space: nowrap;
}

.featured-side-note {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-top: 22px;
}

/* ---------- Principles (dark) ---------- */

.principles-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.principles-sticky { position: sticky; top: 130px; }
.principles-sticky p { color: rgba(247, 246, 242, 0.66); max-width: 38ch; }
.principles-list { display: flex; flex-direction: column; }
.principle {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(18px, 2.4vw, 32px);
  padding-block: clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--line-dark);
}
.principle:last-child { border-bottom: 1px solid var(--line-dark); }
.principle-number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--sage-light);
  padding-top: 3px;
}
.principle h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: 10px; }
.principle p { color: rgba(247, 246, 242, 0.66); font-size: 0.96rem; margin: 0; }

/* ---------- Testimonials ---------- */

.quotes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
}
.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quote-stars { display: flex; gap: 4px; color: var(--sage); }
.quote-stars .icon { width: 15px; height: 15px; }
.quote-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink);
  flex: 1;
}
.quote-attribution {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.quote-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--sage-3);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.quote-attribution strong { display: block; font-size: 0.95rem; }
.quote-attribution small { color: var(--text-faint); font-size: 0.8rem; }
.quotes-source {
  margin-top: 26px;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ---------- CTA band ---------- */

.cta-band { background: var(--sage); color: var(--white); }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-block: clamp(56px, 7vw, 88px);
}
.cta-band h2 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.82); margin: 0; max-width: 46ch; }
.cta-band .button--light:hover { background: var(--ink); color: var(--paper); }

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

.site-footer { background: var(--ink); color: rgba(247, 246, 242, 0.7); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  padding-block: clamp(56px, 7vw, 84px);
}
.footer-brand .brand-name { color: var(--paper); }
.footer-brand .brand-locale { color: var(--sage-light); }
.footer-brand p { font-size: 0.92rem; margin: 18px 0 22px; max-width: 34ch; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 5px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.footer-social:hover { color: var(--white); border-color: var(--sage-light); }
.footer-social .icon { width: 17px; height: 17px; }
.footer-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin: 6px 0 18px;
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-col a, .footer-col span {
  color: rgba(247, 246, 242, 0.7);
  text-decoration: none;
  font-size: 0.92rem;
  padding-block: 5px;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
  font-size: 0.78rem;
  color: rgba(247, 246, 242, 0.5);
}
.footer-bottom-inner nav { display: flex; gap: 22px; }
.footer-bottom-inner a { color: rgba(247, 246, 242, 0.6); text-decoration: none; }
.footer-bottom-inner a:hover { color: var(--white); }
.footer-demo { width: 100%; color: rgba(247, 246, 242, 0.38); }

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(64px, 8vw, 110px) clamp(48px, 6vw, 72px);
}
.page-hero-inner { max-width: 720px; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 3.9rem); }
.page-hero .page-lead { font-size: 1.08rem; color: var(--text-soft); max-width: 58ch; margin: 0; }
.page-hero-meta {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-faint);
}
.page-hero-meta span, .page-hero-meta a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.page-hero-meta a { color: var(--sage-3); font-weight: 600; }
.page-hero-meta a:hover { color: var(--ink); }
.page-hero-meta .icon { width: 16px; height: 16px; color: var(--sage-2); }

/* ---------- Services page ---------- */

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail--flip .service-detail-media { order: 2; }
.service-detail-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  background: var(--paper-2);
}
.service-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--sage-2);
  display: block;
  margin-bottom: 10px;
}
.service-detail h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.service-detail-body > p { color: var(--text-soft); }
.service-includes {
  list-style: none;
  margin: 22px 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.service-includes li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.service-includes .icon { width: 16px; height: 16px; color: var(--sage-2); margin-top: 4px; }

/* ---------- Work / gallery page ---------- */

.gallery-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--sage);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.gallery-note .icon { width: 18px; height: 18px; color: var(--sage-2); margin-top: 3px; }
.gallery-note a { color: var(--sage-3); font-weight: 600; }
.gallery-note--end { margin-top: clamp(48px, 6vw, 72px); margin-bottom: 0; }

.gallery-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.gallery-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-button {
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: all 0.22s var(--ease);
}
.filter-button:hover { border-color: var(--ink); color: var(--ink); }
.filter-button.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gallery-count { font-size: 0.82rem; color: var(--text-faint); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.gallery-grid .project-card { cursor: zoom-in; }
.gallery-empty {
  grid-column: 1 / -1;
  padding: 48px;
  text-align: center;
  color: var(--text-faint);
  background: var(--white);
  border: 1px dashed var(--line-strong);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(24, 26, 25, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure { max-width: 1000px; width: 100%; }
.lightbox-figure img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--ink-2);
}
.lightbox-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: rgba(247, 246, 242, 0.8);
  padding-top: 16px;
  font-size: 0.9rem;
}
.lightbox-caption strong { color: var(--paper); font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
.lightbox-caption a { color: var(--sage-light); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(247, 246, 242, 0.3); padding-bottom: 2px; }
.lightbox-caption a:hover { color: var(--white); border-color: var(--white); }
.lightbox-btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: rgba(247, 246, 242, 0.1);
  border: 1px solid rgba(247, 246, 242, 0.25);
  border-radius: 50%;
  color: var(--paper);
  transition: background-color 0.2s var(--ease);
}
.lightbox-btn:hover { background: rgba(247, 246, 242, 0.22); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }

.instagram-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
}
.instagram-band h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 6px; }
.instagram-band p { margin: 0; color: var(--text-soft); max-width: 52ch; }

/* ---------- About page ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: var(--paper-2);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 22px;
  background: linear-gradient(transparent, rgba(26, 28, 27, 0.78));
  color: rgba(247, 246, 242, 0.85);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.about-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.about-copy p { color: var(--text-soft); }
.about-copy .about-lead { font-size: 1.1rem; color: var(--ink); }
.about-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-signature img { width: 52px; height: 52px; object-fit: contain; }
.about-signature strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.about-signature small { color: var(--text-faint); font-size: 0.82rem; }

.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
.value-card {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
}
.value-card .value-word {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-2);
  margin-bottom: 12px;
}
.value-card h3 { font-size: 1.3rem; }
.value-card p { font-size: 0.92rem; color: var(--text-soft); margin: 0; }

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(0, 13fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.contact-line:first-child { padding-top: 0; }
.contact-line .icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--sage-3);
  flex: none;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease);
}
.contact-line:hover .icon-box { background: var(--sage); color: var(--white); }
.contact-line small { display: block; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); font-weight: 600; }
.contact-line strong { font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.contact-line > .icon { margin-left: auto; width: 16px; height: 16px; color: var(--stone-2); transition: transform 0.22s var(--ease), color 0.22s var(--ease); }
.contact-line:hover > .icon { transform: translateX(3px); color: var(--sage-3); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.6vw, 48px);
  box-shadow: var(--shadow-sm);
}
.form-card-head { margin-bottom: 20px; }
.form-card-head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 6px; }
.form-card-head p { margin: 0; font-size: 0.92rem; color: var(--text-soft); }

.form-scope-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin: 0 0 24px;
}
.form-scope-note .icon { width: 17px; height: 17px; color: var(--sage-2); margin-top: 2px; flex: none; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}
.field label span { color: var(--sage-2); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--stone-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sage-2);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(120, 132, 119, 0.18);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-hint { font-size: 0.76rem; color: var(--text-faint); margin-top: 6px; }

.contact-method { border: 0; margin: 4px 0 18px; padding: 0; }
.contact-method legend {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0;
}
.contact-method legend span { color: var(--sage-2); }
.contact-options { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-options label { position: relative; }
.contact-options input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.contact-options span {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid var(--stone);
  border-radius: 100px;
  font-size: 0.88rem;
  color: var(--text-soft);
  transition: all 0.2s var(--ease);
}
.contact-options input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.contact-options input:focus-visible + span { outline: 2px solid var(--sage-2); outline-offset: 3px; }

.upload-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.upload-field input[type="file"] { padding: 10px; font-size: 0.85rem; }
.upload-field input[type="file"]::file-selector-button {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  margin-right: 12px;
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.upload-field input[type="file"]::file-selector-button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.upload-summary { font-size: 0.82rem; color: var(--text-faint); margin: -8px 0 16px; }
.upload-summary.upload-error { color: #9c3d2e; font-weight: 500; }

.form-error {
  background: #faf0ee;
  border: 1px solid #e3c7c1;
  border-left: 3px solid #9c3d2e;
  color: #7c2f23;
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 0.9rem;
  margin: 0 0 18px;
}
.form-submit { width: 100%; padding: 17px 28px; font-size: 0.98rem; }
.form-privacy {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-faint);
  margin: 16px 0 0;
}
.form-privacy .icon { width: 15px; height: 15px; color: var(--sage-2); }
.form-demo-note { color: var(--sage-3); font-weight: 500; }

.form-success { text-align: center; padding: clamp(32px, 5vw, 56px) 16px; }
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  margin-bottom: 22px;
}
.success-icon .icon { width: 30px; height: 30px; }
.form-success h2 { font-size: 1.8rem; }
.form-success p { color: var(--text-soft); max-width: 42ch; margin-inline: auto; }
.form-success a { font-weight: 600; color: var(--sage-3); }

.honeypot { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

/* ---------- Legal pages ---------- */

.legal-content { max-width: 780px; padding-block: clamp(56px, 7vw, 96px); }
.legal-content h1 { font-size: clamp(2.2rem, 4vw, 3.1rem); }
.legal-content h2 { font-size: 1.35rem; margin-top: 40px; }
.legal-content p, .legal-content li { color: var(--text-soft); }
.legal-content a { color: var(--sage-3); font-weight: 500; }
.legal-updated { font-size: 0.82rem; color: var(--text-faint); letter-spacing: 0.04em; }

/* ---------- Mobile CTA bar ---------- */

.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}
.mobile-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 10px calc(16px + env(safe-area-inset-bottom));
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}
.mobile-cta a + a { border-left: 1px solid var(--line-dark); }
.mobile-cta .icon { width: 17px; height: 17px; color: var(--sage-light); }

/* ---------- Reveal animation (JS-gated) ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal-1 { transition-delay: 0.08s; }
html.js .reveal-2 { transition-delay: 0.16s; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid .project-card:nth-child(1) { grid-column: 1 / 13; }
  .featured-grid .project-card:nth-child(2) { grid-column: 1 / 9; margin-top: 0; }
  .featured-grid .project-card:nth-child(3) { grid-column: 9 / 13; margin-top: clamp(20px, 4vw, 52px); }
  .featured-grid .project-card:nth-child(4) { grid-column: 1 / 13; }
}

@media (max-width: 960px) {
  .header-inner { gap: 16px; min-height: 68px; }
  .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(32, 35, 33, 0.12);
    padding: 12px var(--pad-x) 22px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: 14px 4px;
    font-family: var(--font-display);
    font-size: 1.3rem;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--sage-3); }
  .main-nav .nav-cta {
    margin-top: 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    justify-content: center;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius);
    padding: 15px;
    border-bottom: 0;
  }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-sticky { position: static; }
  .service-detail { grid-template-columns: 1fr; gap: 26px; }
  .service-detail--flip .service-detail-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 4 / 3.4; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-item { border-top: 1px solid var(--line); }
  .trust-item:nth-child(-n + 2) { border-top: 0; }
}

@media (max-width: 720px) {
  .utility-inner { gap: 16px; font-size: 0.74rem; }
  .utility-hours, .utility-email { display: none; }
  .utility-inner a { white-space: normal; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .quotes-grid { grid-template-columns: 1fr; }
  .values-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .upload-row { grid-template-columns: 1fr; }
  .service-includes { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .hero-meta-inner { font-size: 0.76rem; gap: 16px; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 58px; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .trust-item:first-child { border-top: 0; }
  .featured-grid .project-card { grid-column: 1 / 13 !important; margin-top: 0 !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .button { width: 100%; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 1.05rem; }
  .principle { grid-template-columns: 44px 1fr; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}
