/* ============================================
   EVO EPC — Premium construction site
   ============================================ */
:root {
  --anthracite: #1a1c1e;
  --charcoal: #2a2d31;
  --slate: #3d4248;
  --sand: #c4a574;
  --copper: #b8956c;
  --copper-light: #d4b896;
  --cream: #f7f4ef;
  --cream-dark: #ebe6dc;
  --white: #ffffff;
  --muted: #6b7078;
  --text: #1a1c1e;
  --text-light: #e8e4dc;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 20px 50px rgba(26, 28, 30, 0.12);
  --header-h: 76px;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}
button { cursor: pointer; }

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

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.85rem;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(2rem, 4vw, 2.85rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }

.accent { color: var(--copper-light); font-style: italic; }

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section--alt { background: var(--white); }

.section__head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.section__intro {
  color: var(--muted);
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

.placeholder {
  color: var(--copper);
  font-style: italic;
  border-bottom: 1px dashed rgba(184, 149, 108, 0.5);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}

.btn--primary {
  background: var(--copper);
  color: var(--anthracite);
}
.btn--primary:hover {
  background: var(--copper-light);
  transform: translateY(-2px);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--full { width: 100%; }

/* ---- Header ---- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s, backdrop-filter 0.35s;
}

.header.is-scrolled {
  background: rgba(26, 28, 30, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  z-index: 110;
}

.logo__mark { color: var(--copper); flex-shrink: 0; }

.logo__text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.logo__text em {
  font-style: normal;
  color: var(--copper);
  font-weight: 700;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__list a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s;
}
.nav__list a:hover { color: var(--white); }

.nav__cta {
  margin-left: 0.5rem !important;
  background: var(--copper) !important;
  color: var(--anthracite) !important;
  border-radius: var(--radius);
  padding: 0.55rem 1.1rem !important;
  font-weight: 600 !important;
}
.nav__cta:hover { background: var(--copper-light) !important; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  z-index: 110;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin-inline: auto;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(26, 28, 30, 0.88) 0%, rgba(26, 28, 30, 0.55) 55%, rgba(26, 28, 30, 0.35) 100%),
    linear-gradient(to top, rgba(26, 28, 30, 0.7) 0%, transparent 40%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 5rem;
  max-width: 720px;
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  margin-bottom: 1.4rem;
  font-weight: 600;
}

.hero__lead {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
}
.hero__scroll span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--copper);
  border-radius: 2px;
  margin: 8px auto 0;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(12px); }
}

/* ---- About ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__media {
  position: relative;
}
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about__badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--anthracite);
  color: var(--white);
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--copper);
}
.about__badge-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}
.about__badge-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
}

.about__body p { color: var(--muted); margin-bottom: 1.5rem; }
.about__body strong { color: var(--text); font-weight: 600; }

.about__points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about__points li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.98rem;
}
.about__points svg {
  flex-shrink: 0;
  color: var(--copper);
  margin-top: 2px;
}

/* ---- Services ---- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--cream);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s, background 0.35s;
}
.section--alt .service-card { background: var(--cream); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(184, 149, 108, 0.35);
  background: var(--white);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--anthracite);
  color: var(--copper);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

/* ---- Method ---- */
.method {
  background: var(--anthracite);
  color: var(--text-light);
}
.method .eyebrow { color: var(--copper); }
.method h2 { color: var(--white); }

.method__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: none;
}

.method__step {
  position: relative;
  padding-top: 0.5rem;
}
.method__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.4rem;
  right: -1rem;
  width: calc(100% - 3.5rem);
  height: 1px;
  background: linear-gradient(90deg, var(--copper), transparent);
  opacity: 0.4;
}

.method__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--copper);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.method__step h3 { color: var(--white); }
.method__step p { color: rgba(232, 228, 220, 0.65); font-size: 0.95rem; }

/* ---- Gallery ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--charcoal);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  transition: transform 0.7s var(--ease);
}
.gallery__item--tall img { aspect-ratio: 3 / 4; }
.gallery__item--wide {
  grid-column: span 2;
}
.gallery__item--wide img { aspect-ratio: 16 / 9; }
.gallery__item:hover img { transform: scale(1.06); }

.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem 1.25rem 1.15rem;
  background: linear-gradient(transparent, rgba(26, 28, 30, 0.85));
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
}
.gallery__item figcaption span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--copper-light);
  font-style: italic;
  margin-top: 0.15rem;
}

/* ---- Why ---- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why__card {
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--copper);
  box-shadow: 0 8px 30px rgba(26, 28, 30, 0.06);
  transition: transform 0.3s var(--ease);
}
.why__card:hover { transform: translateY(-4px); }

.why__icon {
  color: var(--copper);
  font-size: 0.7rem;
  display: block;
  margin-bottom: 1rem;
}

.why__card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---- Contact ---- */
.contact {
  background:
    linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.contact__info > p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact__details li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(26, 28, 30, 0.08);
}
.contact__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__form {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form__row {
  margin-bottom: 1.25rem;
}
.form__row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  color: var(--slate);
}

.form__row input,
.form__row select,
.form__row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.25s, background 0.25s;
}
.form__row input:focus,
.form__row select:focus,
.form__row textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: var(--white);
}

.form__note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

.form__success {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(184, 149, 108, 0.15);
  border-left: 3px solid var(--copper);
  font-size: 0.9rem;
  color: var(--anthracite);
}

/* ---- Footer ---- */
.footer {
  background: var(--anthracite);
  color: rgba(232, 228, 220, 0.7);
  padding: 3.5rem 0 2.5rem;
  font-size: 0.9rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.footer__brand p { margin-top: 0.75rem; }
.logo--footer { color: var(--white); }

.footer__meta {
  text-align: right;
}
.footer__meta a {
  color: var(--copper-light);
  transition: color 0.2s;
}
.footer__meta a:hover { color: var(--white); }
.footer__meta p + p { margin-top: 0.5rem; }
.footer__copy { opacity: 0.6; margin-top: 1rem !important; }

.footer__legal h3 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 1.5rem 0 0.5rem;
}
.footer__legal p { max-width: 720px; line-height: 1.7; }


/* ---- Hero stats ---- */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero__stat {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.hero__stat-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--copper-light);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.35;
}
.hero__stat-label sup { font-size: 0.65em; }

/* ---- About figures ---- */
.about__figures {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 28, 30, 0.08);
}
.about__figures div {
  display: flex;
  flex-direction: column;
}
.about__figures strong {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--anthracite);
  line-height: 1;
}
.about__figures span {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---- Services groups ---- */
.services__group {
  margin-top: 2.75rem;
}
.services__group:first-of-type { margin-top: 2rem; }
.services__group-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.15rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(184, 149, 108, 0.35);
}
.services__grid--dense {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.service-card--compact {
  padding: 1.35rem 1.25rem;
}
.service-card--compact .service-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.85rem;
}
.service-card--compact h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.service-card--compact p {
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.footer__legal a { color: var(--copper-light); }
.contact__details a {
  color: var(--anthracite);
  font-weight: 500;
  transition: color 0.2s;
}
.contact__details a:hover { color: var(--copper); }

/* ---- Reveal animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children slightly via nth */
.services__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services__grid .reveal:nth-child(4) { transition-delay: 0.08s; }
.services__grid .reveal:nth-child(5) { transition-delay: 0.16s; }
.services__grid .reveal:nth-child(6) { transition-delay: 0.24s; }
.method__steps .reveal:nth-child(2) { transition-delay: 0.1s; }
.method__steps .reveal:nth-child(3) { transition-delay: 0.2s; }
.method__steps .reveal:nth-child(4) { transition-delay: 0.3s; }
.why__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.why__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.why__grid .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services__grid, .services__grid--dense { grid-template-columns: repeat(2, 1fr); }
  .method__steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
  .method__step:not(:last-child)::after { display: none; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .about__badge { right: 1rem; bottom: 1rem; }
}

@media (max-width: 860px) {
  .burger { display: flex; }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(26, 28, 30, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }
  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .nav__list a {
    font-size: 1.35rem;
    font-family: var(--font-serif);
    padding: 0.75rem 1.5rem;
    color: var(--white);
  }
  .nav__cta {
    margin: 1rem 0 0 !important;
    display: inline-block !important;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about__media img { aspect-ratio: 16 / 10; }
  .about__badge { right: 1rem; bottom: 1rem; }

  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item--wide { grid-column: span 2; }
  .footer__meta { text-align: left; }
  .form__row--half { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .services__grid,
  .services__grid--dense,
  .method__steps,
  .why__grid,
  .gallery {
    grid-template-columns: 1fr;
  }
  .hero__stats { gap: 1.25rem; }
  .hero__stat-num { font-size: 2.1rem; }
  .gallery__item--wide { grid-column: span 1; }
  .hero__title { font-size: 2.5rem; }
  .contact__form { padding: 1.5rem; }
  .container { width: min(100% - 1.75rem, var(--max)); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; }
  .hero__scroll span { animation: none; }
}

/* ---- SEO / landing / FAQ additions ---- */
.service-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.about__more {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.about__more a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.about__more a:hover { color: var(--anthracite); }

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq__item {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 0.25rem 1.25rem;
}
.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--copper);
  flex-shrink: 0;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p {
  padding: 0 0 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
.footer__links-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 0.85rem;
}
.footer__links ul { display: flex; flex-direction: column; gap: 0.45rem; }
.footer__links a { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.footer__links a:hover { color: var(--white); }
.footer__legal-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1.5rem 0 0.6rem;
  color: var(--copper-light);
}

.breadcrumbs {
  padding-top: calc(var(--header-h) + 1.25rem);
  padding-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  opacity: 0.5;
}
.breadcrumbs a { color: var(--copper); }
.breadcrumbs a:hover { text-decoration: underline; }

.page-hero { padding-top: 1.5rem; }
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 1rem;
}
.page-hero__lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 36rem;
}
.page-hero__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
  max-height: 480px;
}

.prose {
  max-width: 720px;
}
.prose h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2rem;
  margin-bottom: 0.85rem;
}
.prose p { margin-bottom: 1rem; color: var(--slate); }
.prose a { color: var(--copper); text-decoration: underline; text-underline-offset: 2px; }
.related-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0 1rem;
  padding-left: 1.1rem;
  list-style: disc;
}
.related-links li::marker { color: var(--copper); }

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { order: -1; }
}


/* ---- Portfolio / services hub ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}
.portfolio-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.portfolio-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.portfolio-card figcaption {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.note-3d {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.services-hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.services-hub__col h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.services-hub__col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.services-hub__col a {
  color: var(--copper);
  text-decoration: none;
}
.services-hub__col a:hover { text-decoration: underline; }
.cta-band { margin: 1.5rem 0; }
.footer__links ul {
  max-height: none;
}
@media (min-width: 901px) {
  .footer__inner {
    grid-template-columns: 1fr 1.4fr 1fr;
  }
}
