/* ==========================================================================
   Chimney Sweep Ramapo — design system
   Token layer maps 1:1 to GeneratePress Global Colors + Gutenberg theme.json.
   ========================================================================== */

:root {
  --brick:        #B3391F;
  --brick-dark:   #8C2A14;
  --brick-tint:   #F6E7E2;
  --ink:          #16181A;
  --body:         #43494C;
  --muted:        #6E7679;
  --slate:        #3E5F5C;
  --slate-dark:   #2C4644;
  --amber:        #E09A38;
  --paper:        #FFFFFF;
  --shell:        #F6F3EE;
  --line:         #E2DBD1;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-sans);

  --container: 1240px;
  --measure:   1120px;
  --content:   740px;
  --radius:    6px;
  --radius-lg: 12px;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 88px; --s-10: 120px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--shell);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 var(--s-4);
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 750;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.375rem); line-height: 1.25; }
h4 { font-size: 1.0625rem; line-height: 1.3; }

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--brick); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brick-dark); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------------------------------------------------------------- layout -- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
@media (min-width: 1120px) { .container { padding-inline: 40px; } }
.container--narrow { max-width: var(--measure); }

.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-8); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: #C6CBCD; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: var(--s-6);
  align-items: end;
  margin-bottom: var(--s-7);
}
.section-head > :last-child { padding-bottom: 6px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { color: var(--muted); font-size: .975rem; margin-bottom: var(--s-4); }

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; align-items: start; gap: var(--s-4); }
  .section-head > :last-child { padding-bottom: 0; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brick); background: var(--brick-tint);
  padding: 5px 11px; border-radius: 100px;
  margin-bottom: var(--s-4);
}
.section--ink .eyebrow { background: rgba(255,255,255,.09); color: #E7A492; }

.lede { font-size: 1.125rem; color: var(--body); }

/* --------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 650; font-size: .9375rem;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn svg { flex: none; }

.btn--primary { background: var(--brick); color: #fff; border-color: var(--brick); }
.btn--primary:hover { background: var(--brick-dark); border-color: var(--brick-dark); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: transparent; }

.btn--onDark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--onDark:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

.btn--sm { padding: 9px 16px; font-size: .875rem; }
.btn--block { width: 100%; }


/* ---------------------------------------------------------------- header -- */
.topbar {
  background: var(--ink); color: #C9CDCF;
  font-size: .8125rem; letter-spacing: .01em;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); min-height: 38px; flex-wrap: wrap;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 60;
}
.site-header .container {
  display: flex; align-items: center; gap: var(--s-5);
  min-height: 86px;
}

.brand {
  display: flex; align-items: center; gap: 13px;
  flex: 0 0 auto;
  margin-right: var(--s-5); text-decoration: none;
}
.brand .brand-mark { height: 46px; width: auto; }
.brand .brand-word { height: 36px; width: auto; }
@media (max-width: 480px) {
  .brand { gap: 10px; }
  .brand .brand-mark { height: 38px; }
  .brand .brand-word { height: 29px; }
}

.nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav a {
  display: block; padding: 10px 13px;
  color: var(--ink); font-size: .9375rem; font-weight: 600;
  text-decoration: none; border-radius: var(--radius);
}
.nav a:hover { background: var(--shell); }
.nav a[aria-current="page"], .nav .current-menu-item > a { color: var(--brick); }

.has-sub { position: relative; }
.has-sub > button {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: .9375rem; font-weight: 600; color: var(--ink);
  padding: 10px 13px; border-radius: var(--radius);
}
.has-sub > button:hover { background: var(--shell); }
.has-sub > button svg { transition: transform .18s ease; }
.has-sub[data-open="true"] > button svg { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 268px; padding: 8px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 28px rgba(22,24,26,.09);
  display: none; margin: 0; list-style: none;
}
.has-sub[data-open="true"] .submenu { display: block; }
.submenu a { padding: 9px 12px; font-weight: 550; font-size: .9125rem; }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 9px 11px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav-toggle span + span { margin-top: 5px; }

@media (max-width: 1020px) {
  .nav-toggle { display: block; order: 3; }
  .header-cta { display: none; }
  .nav {
    order: 4; display: none; width: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--s-3) 0 var(--s-5);
    border-top: 1px solid var(--line);
  }
  .site-header .container { flex-wrap: wrap; }
  body[data-nav="open"] .nav { display: flex; }
  .has-sub > button { width: 100%; justify-content: space-between; }
  .submenu { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .has-sub[data-open="true"] .submenu { display: block; }
}

/* ------------------------------------------------------------------ hero -- */
.hero { background: var(--paper); padding-block: var(--s-6) var(--s-8); }

.hero-panel {
  position: relative;
  isolation: isolate;
  background: var(--slate);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: var(--s-8);
  padding: var(--s-9) var(--s-8);
}

.hero-bg { position: absolute; inset: 0; z-index: -2; display: block; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 30% center;
  opacity: .42;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(37,58,56,.90) 0%, rgba(37,58,56,.66) 46%, rgba(37,58,56,.34) 100%),
    linear-gradient(to top, rgba(20,35,33,.45) 0%, rgba(20,35,33,0) 50%);
}

.hero-copy { align-self: center; }
.hero-copy h1 { color: #fff; }
.hero-copy p { color: #DCE6E4; font-size: 1.0625rem; max-width: 42ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.hero-facts {
  list-style: none; margin: var(--s-6) 0 0; padding: var(--s-5) 0 0;
  border-top: 1px solid rgba(255,255,255,.22);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6);
  color: #CBDAD7; font-size: .9375rem;
}
.hero-facts strong { color: #fff; font-weight: 700; }
.hero-facts li { display: flex; align-items: center; }

@media (max-width: 980px) {
  .hero-panel { grid-template-columns: 1fr; gap: var(--s-6); padding: var(--s-7) var(--s-5); }
  .hero-bg img { object-position: 34% center; opacity: .3; }
  .hero-copy { max-width: none; }
}


/* ------------------------------------------------------------ hero form -- */
.quote-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: var(--s-6);
  box-shadow: 0 18px 40px rgba(14,26,25,.22);
  align-self: center;
}
.quote-card h2 { font-size: 1.3125rem; margin-bottom: 4px; }
.quote-card > p { font-size: .9rem; color: var(--muted); margin-bottom: var(--s-5); }
.quote-card .quote-alt {
  margin: var(--s-4) 0 0; padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: .8438rem; color: var(--muted);
}

.field { margin-bottom: var(--s-4); }
.field label {
  display: block; font-size: .8125rem; font-weight: 650;
  color: var(--ink); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .9375rem;
  padding: 11px 13px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--slate); }

/* --------------------------------------------------------- cards & grids -- */
.grid { display: grid; gap: var(--s-4); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-5);
  display: flex; flex-direction: column;
}
.section--paper .card { background: var(--shell); border-color: transparent; }

.card h3 { margin-bottom: 8px; }
.card p { font-size: .9375rem; color: var(--body); }

.card-link {
  margin-top: auto; padding-top: var(--s-4);
  font-size: .9rem; font-weight: 650; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.card-link:hover { text-decoration: underline; }

/* -------------------------------------------------------------- problems -- */
.problems { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 var(--s-7); }
.problem {
  display: grid; grid-template-columns: 30px 1fr; gap: var(--s-4);
  padding: var(--s-5) 0; border-bottom: 1px solid var(--line);
}
.problem span {
  font-size: .8125rem; font-weight: 700; color: var(--brick);
  padding-top: 3px; font-variant-numeric: tabular-nums;
}
.problem h3 { font-size: 1.0625rem; margin-bottom: 5px; }
.problem p { font-size: .9375rem; margin: 0; }
@media (max-width: 760px) { .problems { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- process -- */
.steps { counter-reset: step; display: grid; gap: var(--s-5); grid-template-columns: repeat(4, minmax(0,1fr)); }
.step { border-top: 3px solid var(--brick); padding-top: var(--s-4); }
.step .num {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px;
}
.step h3 { font-size: 1.0625rem; }
.step p { font-size: .9375rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- split -- */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: var(--s-8); align-items: center;
}
.split--wide-left { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; gap: var(--s-6); } }

.checklist { list-style: none; margin: var(--s-5) 0 0; padding: 0; }
.checklist li {
  position: relative; padding-left: 30px; margin-bottom: var(--s-3);
  font-size: .9688rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--brick); border-bottom: 2.5px solid var(--brick);
  transform: rotate(-45deg);
}

/* ----------------------------------------------------------- service area -- */
.area-list { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: var(--s-6); }
.area-list li {
  padding: 9px 0; border-bottom: 1px solid var(--line);
  font-size: .9375rem; break-inside: avoid;
}
@media (max-width: 760px) { .area-list { columns: 2; } }
@media (max-width: 460px) { .area-list { columns: 1; } }

/* ------------------------------------------------------------------- faq -- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: var(--s-5) 44px var(--s-5) 0;
  font-weight: 650; font-size: 1.0625rem; color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 11px; height: 11px; margin-top: -8px;
  border-right: 2px solid var(--brick); border-bottom: 2px solid var(--brick);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .faq-body { padding: 0 var(--s-7) var(--s-5) 0; }
.faq .faq-body p { font-size: .9688rem; }


/* -------------------------------------------------------------- CTA band -- */
.cta-band { background: var(--brick); color: #fff; }
.cta-band .container {
  display: grid; grid-template-columns: minmax(0,1.3fr) auto;
  gap: var(--s-6); align-items: center;
  padding-block: var(--s-8);
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #F6DED8; margin: 0; max-width: 52ch; }
.cta-band .btn--primary { background: #fff; color: var(--brick); border-color: #fff; }
.cta-band .btn--primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
@media (max-width: 820px) { .cta-band .container { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- footer -- */
.site-footer { background: var(--ink); color: #A9B0B3; padding-block: var(--s-8) var(--s-6); font-size: .9375rem; }
.site-footer .footer-head { color: #fff; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 var(--s-4); }
.site-footer a { color: #D8DCDE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s-7); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s-5); }
.footer-logo .brand-mark { height: 44px; width: auto; }
.footer-logo .brand-word { height: 34px; width: auto; }
.footer-bottom {
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
  font-size: .875rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- breadcrumbs -- */
.crumbs { font-size: .8125rem; color: var(--muted); padding-block: var(--s-4); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brick); }

/* ----------------------------------------------------------- article body -- */
.prose { max-width: var(--content); }
.prose h2 { margin-top: var(--s-8); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s-6); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 var(--s-4); }
.prose li { margin-bottom: 8px; }

.callout {
  background: var(--paper); border-left: 3px solid var(--brick);
  padding: var(--s-5); border-radius: 0 var(--radius) var(--radius) 0;
  margin: var(--s-6) 0;
}
.callout p { font-size: .9688rem; }
.callout strong { color: var(--ink); }

.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding-bottom: var(--s-8); }
.page-hero h1 { margin-bottom: var(--s-4); }
.page-hero .lede { max-width: 62ch; }
.page-hero .hero-actions { margin-top: var(--s-5); }

.page-hero-media {
  margin: var(--s-6) 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}
.page-hero-media img {
  display: block; width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover; object-position: center;
}
@media (max-width: 700px) { .page-hero-media img { aspect-ratio: 4 / 3; } }

/* --------------------------------------------------------- NAP and phone -- */
.topbar-right { display: flex; align-items: center; gap: var(--s-4); }
.topbar-call { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.topbar-call svg { opacity: .8; }
.topbar-mail { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: #C9CDCF !important; }
.topbar-mail svg { opacity: .65; }
.topbar-mail:hover { color: #fff !important; }
@media (max-width: 820px) { .topbar-mail { display: none; } }

.header-cta { display: flex; align-items: center; gap: var(--s-4); }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); text-decoration: none;
  font-size: 1.0625rem; font-weight: 750; letter-spacing: -.01em;
  white-space: nowrap;
}
.header-phone svg { color: var(--brick); }
.header-phone:hover { color: var(--brick); }
@media (max-width: 1240px) { .header-phone span { display: none; } }

.price-tag {
  display: inline-block;
  background: var(--brick); color: #fff;
  font-size: .8125rem; font-weight: 800; letter-spacing: .01em;
  padding: 3px 9px; border-radius: 100px;
  vertical-align: middle; margin-right: 8px;
}
.card h3 .price-tag { font-size: .75rem; margin-right: 0; margin-left: 6px; }
.hero-facts .price-tag { margin-right: 10px; }

.nap { font-style: normal; display: grid; gap: 8px; margin-top: var(--s-4); line-height: 1.55; }
.nap a { font-weight: 700; color: #fff; }
.nap strong { color: #fff; font-size: 1rem; }

.mobile-call { display: none; }
@media (max-width: 760px) {
  .mobile-call {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(22,24,26,.08);
  }
  .mobile-call .btn { padding: 13px 10px; font-size: .875rem; }
  .mobile-call .btn--ghost { background: var(--paper); }
  body { padding-bottom: 74px; }
  .topbar-right { gap: 10px; }
}


/* ------------------------------------------------------------- trust row -- */
.trust-row {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--s-5);
}
.trust-row li { border-left: 3px solid var(--brick); padding-left: var(--s-4); }
.trust-row strong {
  display: block; color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 780;
  letter-spacing: -.02em; line-height: 1.1;
}
.trust-row span { display: block; font-size: .875rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 780px) { .trust-row { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ------------------------------------------- photos, projects and reviews -- */
.inline-photo { margin: var(--s-5) 0 0; }
.inline-photo img { width: 100%; border-radius: var(--radius); display: block; }
.inline-photo figcaption {
  margin-top: 10px; font-size: .8438rem; color: var(--muted); line-height: 1.5;
}
.section--ink .inline-photo figcaption { color: #98A3A5; }
.prose .inline-photo { margin: var(--s-6) 0; }
.inline-photo--tall img { max-height: 620px; width: 100%; object-fit: cover; object-position: center 20%; }

.projects-grid { align-items: stretch; }
.project {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.project img {
  width: 100%; aspect-ratio: 16 / 9;
  object-fit: contain; background: var(--ink); display: block;
}
.project-body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 1.125rem; margin-bottom: 8px; }
.project-body p { font-size: .9063rem; }
.project-meta {
  font-size: .8125rem; color: var(--muted); margin-top: var(--s-3);
  display: inline-flex; align-items: center; gap: 6px;
}
.project-meta::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brick); flex: none;
}

.review {
  margin: 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-5);
}
.review p { font-size: .9688rem; color: var(--body); }
.review cite {
  display: block; margin-top: var(--s-4); font-style: normal;
  font-weight: 650; color: var(--ink); font-size: .9063rem;
}
.review cite span { display: block; font-weight: 400; color: var(--muted); font-size: .8125rem; margin-top: 2px; }

/* ---------------------------------------------------- GeneratePress bridge -- */
.site-content, .grid-container { max-width: none; }
.site .grid-container { padding: 0; }
.entry-content { margin: 0; }
.site-content .content-area { width: 100%; }
.inside-article, .entry-content { padding: 0; }
.site-main { margin: 0; }
#page { overflow-x: clip; }
.separate-containers .site-main { margin: 0; }
.no-sidebar .site-content .content-area { width: 100%; }

/* Gutenberg alignment inside our own containers */
.entry-content .alignwide, .entry-content .alignfull { max-width: none; margin-inline: 0; }
.wp-block-group.is-layout-constrained > * { max-width: none; }
.wp-block-image img { border-radius: var(--radius); }
.wp-block-buttons { gap: var(--s-3); }
.wp-block-columns { gap: var(--s-4); }

/* Editor parity */
.editor-styles-wrapper { background: var(--shell); color: var(--body); font-family: var(--font-sans); }
.editor-styles-wrapper .wp-block { max-width: none; }

