/* Blue Star Projects redesign */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #102133;
  --muted: #5b6b7b;
  --line: rgba(16, 33, 51, 0.12);
  --brand: #37308e;
  --brand-strong: #241b72;
  --brand-soft: #eae8f5;
  --accent: #4b8f3b;
  --accent-soft: #e7f3e2;
  --shadow: 0 10px 24px rgba(16, 33, 51, 0.06);
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --content-max: 1040px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #f5f7fa;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

p {
  margin: 0;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.03em;
}

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

body.sub-page .container {
  width: min(calc(100% - 2rem), var(--content-max));
}

body.home-page .site-header--home .container {
  width: min(calc(100% - 2rem), var(--content-max));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(246, 248, 251, 0.94);
  border-bottom: 1px solid rgba(16, 33, 51, 0.08);
}

.top-bar {
  border-bottom: 1px solid rgba(16, 33, 51, 0.08);
  background: #1e1760;
  color: rgba(255, 255, 255, 0.92);
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  padding: 0.55rem 0;
  font-size: 0.9rem;
}

.top-bar strong {
  color: #fff;
}

.top-bar a {
  color: #fff;
}

.top-bar-segment {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), var(--accent));
  box-shadow: 0 12px 28px rgba(55, 48, 142, 0.28);
  font-weight: 900;
}

.brand small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  font-weight: 600;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}

.nav a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--brand-strong);
  background: var(--brand-soft);
}

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

.hero-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 33, 51, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}

.hero-main {
  padding: clamp(1.15rem, 2.2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.96));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--brand-strong);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 5.8vw, 4.5rem);
}

.hero-copy {
  max-width: 32rem;
  font-size: 1rem;
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 10px 20px rgba(55, 48, 142, 0.18);
}

.button.secondary {
  color: var(--accent);
  border-color: rgba(75, 143, 59, 0.25);
  background: #fff;
}

.hero-aside {
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1rem;
}

.hero-visual {
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background: #fff;
  border: 1px solid rgba(16, 33, 51, 0.08);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-visual-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
  max-width: 18rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(22, 38, 61, 0.78);
  backdrop-filter: blur(10px);
}

.hero-visual-label strong {
  display: block;
  font-size: 1.1rem;
}

.hero-visual-label span {
  color: rgba(255, 255, 255, 0.84);
}

.choice-card {
  overflow: hidden;
  min-height: 0;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid rgba(16, 33, 51, 0.08);
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 33, 51, 0.04);
  color: var(--text);
}

.choice-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--surface-alt);
}

.choice-body {
  padding: 0.95rem 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.choice-card h2 {
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  color: var(--text);
  max-width: 10ch;
}

.choice-card p {
  color: var(--muted);
  max-width: 20rem;
}

.hero-card,
.info-card,
.service-card,
.project-card,
.testimonial-card,
.contact-card,
.note-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 33, 51, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(16, 33, 51, 0.05);
}

.hero-card {
  padding: 1.35rem;
  min-height: 0;
  display: grid;
  gap: 0.9rem;
}

.hero-card h2 {
  font-size: 1.4rem;
}

.eyebrow-secondary {
  color: var(--brand);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pillar-list {
  display: grid;
  gap: 0.8rem;
}

.pillar {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
}

.pillar strong {
  font-size: 1rem;
}

.pillar span {
  color: var(--muted);
  font-size: 0.95rem;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.stat {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 33, 51, 0.08);
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--brand-strong);
}

.stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

.section {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
}

.section-head {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  max-width: min(100%, 40rem);
}

.section-head p,
.section-intro {
  max-width: 42rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.project-card,
.testimonial-card,
.contact-card,
.note-card,
.info-card {
  padding: 1.5rem;
}

.service-card h2 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin-bottom: 0.65rem;
}

.service-card h3,
.project-card h3,
.testimonial-card h3,
.contact-card h3,
.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.section-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  align-items: stretch;
}

.split-panel {
  padding: 1.4rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.reviews-page .section-split .split-panel {
  padding: 1.65rem;
  gap: 0.85rem;
}

.reviews-page .section-split .split-panel h2 {
  margin-top: -0.25rem;
}

.reviews-page .section-split .split-panel .section-intro {
  margin-top: -0.15rem;
  max-width: 44rem;
}

.reviews-page .section-split .split-panel .checklist {
  margin-top: 0.25rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.checklist li {
  display: block;
  position: relative;
  padding-left: 1.35rem;
}

.checklist li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.06em;
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

.project-meta,
.testimonial-meta,
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.project-frame {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 200px;
  margin-bottom: 0.85rem;
  background:
    linear-gradient(135deg, rgba(55, 48, 142, 0.95), rgba(100, 90, 200, 0.78)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 30%);
  display: grid;
  place-items: end start;
  padding: 1rem;
}

.project-frame-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.project-frame-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 20, 34, 0.08), rgba(8, 20, 34, 0.58));
  pointer-events: none;
}

.project-frame--media {
  background: none;
}

.project-frame.balcony {
  background:
    linear-gradient(180deg, rgba(8, 20, 34, 0.08), rgba(8, 20, 34, 0.58)),
    linear-gradient(135deg, rgba(55, 48, 142, 0.95), rgba(100, 90, 200, 0.78));
}

.project-frame span {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  max-width: 10ch;
  font-size: 1.2rem;
}

.project-card p:last-child,
.testimonial-card p:last-child {
  margin-top: 0.8rem;
}

.project-card h3 {
  font-size: 1.05rem;
}

.project-card p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.quote {
  font-size: 1rem;
  color: var(--text);
}

.quote::before {
  content: "“";
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 0;
}

.quote::after {
  content: "”";
  color: var(--accent);
  font-size: 1.5rem;
  line-height: 0;
}

.testimonial-stars {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: #b8860b;
}

.reviews-page .testimonial-card {
  border-left: 4px solid var(--accent);
  padding-left: 1.45rem;
}

.reviews-page .testimonial-card .quote {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  line-height: 1.58;
  font-style: italic;
}

.faq-simple {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 33, 51, 0.1);
  background: #fff;
  padding: 0.95rem 1rem;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  color: var(--brand-strong);
}

.faq-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 0;
}

.contact-item {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
}

form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--text);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(16, 33, 51, 0.15);
  background: #fff;
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-inner {
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(16, 33, 51, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.fineprint {
  font-size: 0.92rem;
}

.page-hero {
  padding: 2.5rem 0 2rem;
}

.page-hero .panel {
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.page-hero h1 {
  max-width: min(100%, 18em);
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.page-hero .hero-copy {
  max-width: 42rem;
}

.page-hero.page-hero--image {
  position: relative;
  padding: clamp(2.25rem, 6vw, 3.5rem) 0 clamp(1.35rem, 3.5vw, 2.25rem);
  overflow: hidden;
}

.page-hero.page-hero--image .page-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1.02);
  z-index: 0;
  pointer-events: none;
}

.page-hero.page-hero--image .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(12, 24, 40, 0.66) 0%, rgba(12, 24, 40, 0.42) 45%, rgba(12, 24, 40, 0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

.page-hero.page-hero--image > .container {
  position: relative;
  z-index: 2;
}

.page-hero.page-hero--image .panel {
  background: rgba(255, 255, 255, 0.965);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 0 0 1px rgba(16, 33, 51, 0.04),
    0 2px 4px rgba(0, 0, 0, 0.03),
    0 24px 48px rgba(15, 30, 50, 0.12),
    0 48px 96px -32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.card-stack {
  display: grid;
  gap: 1rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.timeline {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.timeline-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
}

.timeline-step strong {
  display: inline-flex;
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.featured-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-snapshot-card {
  overflow: hidden;
  padding: 0;
}

.service-snapshot-image {
  aspect-ratio: 4 / 3;
  background: #eef4fa;
}

.service-snapshot-body {
  padding: 1.1rem;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process-card {
  padding: 1rem;
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.featured-note {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid rgba(16, 33, 51, 0.08);
}

.muted {
  color: var(--muted);
}

@media (max-width: 980px) {

  .hero-grid,
  .hero-split,
  .section-split,
  .contact-grid,
  .featured-band {
    grid-template-columns: 1fr;
  }

  .service-snapshot,
  .process-strip {
    grid-template-columns: 1fr;
  }

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

  .summary-strip,
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.three,
  .grid.two,
  .mini-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
  }

  .nav a {
    padding-inline: 0.85rem;
  }

  .hero-main {
    min-height: auto;
  }

  .hero h1 {
    max-width: 100%;
  }

  .summary-strip,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .hero,
  .section,
  .page-hero {
    padding-top: 1.5rem;
  }

  body.sub-page .page-hero .panel {
    text-align: center;
  }

  body.home-page .home-intro .home-section-heading {
    text-align: center;
  }
}

/* ——— Homepage landing (reference layout) ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.home-page {
  background: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.home-page .home-main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.site-header--home {
  position: relative;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid rgba(16, 33, 51, 0.08);
  backdrop-filter: none;
  overflow: visible;
}

.header-utility {
  border-bottom: 1px solid rgba(16, 33, 51, 0.06);
  font-size: 0.875rem;
  color: var(--muted);
}

.header-utility-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.5rem 0;
}

.header-utility-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.header-utility-line strong {
  color: var(--brand-strong);
  font-weight: 700;
}

.header-utility-sep {
  color: rgba(16, 33, 51, 0.25);
}

.header-utility-email {
  color: var(--brand);
  font-weight: 600;
}

.header-main {
  padding: 0.65rem 0 0.85rem;
  overflow: visible;
}

.header-main-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.brand-home {
  display: block;
  line-height: 0;
}

.brand-home-img {
  height: 3.25rem;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
}

.nav--home a {
  border-radius: 0;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  color: var(--brand-strong);
}

.nav--home a:hover,
.nav--home a[aria-current="page"] {
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Mobile: disclosure menu. Desktop: drawer uses display:contents so nav sits in the bar. */
.home-nav-drawer {
  position: relative;
  margin-left: auto;
}

.home-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(16, 33, 51, 0.14);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  list-style: none;
  color: inherit;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.home-nav-toggle::-webkit-details-marker {
  display: none;
}

.home-nav-toggle:hover {
  border-color: rgba(16, 33, 51, 0.22);
  background: rgba(55, 48, 142, 0.04);
}

.home-nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.home-nav-drawer[open] .home-nav-toggle {
  border-color: rgba(75, 143, 59, 0.45);
  background: var(--accent-soft);
}

.home-nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.15rem;
  height: 0.85rem;
}

.home-nav-burger-line {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 1px;
  background: var(--brand-strong);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  transform-origin: center;
}

.home-nav-drawer[open] .home-nav-burger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.home-nav-drawer[open] .home-nav-burger-line:nth-child(2) {
  opacity: 0;
}

.home-nav-drawer[open] .home-nav-burger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 961px) {

  /* Do not use display:contents on <details> — closed details keeps <nav> hidden in the UA stylesheet. */
  .home-nav-drawer {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
    min-width: 0;
    border: none;
    background: transparent;
  }

  .home-nav-toggle {
    display: none !important;
  }

  /* Override details[closed] > :not(summary) { display: none } so links show without [open] */
  .home-nav-drawer>.nav.nav--home {
    display: flex !important;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    width: auto;
    max-width: none;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    left: auto;
    right: auto;
    top: auto;
  }
}

@media (max-width: 960px) {

  /* Phones / small tablets: utility bar is redundant with sticky bottom bar + contact page */
  .site-header--home .header-utility {
    display: none;
  }

  /* Height of logo row for full-width menu positioning (utility hidden) */
  .site-header--home {
    --home-mobile-header-h: calc(env(safe-area-inset-top, 0px) + 0.65rem + 3.25rem + 0.85rem + 1px);
  }

  .header-main-inner .nav.nav--home {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--home-mobile-header-h);
    width: 100%;
    min-width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0.15rem;
    padding: 0.5rem max(1rem, env(safe-area-inset-left)) 0.85rem max(1rem, env(safe-area-inset-right));
    margin: 0;
    background: #fff;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(16, 33, 51, 0.1);
    box-shadow: 0 12px 28px rgba(15, 30, 50, 0.1);
    z-index: 60;
    max-height: min(70dvh, calc(100dvh - var(--home-mobile-header-h) - 5rem));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header-main-inner .nav.nav--home a {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-align: left;
    text-decoration: none;
  }

  .header-main-inner .nav.nav--home a:hover,
  .header-main-inner .nav.nav--home a[aria-current="page"] {
    background: rgba(55, 48, 142, 0.06);
    text-decoration: none;
  }

  .header-main-inner .nav.nav--home a[aria-current="page"] {
    color: var(--accent);
    font-weight: 700;
  }
}

.landing-hero {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  padding: clamp(0.85rem, 2.2vh, 1.5rem) 0 clamp(1rem, 2.8vh, 1.75rem);
}

.landing-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
}

.landing-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(12, 24, 40, 0.5) 0%, rgba(12, 24, 40, 0.38) 45%, rgba(12, 24, 40, 0.55) 100%);
  z-index: 1;
}

.landing-hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.landing-card {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: clamp(1.5rem, 3.2vw, 2.35rem) clamp(1.5rem, 4vw, 2.6rem);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 0 0 1px rgba(16, 33, 51, 0.04),
    0 2px 4px rgba(0, 0, 0, 0.03),
    0 24px 48px rgba(15, 30, 50, 0.12),
    0 48px 96px -32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Brand: logo, kicker (above divider), then border — tiles follow */
.landing-card-brand {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto 0.9rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(16, 33, 51, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
}

.landing-card-logo {
  width: min(100%, 212px);
  height: auto;
  margin: 0;
  filter: drop-shadow(0 4px 14px rgba(16, 33, 51, 0.08));
}

.landing-hero-kicker {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.55em;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  line-height: 1.45;
}

.landing-hero-kicker-blue {
  color: var(--brand);
}

.landing-hero-kicker-sep {
  color: rgba(16, 33, 51, 0.35);
  letter-spacing: 0;
  font-weight: 800;
}

.landing-hero-kicker-green {
  color: var(--accent);
}

.landing-choice-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.35rem);
}

.landing-choice {
  position: relative;
  min-height: clamp(172px, 24vh, 216px);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

.landing-choice:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 16px 40px rgba(0, 0, 0, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
}

.landing-choice:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 6px var(--accent),
    0 16px 40px rgba(0, 0, 0, 0.2);
}

.landing-choice-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.landing-choice-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg,
      rgba(8, 20, 34, 0.28) 0%,
      rgba(8, 20, 34, 0.55) 48%,
      rgba(8, 20, 34, 0.78) 100%);
  z-index: 1;
  transition: opacity 0.35s ease;
}

.landing-choice:hover .landing-choice-overlay {
  opacity: 0.92;
}

.landing-choice-inner {
  position: relative;
  z-index: 2;
  padding: 1.3rem 1.05rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: 22rem;
}

.landing-choice-title {
  font-size: clamp(0.98rem, 1.9vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.landing-choice-desc {
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.landing-choice-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.4rem 0.52rem;
  min-width: 2.35rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.landing-choice:hover .landing-choice-cta {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.landing-choice:focus-visible .landing-choice-cta {
  background: rgba(255, 255, 255, 0.3);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.landing-trust-block {
  width: 100%;
  margin: 1.15rem 0 0;
  padding: 0.95rem 0 0.35rem;
  border-top: 1px solid rgba(16, 33, 51, 0.07);
}

.landing-trust-simple {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.45rem 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
}

.landing-trust-item {
  display: inline;
}

.landing-trust-item:not(:last-child)::after {
  content: "·";
  margin: 0 0.5rem;
  color: rgba(16, 33, 51, 0.28);
  font-weight: 700;
}

.landing-trust-simple strong {
  color: var(--brand-strong);
  font-weight: 700;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  border: 2px solid transparent;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

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

.landing-btn--primary {
  background: linear-gradient(180deg, #4a3ea8 0%, var(--brand) 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 8px 22px rgba(55, 48, 142, 0.28);
}

.landing-btn--primary:hover {
  background: linear-gradient(180deg, var(--brand-strong) 0%, #1e1765 100%);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 12px 28px rgba(55, 48, 142, 0.32);
}

/* Tighter hero when the viewport is short (e.g. laptop + zoom) */
@media (max-height: 780px) {
  .landing-card {
    padding: 1.05rem 1.25rem;
    border-radius: 28px;
  }

  .landing-card-brand {
    margin-bottom: 0.55rem;
    padding-bottom: 0.55rem;
    gap: 0.4rem;
  }

  .landing-card-logo {
    width: min(100%, 188px);
  }

  .landing-hero-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
  }

  .landing-choice {
    min-height: clamp(132px, 16vh, 158px);
    border-radius: 20px;
  }

  .landing-choice-inner {
    padding: 0.85rem 0.75rem;
    gap: 0.3rem;
  }

  .landing-trust-block {
    margin-top: 0.65rem;
    padding-top: 0.55rem;
  }

  .landing-trust-simple {
    font-size: 0.7rem;
  }

  .landing-btn {
    min-height: 2.35rem;
    font-size: 0.82rem;
    padding: 0.45rem 1rem;
  }
}

.home-intro {
  background: #fff;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(16, 33, 51, 0.06);
}

.home-intro-inner {
  max-width: min(calc(100% - 2rem), var(--content-max));
  margin: 0 auto;
}

.home-section-heading {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  color: var(--brand-strong);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-transform: none;
}

.home-section-heading--sub {
  margin-top: 2rem;
}

.home-section-heading--center {
  text-align: center;
  margin-bottom: 1.15rem;
}

.home-prose p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
}

.home-prose p:last-child {
  margin-bottom: 0;
}

.home-intro-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
}

.home-intro .note-card {
  margin-bottom: 1.25rem;
  padding: 1.45rem 1.35rem;
}

.home-page .home-intro .eyebrow-secondary {
  text-transform: none;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.home-expertise-grid {
  gap: 1.2rem;
  margin-top: 0.25rem;
}

.home-expertise-grid .note-card {
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.home-expertise-grid .note-card .eyebrow-secondary {
  margin-bottom: 0.1rem;
}

.home-expertise-grid .note-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--text);
}

.home-expertise-grid .note-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.home-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}

.home-team-grid .note-card {
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.home-team-grid .note-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
  color: var(--brand-strong);
}

.home-team-grid .note-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.home-team-grid .checklist {
  margin-top: 0.35rem;
}

@media (max-width: 980px) {
  .home-team-grid {
    grid-template-columns: 1fr;
  }
}

.landing-btn--outline {
  background: #fff;
  color: var(--brand);
  border: 2px solid rgba(55, 48, 142, 0.22);
  box-shadow: 0 2px 12px rgba(55, 48, 142, 0.06);
}

.landing-btn--outline:hover {
  border-color: var(--brand);
  background: rgba(55, 48, 142, 0.04);
  transform: translateY(-1px);
}

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

.home-service-card--link {
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.home-service-card--link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(16, 33, 51, 0.1);
  border-color: rgba(55, 48, 142, 0.14);
}

.home-service-card--link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Past work strip (home) */
.home-showcase-block {
  background: #fff;
  padding: 2.25rem 0 2.5rem;
  border-top: 1px solid rgba(16, 33, 51, 0.06);
}

.home-showcase-lead {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.home-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-showcase-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f8fafc;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 33, 51, 0.08);
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(16, 33, 51, 0.05);
}

.home-showcase-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 10rem;
  object-fit: cover;
  display: block;
}

.home-showcase-body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
  text-align: left;
}

.home-showcase-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.05em;
  color: var(--accent);
}

.home-showcase-card-title {
  margin: 0;
  font-size: 0.98rem;
  color: var(--brand-strong);
  line-height: 1.3;
}

.home-showcase-card-text {
  margin: 0;
  flex: 1;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

.home-showcase-link {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}

.home-showcase-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-page .home-showcase-block > .container,
.home-page .home-reviews-block > .container {
  max-width: min(calc(100% - 2rem), var(--content-max));
}

/* Reviews preview (home) */
.home-reviews-block {
  background: #ffffff;
  padding: 2.5rem 0 2.65rem;
  border-top: 2px solid rgba(16, 33, 51, 0.1);
  box-shadow: inset 0 4px 24px rgba(16, 33, 51, 0.03);
}

.home-reviews-intro {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.home-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}

.home-review-card {
  position: relative;
  margin: 0;
  padding: 1.2rem 1.2rem 1.15rem 1.35rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 33, 51, 0.08);
  border-left: 4px solid var(--accent);
  box-shadow:
    0 4px 20px rgba(16, 33, 51, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.home-review-stars {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #b8860b;
}

.home-review-quote {
  margin: 0 0 0.85rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.58;
  color: var(--text);
  font-style: italic;
}

.home-review-quote::before {
  display: none;
}

.home-review-meta {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(16, 33, 51, 0.07);
}

.home-review-label {
  font-weight: 700;
  color: var(--brand-strong);
}

.home-reviews-cta {
  text-align: center;
  margin: 0;
}

/* Project photos on subpages */
.project-photo {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  max-height: 200px;
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  display: block;
}

.home-more {
  background: #fff;
  border-top: 1px solid rgba(16, 33, 51, 0.06);
  padding: 2.25rem 0 2.5rem;
}

.home-more-inner {
  max-width: min(calc(100% - 2rem), var(--content-max));
  margin: 0 auto;
}

.home-more-inner--wide {
  max-width: min(calc(100% - 2rem), var(--content-max));
}

.home-more-title {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--brand-strong);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-more-lead {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  font-size: 1rem;
}

.home-more-title--spaced {
  margin-top: 2.75rem;
}

.home-process-grid {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-process-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem 1.05rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 33, 51, 0.09);
  box-shadow: 0 2px 10px rgba(16, 33, 51, 0.05);
}

.home-process-num {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.home-process-name {
  display: block;
  color: var(--brand-strong);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.home-process-desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--muted);
}

.home-team {
  max-width: none;
  margin: 0 0 2rem;
}

.home-team p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

.home-team p:last-child {
  margin-bottom: 0;
}

.home-talk {
  text-align: center;
  max-width: none;
  margin: 0 0 1.75rem;
  padding: 1.65rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(16, 33, 51, 0.08);
  box-shadow: var(--shadow);
}

.home-talk-title {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin: 0 0 0.45rem;
  color: var(--brand-strong);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.02em;
}

.home-talk-lead {
  margin: 0 auto 1rem;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.home-steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.home-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 33, 51, 0.08);
  box-shadow: 0 4px 14px rgba(16, 33, 51, 0.04);
}

.home-step-num {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.home-steps strong {
  display: block;
  color: var(--brand-strong);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.home-step-text {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.home-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.home-panel {
  background: #fff;
  border: 1px solid rgba(16, 33, 51, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 14px rgba(16, 33, 51, 0.04);
}

.home-panel-title {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
  color: var(--brand-strong);
}

.home-panel-list {
  margin: 0 0 0.85rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.home-panel-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand);
}

.home-panel-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-tertiary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0;
  justify-content: center;
  align-items: center;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(16, 33, 51, 0.08);
}

.home-tertiary a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
  padding: 0.35rem 0.15rem;
  border-radius: var(--radius-sm);
}

.home-tertiary a:not(:last-child)::after {
  content: "·";
  margin: 0 0.55rem 0 0.45rem;
  color: rgba(16, 33, 51, 0.25);
  font-weight: 700;
  pointer-events: none;
}

.home-tertiary a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding: 0.5rem 0.65rem;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(16, 33, 51, 0.1);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
  gap: 0.45rem;
  justify-content: center;
}

.home-mobile-bar-btn {
  flex: 1;
  max-width: 8.5rem;
  text-align: center;
  padding: 0.6rem 0.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.8rem;
}

.home-mobile-bar-btn--emergency {
  background: var(--brand-strong);
  color: #fff;
}

.home-mobile-bar-btn--office {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.home-mobile-bar-btn--contact {
  background: var(--accent-soft);
  color: #2d6b24;
}

.home-mobile-bar-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-footer--home {
  background: #f8fafc;
  border-top: 1px solid rgba(16, 33, 51, 0.08);
  padding: 1.35rem 0 1.65rem;
}

.site-footer--home .footer-inner {
  padding-top: 0;
  border-top: none;
  gap: 1.1rem 1.5rem;
}

.site-footer--home .footer-links {
  gap: 1rem 1.25rem;
}

.site-footer--home .footer-links a {
  font-weight: 600;
  color: var(--brand-strong);
  font-size: 0.9rem;
}

.site-footer--home .footer-links a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer--home .fineprint {
  color: var(--muted);
  margin: 0;
}

@media (max-width: 640px) {
  .site-footer--home .footer-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .site-footer--home .footer-links {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  body.home-page,
  body.sub-page {
    padding-bottom: 4.25rem;
  }

  .landing-choice-grid {
    grid-template-columns: 1fr;
  }

  .landing-choice {
    min-height: clamp(156px, 30vw, 182px);
  }

  .landing-card {
    width: min(100%, calc(100% - 2rem));
    border-radius: 28px;
  }

  .landing-btn {
    width: 100%;
  }

  .home-panels {
    grid-template-columns: 1fr;
  }

  .home-mobile-bar {
    display: flex;
  }

  .home-showcase-grid,
  .home-reviews-grid {
    grid-template-columns: 1fr;
  }

  .home-process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) and (min-width: 721px) {
  .home-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ——— Nav sub-dropdowns ——— */
.nav--home .nav-sub {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Text label / link part of the split nav item */
.nav-sub-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.2rem 0.5rem 0.85rem;
  font-weight: 600;
  font-size: inherit;
  color: var(--brand-strong);
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
  border-radius: 0;
  cursor: pointer;
}

.nav-sub-link--label {
  cursor: default;
}

.nav-sub-link:hover,
.nav-sub.is-open .nav-sub-link {
  color: var(--accent);
}

/* Arrow-only toggle button */
.nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem 0.5rem 0.15rem;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  color: var(--brand-strong);
  border-radius: 0;
  transition: color 0.2s ease;
}

.nav-sub-toggle:hover,
.nav-sub.is-open .nav-sub-toggle {
  color: var(--accent);
}

.nav-sub-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.nav-sub-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-sub.is-open .nav-sub-arrow {
  transform: rotate(180deg);
}

.nav-sub-panel {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 961px) {
  .nav--home .nav-sub:hover .nav-sub-panel,
  .nav--home .nav-sub:focus-within .nav-sub-panel,
  .nav--home .nav-sub.is-open .nav-sub-panel {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: #fff;
    border: 1px solid rgba(16, 33, 51, 0.1);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(16, 33, 51, 0.13);
    z-index: 200;
    /* No gap — padding creates visual spacing without a dead zone */
    padding: 0.5rem 0.45rem 0.45rem;
  }

  .nav-sub-panel li {
    list-style: none;
  }

  .nav-sub-panel li a {
    display: block;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    color: var(--brand-strong);
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.3;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .nav-sub-panel li a:hover {
    background: var(--brand-soft);
    color: var(--brand-strong);
  }

  .nav-sub-panel li a[aria-current="page"] {
    background: var(--brand-soft);
    color: var(--accent);
    font-weight: 700;
  }
}

@media (max-width: 960px) {
  /* Row: [link text] [arrow button], panel wraps below */
  .nav--home .nav-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
  }

  .nav-sub-link {
    flex: 1;
    padding: 0.75rem 0.5rem 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 12px 0 0 12px;
  }

  .nav-sub-link--label {
    padding: 0.75rem 0.5rem 0.75rem 1rem;
  }

  .nav-sub-link:hover,
  .nav-sub.is-open .nav-sub-link {
    background: rgba(55, 48, 142, 0.06);
  }

  .nav-sub-toggle {
    padding: 0.75rem 1rem 0.75rem 0.5rem;
    border-radius: 0 12px 12px 0;
    font-size: 1rem;
  }

  .nav-sub-toggle:hover,
  .nav-sub.is-open .nav-sub-toggle {
    background: rgba(55, 48, 142, 0.06);
    color: var(--brand-strong);
  }

  .nav-sub.is-open .nav-sub-panel {
    display: block;
  }

  /* Panel takes full row below */
  .nav-sub-panel {
    flex-basis: 100%;
    padding: 0 0 0.25rem 0.5rem;
  }

  .nav-sub-panel li {
    list-style: none;
  }

  .nav-sub-panel li a {
    display: block;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .nav-sub-panel li a:hover {
    background: rgba(55, 48, 142, 0.06);
    color: var(--brand-strong);
  }

  .nav-sub-panel li a[aria-current="page"] {
    color: var(--accent);
    font-weight: 700;
  }
}

/* ——— Hero: solid colour variant (no image) ——— */
.landing-hero--solid {
  background: #f5f7fa;
  min-height: 78vh;
  min-height: 78dvh;
}

.landing-hero--solid .landing-hero-bg,
.landing-hero--solid .landing-hero-shade {
  display: none;
}

/* Taller choice tiles on the solid-bg hero */
.landing-hero--solid .landing-choice {
  min-height: clamp(200px, 26vh, 260px);
}

/* ——— Restoration hub cards ——— */
.restoration-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.restoration-hub-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 33, 51, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(16, 33, 51, 0.05);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.restoration-hub-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(16, 33, 51, 0.1);
}

.restoration-hub-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.restoration-hub-card-body h3 {
  font-size: 1.05rem;
  margin: 0.35rem 0 0.6rem;
  color: var(--text);
}

.restoration-hub-card-body p {
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.restoration-hub-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
}

@media (max-width: 800px) {
  .restoration-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .restoration-hub-grid {
    grid-template-columns: 1fr;
  }
}