/*
Theme Name: Recruitomatic
Theme URI: https://recruitomatic.co
Author: Recruitomatic
Description: Custom theme for recruitomatic.co. Builds every service, industry, plan, and comparison page on activation, with built-in SEO meta, schema markup, and llms.txt.
Version: 1.8.0
Requires at least: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: recruitomatic
*/

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(assets/fonts/archivo-latin-wdth-normal.woff2) format("woff2");
}

:root {
  --brand: #193c4d;
  --brand-deep: #0f2835;
  --ink: #112b38;
  --muted: #4a6470;
  --paper: #ffffff;
  --wash: #eef3f5;
  --rule: #c9d6dc;
  --accent: #ee8a2f;
  --green: #12875a;
  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 800; font-stretch: 76%; line-height: 0.98; letter-spacing: -0.012em; }
h2, .wp-block-heading:where(h2) { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 780; font-stretch: 80%; letter-spacing: -0.008em; }
h3, .wp-block-heading:where(h3) { font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--ink); padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Buttons */
.btn,
.wp-block-button__link {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  padding: 0.85em 1.35em;
  border-radius: 6px;
  border: 2px solid var(--ink);
  background: var(--accent);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover,
.wp-block-button__link:hover { background: var(--ink); color: var(--paper); }
.btn--line,
.is-style-outline > .wp-block-button__link { background: transparent; border-color: currentColor; color: inherit; }
.btn--line:hover,
.is-style-outline > .wp-block-button__link:hover { background: var(--paper); color: var(--brand); border-color: var(--paper); }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); position: relative; z-index: 20; }
.site-header__in { display: flex; align-items: center; gap: 1.5rem; padding: 0.8rem var(--edge); }
.brand { font-size: 1.65rem; font-weight: 850; font-stretch: 72%; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; line-height: 1; margin-right: auto; }
.brand img { display: block; height: 36px; width: auto; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; }
.nav__list > li { position: relative; }
.nav__list > li > a,
.nav__list > li > button {
  font: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); background: none; border: 0;
  padding: 0.6rem 0.75rem; text-decoration: none; cursor: pointer; border-radius: 6px; display: block;
}
.nav__list > li > a:hover,
.nav__list > li > button:hover { background: var(--wash); }
.nav__list > li > button::after { content: ""; display: inline-block; width: 0.42em; height: 0.42em; margin-left: 0.45em; border-right: 2px solid; border-bottom: 2px solid; transform: translateY(-0.2em) rotate(45deg); }
.drop { display: none; position: absolute; top: 100%; left: 0; min-width: 19rem; background: var(--paper); border: 1px solid var(--rule); border-top: 4px solid var(--accent); padding: 1.1rem 1.25rem; box-shadow: 0 18px 40px -18px rgba(17, 43, 56, 0.45); }
.drop--wide { left: 50%; transform: translateX(-42%); width: min(58rem, calc(100vw - 2 * var(--gutter))); }
.has-drop.is-open > .drop { display: block; }
.drop a { display: block; padding: 0.32rem 0; color: var(--ink); text-decoration: none; font-size: 1rem; line-height: 1.35; }
.drop a:hover { color: var(--brand); text-decoration: underline; }
.drop a small { display: block; color: var(--muted); font-size: 0.875rem; }
.drop__cols { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 1.5rem 2rem; }
.drop__cols ul.two { columns: 2; column-gap: 2rem; }
.drop__label { font-size: 0.875rem; font-weight: 700; color: var(--muted); margin: 0 0 0.4rem; }
.drop__all { display: inline-block; margin-top: 0.9rem; font-weight: 700; text-decoration: underline !important; }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__login { color: var(--ink); font-weight: 600; font-size: 1rem; text-decoration: none; }
.nav__login:hover { text-decoration: underline; }
.nav__actions .btn { font-size: 1rem; padding: 0.65em 1.1em; }
.nav-toggle { display: none; font: inherit; font-weight: 700; font-size: 1rem; background: none; border: 2px solid var(--ink); border-radius: 6px; padding: 0.45rem 0.8rem; color: var(--ink); cursor: pointer; }

@media (max-width: 62rem) {
  .nav-toggle { display: block; }
  .brand img { height: 26px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 1rem var(--gutter) 1.5rem; flex-direction: column; align-items: stretch; gap: 1rem; max-height: calc(100vh - 4rem); overflow: auto; }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__list > li > a, .nav__list > li > button { width: 100%; text-align: left; padding: 0.75rem 0; font-size: 1.1rem; }
  .drop, .drop--wide { position: static; transform: none; width: auto; box-shadow: none; border: 0; border-left: 4px solid var(--accent); padding: 0.25rem 0 0.75rem 1rem; }
  .drop__cols { grid-template-columns: 1fr; gap: 1rem; }
  .drop__cols ul.two { columns: 1; }
  .nav__actions { justify-content: space-between; }
}

/* Hero */
.hero { background: var(--brand); color: var(--paper); padding: clamp(2.5rem, 6vw, 5rem) var(--edge) clamp(3rem, 7vw, 5.5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero--plain .hero__grid { grid-template-columns: minmax(0, 52rem); }
.hero h1 { max-width: 15em; }
.hero__lead { font-size: clamp(1.15rem, 1.7vw, 1.35rem); line-height: 1.5; max-width: 36em; margin: 1.4rem 0 0; color: #dde8ec; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__actions .btn--line { color: var(--paper); }
.hero__img { border-radius: 6px; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 3px solid var(--paper); }
.crumbs { font-size: 0.95rem; margin: 0 0 1.25rem; color: #c3d5dc; }
.crumbs a { color: inherit; }
.crumbs a:hover { color: var(--paper); }
.crumbs span[aria-hidden] { margin: 0 0.45em; }
@media (max-width: 56rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Interview calendar: the signature element */
.cal { background: var(--paper); color: var(--ink); border-radius: 8px; padding: 1rem 1rem 0.9rem; box-shadow: 14px 14px 0 var(--accent); }
.cal__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.7rem; font-size: 0.95rem; }
.cal__top b { font-size: 1.15rem; font-stretch: 80%; font-weight: 800; }
.cal__top span { color: var(--muted); }
.cal__head, .cal__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.4rem; }
.cal__head { font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-bottom: 0.4rem; }
.cal__slot { min-height: 4.1rem; border: 1.5px dashed var(--rule); border-radius: 5px; padding: 0.4rem 0.45rem; font-size: 0.8rem; line-height: 1.2; display: flex; flex-direction: column; gap: 0.12rem; }
.cal__slot.is-booked { border: 0; border-left: 4px solid var(--accent); background: var(--wash); }
.cal__slot.is-booked.is-done { border-left-color: var(--green); }
.cal__time { color: var(--muted); font-variant-numeric: tabular-nums; }
.cal__role { font-weight: 700; font-size: 0.86rem; overflow-wrap: anywhere; }
.cal__status { margin-top: auto; color: var(--brand); font-weight: 600; }
.is-done .cal__status { color: var(--green); }
.cal__foot { margin: 0.75rem 0 0; font-size: 0.9rem; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .cal__slot.is-booked { animation: slot-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(0.25s + var(--i, 0) * 0.11s); }
  @keyframes slot-in { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: none; } }
}
@media (max-width: 30rem) {
  .cal__head, .cal__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cal__head > :nth-child(n + 4), .cal__grid > :nth-child(5n + 4), .cal__grid > :nth-child(5n + 5) { display: none; }
  .cal { box-shadow: 8px 8px 0 var(--accent); }
  .cal__foot { display: none; }
}

/* Content sections (built from blocks) */
.rom-content > :not(.rom-section) { max-width: 46rem; margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.rom-content > :not(.rom-section):first-child { margin-top: clamp(2.5rem, 5vw, 4rem); }
.rom-content > :not(.rom-section):last-child { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.rom-section { padding: clamp(3.25rem, 7vw, 5.75rem) var(--edge); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(2rem, 5vw, 4.5rem); border-top: 1px solid var(--rule); }
.rom-section > * { grid-column: 2; min-width: 0; }
.rom-section > h2 { grid-column: 1; grid-row: 1 / span 40; align-self: start; }
.rom-section > :last-child { margin-bottom: 0; }
.rom-section--wash { background: var(--wash); border-top: 0; }
.rom-section--wash + .rom-section { border-top: 0; }
.rom-section--full > * { grid-column: 1 / -1; }
.rom-section--full > h2 { grid-row: auto; margin-bottom: 1rem; }
.rom-section--full > .rom-intro { max-width: 44rem; }
.rom-intro { font-size: 1.2rem; line-height: 1.5; color: var(--muted); margin-bottom: 1.75rem; }
.rom-section p { max-width: 44rem; }
@media (max-width: 56rem) {
  .rom-section { grid-template-columns: minmax(0, 1fr); }
  .rom-section > *, .rom-section > h2 { grid-column: 1; grid-row: auto; }
  .rom-section > h2 { margin-bottom: 1.1rem; }
}

/* Ruled rows: role lists, feature lists, link lists */
.rom-rows { border-bottom: 2px solid var(--ink); }
.rom-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0.4rem 2rem; padding: 1.15rem 0; border-top: 2px solid var(--ink); }
.rom-row + .rom-row { border-top: 1px solid var(--rule); }
.rom-row > * { margin: 0; }
.rom-row h3 a { color: var(--ink); }
.rom-row h3 a:hover { color: var(--brand); }
@media (max-width: 40rem) { .rom-row { grid-template-columns: minmax(0, 1fr); } }

/* Three plain columns under a heavy rule */
.rom-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 2rem 2.5rem; margin-top: 0.75rem; }
.rom-col { border-top: 4px solid var(--accent); padding-top: 1rem; }
.rom-col h3 { margin-bottom: 0.5rem; }
.rom-col p { margin: 0; }

/* Steps: a real sequence, so numbered */
.rom-steps { counter-reset: step; display: grid; gap: 0; }
.rom-step { counter-increment: step; position: relative; padding: 1.3rem 0 1.3rem 4.5rem; border-top: 1px solid var(--rule); }
.rom-step:first-child { border-top: 2px solid var(--ink); }
.rom-step::before { content: counter(step); position: absolute; left: 0; top: 0.95rem; font-size: 3rem; font-weight: 850; font-stretch: 70%; line-height: 1; color: var(--brand); }
.rom-step h3 { margin-bottom: 0.35rem; }
.rom-step p { margin: 0; }

/* Check list */
.rom-checks { list-style: none; padding: 0; margin: 0 0 1.5rem; border-top: 2px solid var(--ink); }
.rom-checks li { padding: 0.8rem 0 0.8rem 2.1rem; border-bottom: 1px solid var(--rule); position: relative; font-weight: 600; }
.rom-checks li::before { content: ""; position: absolute; left: 0.25rem; top: 1.2rem; width: 0.95rem; height: 0.5rem; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }

/* FAQ */
.rom-content details, .entry details { border-top: 1px solid var(--rule); }
.rom-content details:first-of-type, .entry details:first-of-type { border-top: 2px solid var(--ink); }
.rom-content details:last-of-type, .entry details:last-of-type { border-bottom: 1px solid var(--rule); }
.rom-content summary, .entry summary { cursor: pointer; font-weight: 700; font-size: 1.15rem; line-height: 1.3; padding: 1.1rem 2.5rem 1.1rem 0; list-style: none; position: relative; }
.rom-content summary::-webkit-details-marker, .entry summary::-webkit-details-marker { display: none; }
.rom-content summary::after, .entry summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.75rem; font-size: 1.7rem; font-weight: 400; color: var(--brand); line-height: 1; }
.rom-content details[open] > summary::after, .entry details[open] > summary::after { content: "\2212"; }
.rom-content details > :not(summary), .entry details > :not(summary) { margin: 0 0 1.2rem; max-width: 44rem; }

/* Tables */
.wp-block-table { margin: 0 0 1.5rem; overflow-x: auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 36rem; }
.wp-block-table th, .wp-block-table td { text-align: left; vertical-align: top; padding: 0.9rem 1rem 0.9rem 0; border-bottom: 1px solid var(--rule); border-left: 0; border-right: 0; border-top: 0; }
.wp-block-table thead th { border-bottom: 2px solid var(--ink); font-weight: 800; font-stretch: 85%; font-size: 1.05rem; }
.wp-block-table td:first-child { font-weight: 700; width: 22%; }

/* Quotes */
.rom-quotes { display: grid; gap: 0; }
.rom-quotes blockquote, .rom-content blockquote.wp-block-quote { margin: 0; padding: 1.4rem 0; border: 0; border-top: 1px solid var(--rule); }
.rom-quotes blockquote:first-child { border-top: 2px solid var(--ink); }
.rom-quotes blockquote p { font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 650; font-stretch: 88%; line-height: 1.25; margin: 0 0 0.6rem; max-width: 30em; }
.rom-quotes cite { font-style: normal; color: var(--muted); font-size: 1rem; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--paper); }
.price { padding: 1.75rem 1.6rem 1.9rem; display: flex; flex-direction: column; border-left: 2px solid var(--ink); }
.price:first-child { border-left: 0; }
.price--main { background: var(--brand); color: var(--paper); }
.price h3 { font-size: 1.5rem; font-stretch: 80%; font-weight: 800; }
.price__amt { margin: 0.7rem 0 0.2rem; font-size: 1rem; }
.price__amt b { font-size: 3.1rem; font-weight: 850; font-stretch: 72%; line-height: 1; letter-spacing: -0.01em; }
.price__desc { margin: 0.5rem 0 1rem; }
.price ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.price li { padding: 0.5rem 0; border-top: 1px solid var(--rule); font-size: 1rem; line-height: 1.4; }
.price--main li { border-top-color: rgba(255, 255, 255, 0.3); }
.price .btn { margin-top: auto; text-align: center; }
.price:not(.price--main) .btn { background: var(--paper); }
.price:not(.price--main) .btn:hover { background: var(--ink); }
.prices__custom { margin: 1.25rem 0 0; max-width: none !important; font-weight: 600; }
@media (max-width: 52rem) {
  .prices { grid-template-columns: minmax(0, 1fr); }
  .price { border-left: 0; border-top: 2px solid var(--ink); }
  .price:first-child { border-top: 0; }
}

/* Industry index */
.inds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.inds--flat { display: block; }
.inds__group--wide { grid-column: span 2; }
.inds__group--wide ul { columns: 2; column-gap: 2.5rem; }
.inds li { break-inside: avoid; }
@media (max-width: 60rem) { .inds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .inds { grid-template-columns: minmax(0, 1fr); } .inds__group--wide { grid-column: auto; } .inds__group--wide ul { columns: 1; } }
.inds__group h3 { border-bottom: 2px solid var(--ink); padding-bottom: 0.6rem; margin-bottom: 0.2rem; }
.inds ul { list-style: none; padding: 0; margin: 0; }
.inds--flat ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0 2rem; border-top: 2px solid var(--ink); }
.inds li a { display: block; padding: 0.62rem 0; border-bottom: 1px solid var(--rule); color: var(--ink); font-weight: 600; text-decoration: none; }
.inds li a:hover { color: var(--brand); text-decoration: underline; }

/* Client names */
.logos { padding: 1.5rem var(--edge); border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 2rem; }
.logos p { margin: 0; color: var(--muted); font-size: 1rem; max-width: none; }
.logos ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.9rem; margin: 0; padding: 0; }
.logos li { font-weight: 800; font-stretch: 78%; font-size: 1.2rem; color: var(--ink); }

/* Booking */
.booking { border: 2px solid var(--ink); border-radius: 8px; padding: 1.5rem; background: var(--paper); }
.booking iframe { width: 100%; min-height: 44rem; border: 0; }
.booking { scroll-margin-top: 1.5rem; }
.book-modal { border: 0; border-radius: 8px; padding: 0; width: min(58rem, calc(100vw - 1.5rem)); max-height: calc(100vh - 1.5rem); color: var(--ink); background: var(--paper); border-top: 6px solid var(--accent); }
.book-modal::backdrop { background: rgba(17, 43, 56, 0.72); }
.book-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--rule); position: sticky; top: 0; background: var(--paper); z-index: 1; }
.book-modal__head h2 { font-size: 1.5rem; }
.book-modal__close { font: inherit; font-weight: 700; font-size: 1rem; background: none; border: 2px solid var(--ink); border-radius: 6px; padding: 0.4rem 0.8rem; color: var(--ink); cursor: pointer; }
.book-modal__close:hover { background: var(--ink); color: var(--paper); }
.book-modal__body { padding: 0.75rem 1rem 1rem; }
.book-modal__body iframe { width: 100%; min-height: 42rem; border: 0; display: block; }
.booking__note { background: #fde7d0; padding: 0.8rem 1rem; border-radius: 6px; font-size: 1rem; }

/* CTA band */
.cta-band { background: var(--accent); color: var(--ink); padding: clamp(3rem, 6vw, 4.75rem) var(--edge); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; }
.cta-band h2 { max-width: 16em; }
.cta-band p { margin: 0.8rem 0 0; max-width: 38rem; font-size: 1.15rem; }
.cta-band .btn { background: var(--ink); color: var(--paper); font-size: 1.15rem; }
.cta-band .btn:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 48rem) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-footer { background: var(--ink); color: #d5dbf1; padding: clamp(3rem, 6vw, 4.5rem) var(--edge) 2rem; font-size: 1rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2.25rem 2rem; }
.footer__brand .brand { color: var(--paper); display: inline-block; margin-bottom: 0.9rem; }
.footer__brand .brand img { height: 34px; }
.footer__brand p { max-width: 20rem; }
.site-footer h2 { font-size: 1rem; font-stretch: 100%; font-weight: 700; color: var(--paper); margin-bottom: 0.7rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.22rem 0; }
.footer__base { margin-top: 2.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.2); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.95rem; }
.footer__base p { margin: 0; }
.footer__base span + span { margin-left: 1.25rem; }
@media (max-width: 60rem) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }

/* Blog and plain pages */
.entry { max-width: 46rem; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); }
.entry h2 { margin: 2.2rem 0 0.8rem; }
.entry h3 { margin: 1.8rem 0 0.5rem; }
.entry__meta { color: #c3d5dc; margin-top: 1rem; font-size: 1rem; }
.post-list { padding: clamp(2.5rem, 5vw, 4rem) var(--edge); }
.post-list article { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0.5rem 2rem; padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.post-list article:first-child { border-top: 2px solid var(--ink); }
.post-list h2 { font-size: 1.6rem; }
.post-list h2 a { color: var(--ink); }
.post-list p { margin: 0; }
.post-list time { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 0.4rem; }
.pagination { padding: 0 var(--edge) 3rem; }
@media (max-width: 40rem) { .post-list article { grid-template-columns: minmax(0, 1fr); } }

.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.5rem 0 0; }
.wp-block-image img { border-radius: 6px; }
.alignwide { max-width: var(--wrap) !important; }
.alignfull { max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }

.rom-content > .logos { max-width: none; margin: 0; padding: 1.5rem var(--edge); }
.rom-content > .logos:first-child { margin-top: 0; }

/* Client carousel */
.clients { padding: 2.25rem 0 2.5rem; border-bottom: 1px solid var(--rule); overflow: hidden; }
.rom-content > .clients { max-width: none; margin: 0; padding-left: 0; padding-right: 0; }
.rom-content > .clients:first-child { margin-top: 0; }
.clients__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 var(--edge); margin-bottom: 1.1rem; }
.clients__head h2 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
.clients__pause { font: inherit; font-size: 0.95rem; font-weight: 600; background: none; border: 1.5px solid var(--rule); border-radius: 6px; padding: 0.3rem 0.75rem; color: var(--muted); cursor: pointer; flex: none; }
.clients__pause:hover { border-color: var(--ink); color: var(--ink); }
.clients__row { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.clients__track { display: flex; flex: none; list-style: none; margin: 0; padding: 0; }
.clients__track li { flex: none; white-space: nowrap; padding: 0 1.5rem; margin: 0.5rem 0; font-size: 1.3rem; line-height: 1.3; font-weight: 800; font-stretch: 78%; color: var(--ink); border-left: 2px solid var(--accent); }
.clients__row--rev .clients__track li { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .clients__track { animation: clients-scroll var(--dur, 240s) linear infinite; }
  .clients__row--rev .clients__track { animation-direction: reverse; }
  .clients__row:hover .clients__track, .clients.is-paused .clients__track { animation-play-state: paused; }
  @keyframes clients-scroll { to { transform: translateX(-100%); } }
}
@media (prefers-reduced-motion: reduce) {
  .clients__row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .clients__track[aria-hidden] { display: none; }
  .clients__pause { display: none; }
}
@media (max-width: 40rem) { .clients__track li { font-size: 1.1rem; padding: 0 1rem; } }

/* Client feedback: display */
.fb__summary { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.3; margin: 0 0 0.4rem; }
.fb__summary strong { font-weight: 850; font-stretch: 80%; }
.fb__note { color: var(--muted); font-size: 1rem; margin: 0 0 1.5rem; }
.fb__list { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 2px solid var(--ink); }
.fb__item { padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.fb__stars { margin: 0 0 0.5rem; font-size: 1.15rem; letter-spacing: 0.08em; color: var(--accent); }
.fb__stars i { font-style: normal; color: var(--rule); }
.fb__score { font-size: 0.95rem; letter-spacing: 0; color: var(--muted); margin-left: 0.4rem; }
.fb blockquote { margin: 0 0 0.7rem; padding: 0; border: 0; }
.fb blockquote p { font-size: 1.2rem; line-height: 1.45; font-weight: 550; margin: 0 0 0.5rem; }
.fb__who { margin: 0; font-size: 1rem; }
.fb__who time { color: var(--muted); margin-left: 0.6rem; }

/* Client feedback: check-in form */
.fbf-wrap { display: grid; grid-template-columns: minmax(0, 42rem) minmax(0, 19rem); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: start; }
.fbf-aside { position: sticky; top: 1.5rem; border-top: 4px solid var(--accent); padding-top: 1rem; }
.fbf-aside h2 { font-size: 1.35rem; margin-bottom: 0.8rem; }
.fbf-aside ul { list-style: none; margin: 0; padding: 0; }
.fbf-aside li { padding: 0.85rem 0; border-top: 1px solid var(--rule); font-size: 1rem; line-height: 1.45; }
.fbf-aside li strong { display: block; }
@media (max-width: 60rem) { .fbf-wrap { grid-template-columns: minmax(0, 1fr); } .fbf-aside { position: static; order: -1; } }
.fbf--note { border: 2px solid var(--ink); border-radius: 8px; padding: 1.5rem; max-width: 42rem; }
.fbf--note h2 { margin-bottom: 0.5rem; }
.fbf--note p { margin: 0; }
.fbf__hp { position: absolute; left: -9999px; }
.fbf__for { font-size: 1.15rem; margin: 0 0 1.75rem; }
.fbf__error { background: #fde7d0; border-left: 4px solid var(--accent); padding: 0.75rem 1rem; font-weight: 600; }
.fbf p { margin: 0 0 1.25rem; max-width: none; }
.fbf__group { border-top: 2px solid var(--ink); padding: 1.4rem 0 0.6rem; }
.fbf__h { font-size: 1.5rem; margin: 0 0 1.1rem; }
.fbf__q { padding: 0 0 1.4rem; }
.fbf__qhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.35rem 1rem; margin-bottom: 0.55rem; }
.fbf__label, .fbf label[for] { display: block; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.35rem; }
.fbf__label { margin: 0; }
.fbf__hint { display: block; color: var(--muted); font-size: 0.95rem; margin-bottom: 0.45rem; }
.fbf textarea, .fbf input[type="text"], .fbf input[type="tel"], .fbf select { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--muted); border-radius: 6px; padding: 0.65rem 0.8rem; }
.fbf textarea:focus, .fbf input:focus, .fbf select:focus { border-color: var(--ink); }
.fbf input[type="text"], .fbf select { min-height: 3.05rem; }
.fbf textarea::placeholder { color: var(--muted); opacity: 1; }
.fbf__hires select { max-width: 14rem; }
.fbf__file input[type="file"] { display: block; width: 100%; font: inherit; font-size: 1rem; color: var(--ink); border: 1.5px dashed var(--muted); border-radius: 6px; padding: 0.9rem; background: var(--wash); cursor: pointer; }
.fbf__file input[type="file"]::file-selector-button { font: inherit; font-weight: 700; margin-right: 0.9rem; padding: 0.45rem 0.9rem; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); color: var(--ink); cursor: pointer; }
.fbf__fileerr { display: block; margin-top: 0.6rem; }
.fbf__fileerr[hidden] { display: none; }
.fbf__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
@media (max-width: 30rem) { .fbf__pair { grid-template-columns: minmax(0, 1fr); } }
.stars { display: inline-flex; align-items: center; gap: 0.1rem; }
.stars label { position: relative; display: block; margin: 0; padding: 0.2rem; line-height: 0; cursor: pointer; border-radius: 6px; }
.stars input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.stars svg { width: 2.3rem; height: 2.3rem; fill: var(--rule); transition: fill 0.12s ease, transform 0.12s ease; }
.stars label:has(input:checked) svg, .stars label:has(~ label input:checked) svg,
.stars[data-v="1"] label:nth-of-type(-n+1) svg, .stars[data-v="2"] label:nth-of-type(-n+2) svg, .stars[data-v="3"] label:nth-of-type(-n+3) svg, .stars[data-v="4"] label:nth-of-type(-n+4) svg, .stars[data-v="5"] label svg { fill: var(--accent); }
.stars label:hover svg { transform: scale(1.12); }
.stars label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 1px; }
.stars__val { min-width: 3.2rem; margin-left: 0.6rem; font-weight: 700; font-size: 1rem; color: var(--muted); line-height: 1; }
.fbf__overall { background: var(--wash); border-top: 0; border-left: 6px solid var(--accent); border-radius: 0 8px 8px 0; padding: 1.4rem 1.4rem 1.5rem; margin: 0.4rem 0 1.6rem; }
.fbf__overall .fbf__h { font-size: 1.35rem; margin-bottom: 0.7rem; }
.fbf__overall .stars svg { width: 3rem; height: 3rem; }
.fbf__overall .stars svg { fill: #c3ced4; }
.fbf__overall .stars label:has(input:checked) svg, .fbf__overall .stars label:has(~ label input:checked) svg,
.fbf__overall .stars[data-v="1"] label:nth-of-type(-n+1) svg, .fbf__overall .stars[data-v="2"] label:nth-of-type(-n+2) svg, .fbf__overall .stars[data-v="3"] label:nth-of-type(-n+3) svg, .fbf__overall .stars[data-v="4"] label:nth-of-type(-n+4) svg, .fbf__overall .stars[data-v="5"] label svg { fill: var(--accent); }
.fbf__consent { border-top: 2px solid var(--ink); padding-top: 1.3rem; }
.fbf__consent label { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400; font-size: 1rem; cursor: pointer; }
.fbf__consent input { width: 1.35rem; height: 1.35rem; margin: 0.15rem 0 0; flex: none; accent-color: var(--brand); }
.fbf .btn { font-size: 1.15rem; padding: 0.95em 2.2em; }

/* Client feedback: category averages and item details */
.fb__cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0; margin: 1rem 0 0.9rem; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); max-width: 44rem; }
.fb__cats div { padding: 0.8rem 1rem 0.8rem 0; }
.fb__cats dt { font-size: 0.95rem; color: var(--muted); }
.fb__cats dd { margin: 0; font-size: 1.9rem; font-weight: 850; font-stretch: 78%; line-height: 1.1; }
.fb__hired { margin-left: 0.8rem; font-size: 0.95rem; letter-spacing: 0; font-weight: 700; color: var(--green); }
.fb__detail { margin: 0.3rem 0 0; font-size: 0.95rem; color: var(--muted); }
.fb__where { margin: 0.25rem 0 0; font-size: 1rem; }
.fb__media { margin: 0 0 0.9rem; max-width: 34rem; }
.fb__media img, .fb__media video { display: block; width: 100%; height: auto; border-radius: 6px; background: var(--ink); }
