/*
Theme Name: Rhyme&Reason
Theme URI: https://www.reason.gr/
Author: Rhyme&Reason Language Services
Description: Lean block theme for reason.gr. Brand palette only, Didact Gothic body, Source Serif 4 headings, self-hosted fonts, no page builder.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 0.6.9
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rhyme-reason
*/

/* Links keep ink text and carry the brand signal in an orange underline (contrast rule 3). */
a { text-decoration-color: #179353; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
a:hover, a:focus-visible { text-decoration-color: #0c1011; }
:focus-visible { outline: 3px solid #db5224; outline-offset: 3px; }

/* Header and navigation */
.rr-header { border-bottom: 1px solid #e0dede; }
.rr-header .wp-block-navigation a { text-decoration: none; }
.rr-header .wp-block-navigation a:hover { text-decoration: underline; text-decoration-color: #179353; }
.rr-brand-sub { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }

/* Section furniture */
.rr-rule { border-top: 1px solid #0c1011; }
.rr-hairline { border-top: 1px solid #e0dede; }
.rr-label { font-size: 16px; padding-top: 0.4em; }
.rr-amber-rule { border-top: 6px solid #f6ad47; }

/* Numbers row */
.rr-numeral { font-family: var(--wp--preset--font-family--serif); font-weight: 300; font-size: var(--wp--preset--font-size--numeral); line-height: 1; color: #179353; margin: 0; }

/* Services index */
.rr-index > .wp-block-columns { margin: 0 !important; padding: 22px 0; border-top: 1px solid #e0dede; align-items: baseline; }
.rr-index > .wp-block-columns:first-child { border-top-color: #0c1011; }
.rr-index > .wp-block-columns:last-child { border-bottom: 1px solid #e0dede; }
.rr-index h3 { margin: 0; }

.rr-index h3 a:hover { text-decoration: underline; text-decoration-color: #179353; }

/* Photo strip: staggered on wide screens, a swipe row on phones */
.rr-strip { display: grid; grid-template-columns: 42fr 31fr 27fr; gap: 20px; align-items: start; }
.rr-strip figure { margin: 0; min-width: 0; }
.rr-strip img { display: block; width: 100%; height: auto; object-fit: cover; }
.rr-strip figcaption { font-size: 14px; margin-top: 10px; }
.rr-strip .rr-s1 { margin-top: 10%; } .rr-strip .rr-s1 img { aspect-ratio: 2 / 3; }
.rr-strip .rr-s2 img { aspect-ratio: 4 / 3; }
.rr-strip .rr-s3 { margin-top: 8%; } .rr-strip .rr-s3 img { aspect-ratio: 7 / 5; }
.rr-strip .rr-s4 { margin-top: 22%; } .rr-strip .rr-s4 img { aspect-ratio: 3 / 2; }
@media (max-width: 781px) {
  .rr-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .rr-strip figure { flex: 0 0 auto; scroll-snap-align: start; margin-top: 0 !important; }
  .rr-strip .rr-s1, .rr-strip .rr-s2, .rr-strip .rr-s3, .rr-strip .rr-s4 { width: 80%; }
  .rr-strip .rr-s1 img, .rr-strip .rr-s2 img, .rr-strip .rr-s3 img, .rr-strip .rr-s4 img { aspect-ratio: 4 / 3; }
  .rr-numbers { gap: 16px; }
  .rr-numbers .rr-numeral { font-size: 36px; white-space: nowrap; }
  .rr-numbers p:not(.rr-numeral) { font-size: 14px; line-height: 1.35; }
}

/* Dictionary covers: small proof, never a feature */
.rr-covers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 360px; }
.rr-covers img { display: block; width: 100%; height: auto; aspect-ratio: 420 / 593; object-fit: cover; }

/* The quote in Expert-at-the-Core never uses a synthesised italic */
.rr-quote { font-family: var(--wp--preset--font-family--serif); font-weight: 300; font-size: clamp(32px, 4vw, 56px); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }

h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Sectors as a three-column link list */
.rr-sectors { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
@media (max-width: 781px) { .rr-sectors { grid-template-columns: 1fr; } }

.rr-sectors a:hover, .rr-sectors a:focus-visible { text-decoration: underline; text-decoration-color: #179353; }

/* Two audiences, two doors */
.rr-paths { gap: 40px; }
.rr-path { border-top: 1px solid #0c1011; padding-top: 22px; }
.rr-path h3 { margin-top: 0; font-size: clamp(26px, 2.6vw, 32px); }

/* Breadcrumbs */
.rr-crumbs { margin: 0 auto; padding-top: 28px; font-size: 14px; }
.rr-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rr-crumbs li + li::before { content: "/"; margin-right: 6px; color: #0c1011; }


/* Closing call to action: inset from the page gutters */
.rr-cta-wrap { padding: var(--wp--preset--spacing--60) clamp(20px, 4.5vw, 64px) 0; max-width: 1440px; margin: 0 auto; box-sizing: border-box; }

/* Inner pages */
.rr-intro { padding-top: var(--wp--preset--spacing--50); padding-bottom: var(--wp--preset--spacing--40); }
.rr-intro h1 { font-size: clamp(38px, 5.2vw, 72px); max-width: 22ch; margin: 0; }
.rr-intro .rr-lede { font-size: var(--wp--preset--font-size--large); line-height: 1.45; margin-top: var(--wp--preset--spacing--40); }
.rr-section { padding-top: var(--wp--preset--spacing--50); }
.rr-section > .wp-block-column:last-child > :first-child { margin-top: 0; }
.rr-section .rr-label { position: sticky; top: 24px; }
.rr-body { max-width: 68ch; }
.rr-body h3 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.6em; }
.rr-rows > .wp-block-columns { margin: 0 !important; padding: 20px 0; border-top: 1px solid #e0dede; align-items: baseline; }
.rr-rows > .wp-block-columns:first-child { border-top-color: #0c1011; }
.rr-rows > .wp-block-columns:last-child { border-bottom: 1px solid #e0dede; }
.rr-rows h3 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); }

.rr-rows h3 a:hover, .rr-rows h3 a:focus-visible { text-decoration: underline; text-decoration-color: #179353; }
.rr-rows p { margin: 0; }
.rr-rows p + p { margin-top: .75em; }
.rr-steps { list-style: none; counter-reset: rr; padding: 0; margin: 0; }
.rr-steps > li { counter-increment: rr; position: relative; padding: 18px 0 18px 64px; border-top: 1px solid #e0dede; }
.rr-steps > li:last-child { border-bottom: 1px solid #e0dede; }
.rr-steps > li::before { content: counter(rr); position: absolute; left: 0; top: 14px; font-family: var(--wp--preset--font-family--serif); font-weight: 300; font-size: 40px; line-height: 1; color: #179353; }
.rr-note { background: #e0dede; padding: 24px 28px; max-width: 68ch; }
.rr-note p { margin: 0; }
.rr-note p + p { margin-top: 0.8em; }
.rr-clients { font-size: 16px; }
.rr-faq { border-top: 1px solid #e0dede; padding: 18px 0; max-width: 68ch; }
.rr-faq:last-of-type { border-bottom: 1px solid #e0dede; }
.rr-faq summary { cursor: pointer; font-family: var(--wp--preset--font-family--serif); font-size: clamp(20px, 2vw, 24px); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.rr-faq summary::-webkit-details-marker { display: none; }
.rr-faq summary::after { content: "+"; color: #db5224; font-family: var(--wp--preset--font-family--body); }
.rr-faq[open] summary::after { content: "\2212"; }
.rr-faq > :not(summary) { margin-top: 12px; }
.rr-linklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
@media (max-width: 781px) { .rr-linklist { grid-template-columns: 1fr; } }

/* Phones: a call-to-action bar that stays reachable */
.rr-mobilebar { display: none; }
@media (max-width: 781px) {
  .rr-mobilebar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #0c1011; }
  .rr-mobilebar a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 52px; color: #ffffff; text-decoration: none; font-size: 16px; }
  .rr-mobilebar a + a { border-left: 1px solid #ffffff33; }
  .rr-mobilebar a.rr-mb-quote { background: #179353; color: #0c1011; }
  body { padding-bottom: 52px; }
  .rr-section .rr-label { position: static; }
}
.rr-subpos { font-size: 16px; margin-top: 8px; }
@media (max-width: 781px) {
  .rr-header .wp-block-buttons { display: none; }
  .rr-intro .wp-block-column:empty, .wp-block-column:empty { display: none; }
}
.rr-nowrap { white-space: nowrap; }

/* Quote form (preview and Forminator share these rules) */
.rr-form { max-width: 560px; }
.rr-form .rr-field { margin: 0 0 18px; display: flex; flex-direction: column; gap: 6px; }
.rr-form label { font-size: 16px; }
.rr-form .rr-optional, .rr-form .rr-help, .rr-form-note { font-size: 14px; }
.rr-form input[type=text], .rr-form input[type=email], .rr-form input[type=tel], .rr-form input[type=date], .rr-form select, .rr-form textarea { font: inherit; font-size: 17px; color: #0c1011; background: #ffffff; border: 1px solid #0c1011; border-radius: 0; padding: 12px 14px; min-height: 48px; box-sizing: border-box; width: 100%; }
.rr-form input[type=file] { font: inherit; font-size: 15px; min-height: 44px; }
.rr-form .rr-check { flex-direction: row; align-items: flex-start; gap: 12px; }
.rr-form .rr-check input { width: 24px; height: 24px; margin-top: 3px; flex: 0 0 auto; accent-color: #179353; }
.rr-form button { min-height: 52px; font-size: 17px; border: 0; cursor: pointer; }
.rr-form fieldset { border: 0; margin: 0 0 8px; padding: 0; min-width: 0; }
.rr-form fieldset.rr-when { border-left: 4px solid #179353; padding: 4px 0 2px 16px; margin: 0 0 18px; }
.rr-form legend { font-size: 16px; padding: 0; margin: 0 0 12px; font-weight: 600; }
.rr-form fieldset.rr-radio legend { font-weight: 400; margin-bottom: 8px; }
.rr-form fieldset.rr-radio .rr-field { margin-bottom: 10px; }
.rr-form input[type=number] { font: inherit; font-size: 17px; color: #0c1011; background: #ffffff; border: 1px solid #0c1011; border-radius: 0; padding: 12px 14px; min-height: 48px; box-sizing: border-box; width: 100%; }
.rr-form input[type=radio] { width: 24px; height: 24px; margin-top: 1px; flex: 0 0 auto; accent-color: #179353; }
.rr-form [hidden] { display: none !important; }
.rr-no-cta .rr-cta-wrap { display: none; }
.rr-pay { background: #ffffff; border: 1px solid #0c1011; padding: 18px 20px; max-width: 560px; }
.rr-pay-heading { margin: 0 0 10px; font-weight: 600; }
.rr-pay dl { margin: 0; display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 6px 16px; }
.rr-pay dt { color: #51585a; }
.rr-pay dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .rr-pay dl { grid-template-columns: 1fr; } .rr-pay dd { margin-bottom: 8px; } }
.rr-aside-title { font-family: var(--wp--preset--font-family--body); font-size: 16px; font-weight: 400; letter-spacing: 0; margin-top: 0; }
.rr-aside-title ~ .rr-aside-title { margin-top: 32px; }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 400px) { .rr-intro h1 { font-size: 34px; } }
.rr-form input:focus-visible, .rr-form select:focus-visible, .rr-form textarea:focus-visible, .rr-form button:focus-visible { outline: 3px solid #db5224; outline-offset: 2px; }
.rr-form input:focus, .rr-form select:focus, .rr-form textarea:focus { outline: 3px solid #db5224; outline-offset: 2px; }

/* Current offers: text, not pictures, so they can change in one request */
.rr-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.rr-offer { background: #e0dede; padding: 28px 28px 24px; display: flex; flex-direction: column; border-top: 6px solid #179353; }
.rr-offer:first-child { background: #f6ad47; border-top-color: #0c1011; }
.rr-offer-audience { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0; }
.rr-offer-title { font-size: clamp(22px, 2vw, 26px); margin: 12px 0 0; }
.rr-offer-figure { margin: 20px 0 0; line-height: 1.1; }
.rr-offer-num { display: block; font-family: var(--wp--preset--font-family--serif); font-weight: 300; font-size: clamp(44px, 4.4vw, 60px); letter-spacing: -0.02em; }
.rr-offer-label { font-size: 16px; }
.rr-offer-detail { font-size: 16px; margin: 18px 0 0; }
.rr-offer-terms { font-size: 14px; margin: 16px 0 0; padding-left: 18px; }
.rr-offer-terms li + li { margin-top: 4px; }
.rr-offer-until { font-size: 14px; font-weight: 700; margin: 16px 0 0; }
.rr-offer-cta { margin: auto 0 0; padding-top: 20px; }
.rr-photo { margin: 0; } .rr-photo img { display: block; width: 100%; height: auto; }

/* Client testimonials: real, attributed, quoted as given */
.rr-testimonial { margin: 0; padding: 20px 0 0; border-top: 1px solid #0c1011; border-left: 0; }
.rr-testimonial p { font-family: var(--wp--preset--font-family--serif); font-weight: 300; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.4; margin: 0; }
.rr-testimonial cite { display: block; font-style: normal; font-size: 14px; margin-top: 14px; }
.rr-testimonials { gap: 32px; }

/* ---------- More edge on long pages ---------- */
/* Section numbers: green serif numerals above each section label on inner pages */
.rr-page .wp-block-post-content { counter-reset: rrsec; }
.rr-page .rr-section > .wp-block-column:first-child .rr-label::before,
.rr-page .rr-band .rr-label::before { counter-increment: rrsec; content: counter(rrsec, decimal-leading-zero); display: block; font-family: var(--wp--preset--font-family--serif); font-weight: 300; font-size: clamp(36px, 3.4vw, 48px); line-height: 1; color: #179353; margin-bottom: 10px; letter-spacing: -0.02em; }
.rr-page .rr-band-ink .rr-label::before { color: #92d2db; }
.rr-label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px !important; }

/* Pull quotes */
.rr-pull { font-family: var(--wp--preset--font-family--serif); font-weight: 300; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -0.015em; border-left: 6px solid #f6ad47; padding-left: 24px; margin: 40px 0 !important; max-width: 26ch; text-wrap: balance; }

/* Photo bands */
.rr-photo-band { margin: var(--wp--preset--spacing--50) auto 0; }
.rr-photo-band img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; }
.rr-photo-band.rr-photo-tall img { aspect-ratio: 16 / 9; }
.rr-photo-band figcaption { font-size: 14px; margin-top: 10px; }
@media (max-width: 781px) { .rr-photo-band img { aspect-ratio: 4 / 3; } }

/* Key figures */
.rr-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; border-top: 1px solid #0c1011; padding-top: 20px; margin-top: var(--wp--preset--spacing--50) !important; }
.rr-fig-num { display: block; font-family: var(--wp--preset--font-family--serif); font-weight: 300; font-size: clamp(48px, 5.6vw, 84px); line-height: 1; color: #179353; letter-spacing: -0.02em; }
.rr-fig-label { display: block; font-size: 15px; margin-top: 10px; max-width: 22ch; }

/* Bands */
.rr-band { margin-top: var(--wp--preset--spacing--60) !important; padding: clamp(28px, 4vw, 64px) clamp(20px, 4vw, 56px); }
.rr-band-ink { background: #0c1011; color: #ffffff; }
.rr-band-ink a { color: #ffffff; text-decoration-color: #179353; }
.rr-band-ink a:hover, .rr-band-ink a:focus-visible { text-decoration-color: #92d2db; }
.rr-band-ink :focus-visible { outline-color: #f6ad47; }
.rr-band-amber { background: #f6ad47; color: #0c1011; }
.rr-band .rr-body li + li { margin-top: 10px; }

/* Expert-at-the-Core diagrams */
.rr-ladder { list-style: none; margin: 0; padding: 0; }
.rr-ladder li { display: grid; grid-template-columns: 72px 1fr; gap: 6px 20px; align-items: center; padding: 14px 0; border-top: 1px solid #e0dede; }
.rr-ladder li:last-child { border-bottom: 1px solid #e0dede; }
.rr-ladder .rr-lv { font-family: var(--wp--preset--font-family--serif); font-weight: 300; font-size: 40px; line-height: 1; }
.rr-ladder .rr-lv-name { font-size: 16px; }
.rr-ladder .rr-meter { grid-column: 2; display: flex; height: 14px; background: #e0dede; }
.rr-ladder .rr-meter span { display: block; height: 100%; background: #179353; }
.rr-ladder-key { font-size: 14px; display: flex; gap: 20px; flex-wrap: wrap; margin-top: 12px; }
.rr-ladder-key i { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; }
.rr-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 781px) { .rr-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rr-tier { border-top: 10px solid; padding-top: 12px; }
.rr-tier-c4 { border-color: #db5224; } .rr-tier-c3 { border-color: #f6ad47; } .rr-tier-c2 { border-color: #179353; } .rr-tier-c1 { border-color: #92d2db; }
.rr-tier b { display: block; font-family: var(--wp--preset--font-family--serif); font-weight: 400; font-size: 28px; }
.rr-tier span { display: block; font-size: 15px; margin-top: 4px; }
.rr-tier em { display: block; font-style: normal; font-size: 14px; margin-top: 8px; }
.rr-ladder li { grid-template-columns: 72px 1fr auto; }
.rr-pill { font-size: 13px; padding: 5px 10px; white-space: nowrap; color: #0c1011; }
.rr-pill-full { background: #179353; } .rr-pill-fit { background: #f6ad47; } .rr-pill-sample { background: #e0dede; }
@media (max-width: 781px) { .rr-ladder li { grid-template-columns: 56px 1fr; } .rr-pill { grid-column: 2; justify-self: start; } }
.rr-spec { border-top: 0; margin-top: 20px; }
.rr-spec summary { font-family: var(--wp--preset--font-family--body); font-size: 16px; }

/* Google rating */
.rr-rating { display: flex; align-items: center; gap: 10px; font-size: 16px; margin: 0 0 24px; }
.rr-rating .rr-star { fill: #f6ad47; stroke: #0c1011; stroke-width: 1; flex: 0 0 auto; }


/* Motion (16-09-2026): a quiet entrance for the homepage numbers, and the
   assistance ladder drawing itself in. Nothing moves for anyone who has
   reduced motion switched on, and nothing is hidden without JavaScript. */
@media (prefers-reduced-motion: no-preference) {
  .rr-numbers > .wp-block-column { animation: rr-rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .rr-numbers > .wp-block-column:nth-child(2) { animation-delay: .15s; }
  .rr-numbers > .wp-block-column:nth-child(3) { animation-delay: .3s; }
  @keyframes rr-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .rr-ladder li { position: relative; }
  .rr-ladder li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: #0c1011; transform-origin: left center; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
  .rr-ladder .rr-pill { transition: clip-path .6s cubic-bezier(.2,.7,.2,1) .25s; clip-path: inset(0 0 0 0); }
  .rr-js .rr-ladder:not(.is-drawn) li::before { transform: scaleX(0); }
  .rr-js .rr-ladder:not(.is-drawn) .rr-pill { clip-path: inset(0 100% 0 0); }
  .rr-ladder li:nth-child(2)::before, .rr-ladder li:nth-child(2) .rr-pill { transition-delay: .12s; }
  .rr-ladder li:nth-child(3)::before, .rr-ladder li:nth-child(3) .rr-pill { transition-delay: .24s; }
  .rr-ladder li:nth-child(4)::before, .rr-ladder li:nth-child(4) .rr-pill { transition-delay: .36s; }
  .rr-ladder li:nth-child(5)::before, .rr-ladder li:nth-child(5) .rr-pill { transition-delay: .48s; }
}
@media print { .rr-js .rr-ladder .rr-pill { clip-path: none; } .rr-ladder li::before { transform: none; } }
.rr-social { margin-top: 12px; }
/* Portfolio covers (17-09-2026) */
.rr-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 20px 16px; align-items: end; margin-block: 32px; }
.rr-shelf figure { margin: 0; }
.rr-shelf img { display: block; width: 100%; height: auto; box-shadow: 0 10px 18px -12px #0c101199; outline: 1px solid #0c101114; outline-offset: -1px; }
@media (max-width: 480px) { .rr-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; } }
/* Rate tables on private price-list pages (17-09-2026) */
.rr-rates-wrap { overflow-x: auto; margin-block: 16px; }
.rr-rates { border-collapse: collapse; width: 100%; max-width: 640px; font-variant-numeric: tabular-nums; }
.rr-rates caption { text-align: left; font-size: 14px; padding-bottom: 8px; color: #0c1011; }
.rr-rates th, .rr-rates td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid #e0dede; font-weight: 400; }
.rr-rates thead th { border-bottom: 2px solid #0c1011; font-size: 14px; }
.rr-rates td { text-align: right; white-space: nowrap; }
.rr-rates-more { margin-block: 16px; }
.rr-rates-more summary { cursor: pointer; font-weight: 400; padding: 10px 0; border-top: 1px solid #0c1011; min-height: 44px; }
.rr-rates-more summary:focus-visible { outline: 3px solid #db5224; outline-offset: 2px; }
.rr-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-block: 32px; }
.rr-pair figure { margin: 0; }
.rr-pair img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.rr-pair figcaption { font-size: 14px; margin-top: 8px; }
@media (max-width: 600px) { .rr-pair { grid-template-columns: 1fr; } }

/* Hero headline (20-10-2026): the buyer's sentence is the h1, so it runs smaller than a slogan would. */
.rr-hero-title { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.08; max-width: 22ch; text-wrap: balance; }
.wp-block-column > .rr-rating { margin-top: 20px; }

/* Get a quote inside the phone menu (20-10-2026): hidden in the desktop bar, which has its own button. */
.rr-header .wp-block-navigation .rr-nav-quote { display: none; }
.rr-header .wp-block-navigation__responsive-container.is-menu-open .rr-nav-quote { display: block; margin-top: 16px; }
.rr-header .wp-block-navigation__responsive-container.is-menu-open .rr-nav-quote a { background: #179353; color: #0c1011; padding: 14px 24px; text-decoration: none; }
.rr-header .wp-block-navigation__responsive-container.is-menu-open .rr-nav-quote a:hover { background: #0c1011; color: #fff; text-decoration: none; }

/* Current English content integration */
.rr-table-scroll{overflow:auto;max-width:100%}.rr-table-scroll table{border-collapse:collapse;width:100%}.rr-table-scroll th,.rr-table-scroll td{text-align:left;padding:.6rem;border-bottom:1px solid #c8d2ca}.rr-source-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:24px}.rr-source-gallery figure{margin:0}.rr-source-gallery img{max-width:100%;height:auto;object-fit:contain}.rr-source-gallery .rr-photo-band{grid-column:1/-1}

/* Preserve comfortable footer targets and avoid a competing CTA on the quote form. */
footer .rr-hairline a { display:inline-flex; align-items:center; min-height:24px; }
body.page-template-page-form .rr-mobilebar { display:none; }

/* Homepage layout requested in the PDF review, 2 November 2026. */
.rr-home-lede{display:flex;align-items:baseline;justify-content:space-between;gap:24px;flex-wrap:wrap}
.rr-intro .rr-home-lede .rr-lede{margin:0;font-size:clamp(24px,2vw,30px)}
.rr-home-rating{margin:0;white-space:nowrap}
.rr-home-actions .wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.rr-home-actions .wp-block-button__link{font-size:18px;padding:14px 18px;white-space:normal}
@media(max-width:780px){.rr-home-lede{gap:12px}.rr-home-actions .wp-block-buttons{gap:12px}}

/* Second annotated homepage review: equal image frames and aligned actions. */
.rr-home-gallery img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.rr-home-gallery figcaption{margin-top:12px}
@media(min-width:782px){
.rr-home-choices>.wp-block-column{display:flex;flex-direction:column}
.rr-home-choices>.wp-block-column>.wp-block-buttons,.rr-home-choices>.wp-block-column>.rr-home-actions{margin-top:auto;padding-top:16px}
.rr-home-actions .wp-block-buttons{margin:0}
.rr-home-choices .wp-block-button__link{font-size:18px;padding:14px 18px}
}

.rr-client-panel{background:#edf5ef;border-left:5px solid #179353;padding:clamp(24px,3vw,40px);margin-top:40px!important}.rr-client-panel h3{font-size:clamp(28px,2.5vw,36px);margin-top:0}.rr-client-panel p{font-size:clamp(21px,1.7vw,25px);line-height:1.6}

/* Matching gallery frames, with the speaker kept in view. */
.rr-home-gallery > figure{margin:0!important;min-width:0;align-self:start}
.rr-home-gallery img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.rr-home-gallery .rr-gallery-speaker img{object-position:center top}
.rr-ltp-emily img{filter:contrast(1.14) saturate(1.06)}

/* Full English audit: direct choices and readable long pages. */
.rr-label[id]{scroll-margin-top:24px}
.rr-card-section .rr-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.rr-card-section .rr-body>.rr-rows{margin:0;padding:20px;border:1px solid #d5ded7;border-top:3px solid #179353}
.rr-card-section .rr-rows>.wp-block-columns{display:block;margin:0}
.rr-card-section .rr-rows h3{font-size:28px;margin:0 0 12px}
.rr-card-section .rr-rows p{font-size:20px;line-height:1.5;margin:0}
.rr-card-section .rr-rows .wp-block-column{margin:0}
.rr-sector-section .rr-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px}
.rr-sector-section .rr-body>p{margin:0;font-size:20px}
.rr-sector-section .rr-body>p>a{display:block;padding:10px 0}
.rr-sector-section .rr-client-panel{grid-column:1/-1}
.rr-portfolio-section .rr-rows{padding-block:14px}.rr-portfolio-section .rr-rows h3{font-size:25px}
.rr-table-scroll table{font-size:18px}.rr-table-scroll tbody tr:nth-child(even){background:#f4f7f4}
.rr-table-scroll th,.rr-table-scroll td{vertical-align:top}
@media(max-width:1100px) and (min-width:782px){.rr-header .wp-block-navigation{font-size:15px;gap:12px}.rr-header>div:last-child{gap:16px}}
@media(max-width:781px){.rr-card-section .rr-body,.rr-sector-section .rr-body{grid-template-columns:1fr}.rr-card-section .rr-rows h3{font-size:26px}}

.rr-card-section .rr-rows>.wp-block-columns{border:0;padding:0}.rr-card-section .rr-rows>.wp-block-columns:last-child{border:0}
.rr-tools-links{display:flex;justify-content:center;flex-wrap:wrap;gap:16px;padding:20px 20px 80px}
.rr-tools-links button,.rr-tool-actions button,.rr-map button,.rr-access-button{font:inherit;font-size:17px;background:#fff;color:#0c1011;border:2px solid #0c1011;padding:12px 18px;min-height:44px;cursor:pointer;border-radius:3px}
.rr-tool-actions{display:flex;flex-wrap:wrap;gap:12px}.rr-tool-actions button{flex:1 1 auto}
.rr-cookie-banner{position:fixed;z-index:10000;bottom:0;left:0;right:0;background:#fff;color:#0c1011;border-top:3px solid #179353;padding:20px clamp(20px,4vw,64px);box-shadow:0 -4px 20px #0002;max-height:65vh;overflow:auto}
.rr-cookie-banner[hidden]{display:none}.rr-cookie-banner p{font-size:17px;line-height:1.5;margin:0 0 12px}
.rr-access-button{position:fixed;bottom:80px;left:16px;z-index:999;background:#0c1011;color:#fff;font-size:15px}
#rr-consent-dialog,#rr-access-dialog{max-width:560px;width:calc(100% - 40px);max-height:85vh;box-sizing:border-box;padding:28px;border:2px solid #179353;border-radius:4px;background:#fff;color:#0c1011;overflow:auto}
#rr-consent-dialog::backdrop,#rr-access-dialog::backdrop{background:#0008}
#rr-consent-dialog h2,#rr-access-dialog h2{font-size:30px;margin:0 0 16px}
#rr-consent-dialog p,#rr-access-dialog p{font-size:17px;line-height:1.5}
#rr-consent-dialog label,#rr-access-dialog label{display:flex;align-items:flex-start;gap:12px;margin:18px 0;font-size:18px;line-height:1.5}
#rr-consent-dialog input,#rr-access-dialog input{width:22px;height:22px;flex-shrink:0;margin-top:3px;accent-color:#179353}
.rr-map{background:#f4f7f4;border:1px solid #d5ded7;padding:24px;margin-top:24px}.rr-map p{font-size:18px}.rr-map iframe{display:block;width:100%;height:350px;border:0;margin-top:20px}
.rr-pref-larger main p,.rr-pref-larger main li,.rr-pref-larger main td,.rr-pref-larger main th,.rr-pref-larger main label{font-size:24px!important;line-height:1.8!important}
.rr-pref-links a{text-decoration:underline!important;text-decoration-thickness:2px!important}
.rr-pref-contrast body,.rr-pref-contrast body *:not(img):not(svg):not(path):not(iframe){background-color:#fff!important;color:#000!important;border-color:#000!important;text-shadow:none!important;box-shadow:none!important}
.rr-pref-contrast a{text-decoration:underline!important;text-decoration-color:#000!important}
.rr-pref-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Homepage Expert-at-the-Core line under the opening (restored 10-11-2026) */
.rr-eatc-line { max-width: 62ch; margin-top: 1.25rem; }

/* 0.6.1 (19-11-2026): the header stays at the top on phones, so the menu is always one tap away */
@media (max-width: 781px) { .rr-header { position: sticky; top: 0; z-index: 60; background: #ffffff; } body.admin-bar .rr-header { top: 46px; } }

/* 0.6.1 (25-11-2026): Plan your translation, /plan/ */
.rr-planner-progress { font-size: 15px; margin: 0 0 12px; }
.rr-planner legend { font-family: var(--wp--preset--font-family--serif, serif); font-size: 24px; line-height: 1.3; font-weight: 400; }
.rr-planner legend:focus { outline: none; }
.rr-planner-error { color: #b3261e; font-size: 15px; min-height: 1em; margin: 0 0 8px; }
.rr-planner-error:empty { display: none; }
.rr-planner-nav { flex-direction: row !important; gap: 16px !important; align-items: center; }
.rr-planner .rr-planner-back { font: inherit; font-size: 17px; min-height: 52px; padding: 0 20px; background: #ffffff; color: #0c1011; border: 1px solid #0c1011; cursor: pointer; }
.rr-planner .rr-planner-back:focus-visible { outline: 3px solid #db5224; outline-offset: 2px; }
.rr-planner-result { max-width: 720px; }
.rr-planner-result:focus { outline: none; }
.rr-planner-result h3 { font-size: 20px; margin: 28px 0 8px; }
.rr-newsletter { margin-top: 8px; }
.rr-photo-band.rr-photo-top img { object-position: 50% 12%; }

/* 01-12-2026 (Emily 10a): one underline style for every inline link; even sector rows; Team photo keeps the face */
.rr-sector-section .rr-body>*{margin-block:0!important}
.rr-sector-section .rr-body{display:block;column-count:2;column-gap:24px}
.rr-sector-section .rr-body>p{break-inside:avoid}
.rr-sector-section .rr-client-panel{column-span:all;margin-top:24px!important}
@media(max-width:781px){.rr-sector-section .rr-body{column-count:1}}
.rr-sector-section .rr-body>p>a{display:inline-block;padding:10px 0;line-height:1.5}
.rr-photo-band.rr-photo-head img{object-position:50% 0}
footer .rr-office strong{font-weight:600}

/* Forminator forms (0.6.6, 01-12-2026): the quote and order forms look like the preview
   forms (.rr-form), which is what was tested for accessibility. Forminator style: None. */
.forminator-custom-form{max-width:560px}
.forminator-custom-form .forminator-row{margin:0 0 18px}
.forminator-custom-form .forminator-field{display:flex;flex-direction:column;gap:6px}
.forminator-custom-form .forminator-label{font-size:16px}
.forminator-custom-form .forminator-required{color:inherit;margin-left:2px}
.forminator-custom-form .forminator-description{font-size:14px}
.forminator-custom-form .forminator-error-message{font-size:14px;color:#a4161a;font-weight:600}
.forminator-custom-form .forminator-input,.forminator-custom-form select,.forminator-custom-form textarea,.forminator-custom-form input[type=text],.forminator-custom-form input[type=email],.forminator-custom-form input[type=tel],.forminator-custom-form input[type=url],.forminator-custom-form input[type=number]{font:inherit;font-size:17px;color:#0c1011;background:#fff;border:1px solid #0c1011;border-radius:0;padding:12px 14px;min-height:48px;box-sizing:border-box;width:100%}
.forminator-custom-form textarea{min-height:150px}
.forminator-custom-form input[type=file]{font:inherit;font-size:15px;min-height:44px}
.forminator-custom-form .forminator-checkbox,.forminator-custom-form .forminator-radio{display:flex;flex-direction:row;align-items:flex-start;gap:12px;font-size:16px;margin:0 0 8px}
.forminator-custom-form .forminator-checkbox__wrapper{display:flex;flex-direction:row;align-items:flex-start;gap:12px}
.forminator-custom-form .forminator-checkbox__label{font-size:16px}
.forminator-custom-form .forminator-checkbox__label p{margin:0}
.forminator-custom-form input[type=checkbox],.forminator-custom-form input[type=radio]{width:24px;height:24px;margin:3px 0 0;flex:0 0 auto;accent-color:#179353;position:static;opacity:1}
.forminator-custom-form .forminator-checkbox-box,.forminator-custom-form .forminator-radio-bullet{display:none}
.forminator-custom-form .forminator-button-submit{min-height:52px;font:inherit;font-size:17px;border:0;border-radius:0;cursor:pointer;background:#179353;color:#0c1011;padding:16px 26px}
.forminator-custom-form .forminator-button-submit:hover{background:#127a44;color:#fff}
.forminator-custom-form input:focus,.forminator-custom-form select:focus,.forminator-custom-form textarea:focus,.forminator-custom-form button:focus-visible{outline:3px solid #db5224;outline-offset:2px}
.forminator-custom-form [hidden],.forminator-custom-form .forminator-hidden{display:none!important}
.forminator-custom-form .forminator-response-message{font-size:17px;margin:0 0 18px}
.forminator-custom-form .forminator-response-message.forminator-success{border-left:4px solid #179353;padding:8px 0 8px 16px}
.forminator-custom-form .forminator-response-message.forminator-error{border-left:4px solid #a4161a;padding:8px 0 8px 16px}
.forminator-custom-form .forminator-response-message[aria-hidden=true],.forminator-custom-form .forminator-response-message:empty{display:none}

.rr-form fieldset.rr-when-not{border:0;margin:0;padding:0;min-width:0}
