/* =========================================================================
   Aurum Built - multi-page site styles
   Brand: charcoal + gold on warm paper. Self-contained (no external fonts).
   ========================================================================= */

:root {
  --black: #14110e;
  --charcoal: #221d18;
  --ink: #2c2722;
  --muted: #6f665c;
  --line: #e4dccd;
  --paper: #f7f3ec;
  --paper-2: #efe8db;
  --white: #fffdf8;
  --gold: #b68a3c;
  --gold-dark: #7a5a1e;
  --gold-soft: rgba(182, 138, 60, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 30px rgba(20, 17, 14, 0.07);
  --shadow: 0 24px 60px rgba(20, 17, 14, 0.16);
  --maxw: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  color: var(--charcoal);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

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

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(56px, 9vw, 110px) 0;
}

.section-muted {
  background: var(--paper-2);
}

.section-dark {
  background: var(--black);
  color: #e9e2d6;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-dark .eyebrow {
  color: var(--gold);
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 60ch;
}

.section-dark .lead {
  color: #c9c0b2;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}

.section-head .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--gold-dark);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--charcoal);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.86);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(20, 17, 14, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--charcoal);
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-name {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

.brand-tagline {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 10px 14px;
  border-radius: 999px;
}

.nav-menu a:hover {
  text-decoration: none;
  background: var(--gold-soft);
  color: var(--gold-dark);
}

.nav-menu a.is-active {
  color: var(--gold-dark);
  background: var(--gold-soft);
}

.nav-cta {
  margin-left: 6px;
  padding: 10px 20px !important;
  background: var(--gold);
  color: #fff !important;
}

.nav-cta:hover {
  background: var(--gold-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--charcoal);
  transition: transform 200ms ease, opacity 200ms ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 18px;
}

.hero-copy .lead {
  margin-bottom: 28px;
}

.hero-media {
  position: relative;
}

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

.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-soft);
  max-width: 230px;
}

.hero-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.hero-badge span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.hero-stats div strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--charcoal);
}

.hero-stats div span {
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------- Trust bar ---------- */
.trustbar {
  background: var(--charcoal);
  color: #d9d0c2;
}

.trustbar .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  justify-content: center;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 22px;
  text-align: center;
}

.trustbar span {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.trustbar strong {
  color: var(--gold);
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 22px;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(182, 138, 60, 0.4);
}

.card .card-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 700;
}

.card h3 {
  margin: 10px 0 8px;
}

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

.card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--gold-dark);
}

/* ---------- Split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

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

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 8px;
}

.feature-list li {
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-list ul {
  margin: 0;
  padding: 0;
}

.tick {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-top: 2px;
}

.feature-list h3 {
  font-family: var(--sans);
  font-size: 1.02rem;
  margin: 0 0 2px;
  color: var(--charcoal);
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Process steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.steps h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial .chip {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 6px 12px;
}

.testimonial blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.06rem;
  line-height: 1.55;
  color: var(--ink);
}

.testimonial .who strong {
  display: block;
  color: var(--charcoal);
}

.testimonial .who span,
.testimonial .who time {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.testimonial-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 44px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

/* ---------- Projects gallery ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.filters button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 160ms ease;
}

.filters button:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.filters button.is-active {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery figure:hover img {
  transform: scale(1.05);
}

.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 18px 16px;
  background: linear-gradient(180deg, rgba(20, 17, 14, 0), rgba(20, 17, 14, 0.82));
  color: #fff;
}

.gallery figcaption strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.gallery figcaption span {
  font-size: 0.82rem;
  color: #e3d9c8;
}

.gallery figure.is-hidden {
  display: none;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--charcoal), var(--black));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(34px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.cta-band h2 {
  color: #fff;
  margin: 0 0 6px;
}

.cta-band p {
  margin: 0;
  color: #cfc6b8;
  max-width: 52ch;
}

/* ---------- Contact / form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.contact-info .info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info .info-item .tick {
  background: var(--gold-soft);
}

.contact-info strong {
  display: block;
  color: var(--charcoal);
}

.contact-info a {
  color: var(--gold-dark);
}

.legal-line {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--charcoal);
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color 160ms ease, box-shadow 160ms ease;
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
  background: var(--white);
}

.field .error-text {
  color: #b3261e;
  font-size: 0.82rem;
  min-height: 1em;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b3261e;
}

/* Honeypot - hidden from people, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-status {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.form-status[data-state="error"] {
  color: #b3261e;
}

.form-status[data-state="success"] {
  color: #2f7d32;
}

.form-status[data-state="warning"] {
  color: var(--gold-dark);
}

.form-status[data-state="loading"] {
  color: var(--muted);
}

.btn[aria-busy="true"] {
  opacity: 0.75;
  pointer-events: none;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
  display: none;
}

.btn[aria-busy="true"] .spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: #c8bfb1;
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.site-footer h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
}

.site-footer a {
  color: #c8bfb1;
  display: block;
  padding: 4px 0;
  font-size: 0.94rem;
}

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

.footer-brand .brand-name {
  color: #fff;
}

.footer-legal {
  font-size: 0.85rem;
  color: #8c8478;
  margin: 4px 0 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.86rem;
  color: #8c8478;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--charcoal), var(--black));
  color: #fff;
  padding: clamp(60px, 9vw, 120px) 0 clamp(48px, 7vw, 90px);
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 14px;
}

.page-hero .lead {
  color: #cfc6b8;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: #cfc6b8;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 14px 12px;
  }

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

  .hero-media {
    order: -1;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .grid-3,
  .testimonial-grid,
  .gallery,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-2,
  .grid-3,
  .form-grid,
  .testimonial-grid,
  .gallery,
  .steps,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    left: 0;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Blog ===== */
.post-featured {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 48px;
}

.post-featured .post-featured-media {
  align-self: stretch;
}

.post-featured img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.post-featured .post-featured-body {
  padding: clamp(24px, 3vw, 40px);
}

.post-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-soft);
  border-radius: 999px;
  padding: 6px 12px;
  margin-bottom: 14px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0 0 8px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(182, 138, 60, 0.4);
}

.post-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.post-card:hover .post-card-media img {
  transform: scale(1.05);
}

.post-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  flex: 1;
}

.post-card-body h3 {
  margin: 0;
  font-size: 1.18rem;
}

.post-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.post-card-body .card-link {
  margin-top: auto;
}

/* ===== Article ===== */
.article {
  max-width: 760px;
  margin: 0 auto;
}

.article-hero img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 8;
  object-fit: cover;
  margin-bottom: 32px;
}

.article-body {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink);
}

.article-body h2 {
  font-size: 1.6rem;
  margin: 1.6em 0 0.5em;
}

.article-body h3 {
  font-size: 1.2rem;
  font-family: var(--sans);
  margin: 1.4em 0 0.4em;
}

.article-body p {
  margin: 0 0 1.1em;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.3em;
  padding-left: 1.3em;
}

.article-body li {
  margin-bottom: 0.5em;
}

.article-body blockquote {
  margin: 1.5em 0;
  padding: 16px 22px;
  border-left: 3px solid var(--gold);
  background: var(--paper-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--charcoal);
}

.article-body a {
  text-decoration: underline;
}

.article-callout {
  margin: 1.8em 0;
  padding: 22px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-callout strong {
  color: var(--charcoal);
}

.article-tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  margin: 2px 6px 2px 0;
}

.article-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

/* ===== FAQ ===== */
.faq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.faq-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 6px;
}

.faq-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.faq-nav a:hover {
  text-decoration: none;
  background: var(--gold-soft);
  color: var(--gold-dark);
}

.faq-category {
  margin-bottom: 40px;
}

.faq-category h2 {
  font-size: 1.5rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-soft);
  margin-bottom: 18px;
  scroll-margin-top: 96px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 20px;
  font-weight: 700;
  color: var(--charcoal);
  position: relative;
  font-size: 1.02rem;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 200ms ease;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--ink);
  line-height: 1.7;
}

.faq-answer p {
  margin: 0 0 0.8em;
}

.faq-answer ul {
  margin: 0 0 0.8em;
  padding-left: 1.2em;
}

@media (max-width: 960px) {
  .post-featured {
    grid-template-columns: 1fr;
  }

  .post-featured .post-featured-media img {
    min-height: 220px;
  }

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

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-nav {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    padding-bottom: 6px;
  }
}

@media (max-width: 600px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   Loop D — interactive media & premium polish (reduced-motion safe)
   ========================================================================= */

/* Service-card SVG icons */
.card { position: relative; }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  margin-bottom: 16px;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon {
  transform: translateY(-2px) rotate(-4deg);
  background: var(--gold);
  color: #fff;
}
.card .card-num {
  position: absolute;
  top: 22px;
  right: 24px;
  margin: 0;
  opacity: 0.55;
}

/* Hero ambient accent */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 58% at 86% 8%, var(--gold-soft), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .shell { position: relative; z-index: 1; }

/* Process timeline connector (draws in on reveal) */
@media (min-width: 961px) {
  .steps { position: relative; }
  .steps::before {
    content: "";
    position: absolute;
    top: 48px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-soft));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
  }
  .steps.is-visible::before { transform: scaleX(1); }
  .steps li { position: relative; z-index: 1; }
}

/* Primary CTA (links only) arrow micro-interaction */
a.btn-primary::after {
  content: "\2192";
  margin-left: 2px;
  transition: transform 200ms ease;
}
a.btn-primary:hover::after { transform: translateX(4px); }

/* Keyboard focus parity for gallery + visible focus rings */
.gallery figure:focus-within img { transform: scale(1.05); }
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .card-icon,
  a.btn-primary::after,
  .steps::before { transition: none !important; }
  .steps::before { transform: none !important; }
  .card:hover .card-icon { transform: none; }
}

/* Service section note (Loop B/C — ideal-for + related reading) */
.service-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 16px 0 20px;
  max-width: 56ch;
}
.service-note strong { color: var(--charcoal); }

/* Footer brand emblem (vector wordmark) */
.footer-emblem {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.footer-emblem img {
  width: 116px;
  height: auto;
  opacity: 0.85;
}

/* =========================================================================
   Hero CTA refresh + mobile overlay card
   ========================================================================= */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 24px 0 0;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-trust span { display: inline-flex; align-items: center; }
.hero-trust span:not(:last-child)::after {
  content: "\2022";
  margin: 0 12px;
  color: var(--gold);
}

#quote-form { scroll-margin-top: 92px; }

@media (max-width: 960px) {
  /* Mobile hero: full-screen photo with the copy card overlaid on the lower
     portion, so headline + buttons sit within the first screen (no scroll). */
  .hero { padding: 0; }
  .hero .shell { padding: 0; }
  .hero-grid {
    display: block;
    position: relative;
    min-height: calc(100vh - 76px);
    min-height: calc(100svh - 76px);
  }
  .hero-media { position: absolute; inset: 0; margin: 0; }
  .hero-media img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
  }
  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 17, 14, 0) 45%, rgba(20, 17, 14, 0.3));
    pointer-events: none;
  }
  .hero-badge { display: none; }
  .hero-copy {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    margin: 0;
    padding: 20px 18px;
    background: rgba(247, 243, 236, 0.5);
    -webkit-backdrop-filter: saturate(150%) blur(12px);
    backdrop-filter: saturate(150%) blur(12px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .hero-copy .eyebrow { margin-bottom: 8px; }
  .hero-copy h1 { font-size: 1.55rem; margin-bottom: 10px; }
  .hero-copy .lead { font-size: 0.97rem; margin-bottom: 16px; }
  .hero-trust { margin-top: 14px; font-size: 0.7rem; }
}

@media (max-width: 600px) {
  .hero .btn-row { flex-direction: column; align-items: stretch; }
  .hero .btn-row .btn { width: 100%; }
}

/* =========================================================================
   Renovation packages page
   ========================================================================= */
.sr-only-heading {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.pkg-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--pkg-accent, var(--line));
}
.pkg-card:hover,
.pkg-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(182, 138, 60, 0.4);
}
.pkg-bronze { --pkg-accent: #b58150; }
.pkg-silver { --pkg-accent: #b3b8bf; }
.pkg-gold { --pkg-accent: var(--gold); }
.pkg-card.is-popular { border-color: var(--gold); box-shadow: var(--shadow); }

.pkg-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.pkg-card.is-popular .pkg-badge { background: var(--gold); color: #fff; }

.pkg-card h3 { margin: 0 0 2px; font-size: 1.6rem; }
.pkg-tier { color: var(--muted); font-size: 0.92rem; margin: 0 0 12px; }
.pkg-price {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--charcoal);
  margin: 0 0 10px;
  line-height: 1.25;
}
.pkg-price span {
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 4px;
}
.pkg-for { color: var(--muted); font-size: 0.95rem; margin: 0; }
.pkg-sub {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 20px 0 10px;
}
.pkg-plus { font-size: 0.9rem; font-weight: 700; color: var(--gold-dark); margin: 0 0 8px; }
.pkg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pkg-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.93rem;
  color: var(--ink);
  line-height: 1.5;
}
.pkg-list li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 0;
  color: var(--gold-dark);
  font-weight: 900;
}
.pkg-allow { list-style: none; margin: 0; padding: 0; }
.pkg-allow li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.pkg-allow li:last-child { border-bottom: none; }
.pkg-allow strong { color: var(--charcoal); font-weight: 700; white-space: nowrap; }
.pkg-cta { margin-top: 24px; width: 100%; }

.upgrade-list { list-style: none; margin: 0 auto; padding: 0; max-width: 680px; }
.upgrade-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.upgrade-list li span { color: var(--charcoal); font-weight: 700; }
.upgrade-list li strong { color: var(--gold-dark); font-weight: 700; }

.pkg-note {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 961px) {
  .pkg-card.is-popular { transform: scale(1.035); }
  .pkg-card.is-popular:hover,
  .pkg-card.is-popular:focus-within { transform: scale(1.035) translateY(-6px); }
}
@media (max-width: 900px) {
  .pkg-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .pkg-card { transition: none; }
  .pkg-card:hover, .pkg-card:focus-within { transform: none; }
}

/* Packages: "mix of packages" CTA */
.pkg-mix {
  text-align: center;
  max-width: 60ch;
  margin: 40px auto 0;
  color: var(--muted);
  font-size: 1.02rem;
}
.pkg-mix-cta { text-align: center; margin-top: 16px; }

/* Mobile: keep the photo above the text in every split section (consistency) */
@media (max-width: 960px) {
  .split > div:has(picture) { order: -1; }
}
