:root {
  --ink: #16110F;
  --ink-soft: #463E39;
  --paper: #FAF6F0;
  --sand: #F1E5D7;
  --sand-deep: #E3D3C0;
  --red: #C0272D;
  --red-dark: #8E1B20;
  --green: #7BD88F;
  --line: rgba(23, 20, 17, 0.16);
  --muted: #5A524C;
  --white: #F8F3ED;
  --shell: 1240px;
  --font-body: "Archivo", Helvetica, Arial, sans-serif;
  --font-display: "Bitter", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 246, 240, 0.92);
  transition: box-shadow 180ms ease, background 180ms ease;
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  background: rgba(250, 246, 240, 0.98);
  box-shadow: 0 14px 40px rgba(23, 20, 17, 0.08);
}

.header-shell {
  display: flex;
  width: min(calc(100% - 64px), var(--shell));
  min-height: 96px;
  margin-inline: auto;
  align-items: center;
  gap: 42px;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 0 0 auto;
}

.brand > a,
.brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.brand img,
.brand .custom-logo {
  width: 92px;
  max-height: 58px;
  object-fit: contain;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.site-nav {
  min-width: 0;
  margin-left: auto;
}

.header-whatsapp {
  flex: 0 0 auto;
}

.rizart-menu {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  list-style: none;
}

.rizart-menu a {
  position: relative;
  display: inline-block;
  padding-block: 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.rizart-menu a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.rizart-menu a:hover::after,
.rizart-menu .current-menu-item a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 24px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-dark:hover {
  background: var(--red-dark);
}

.button-red {
  color: var(--white);
  background: var(--red);
}

.button-red:hover {
  background: var(--red-dark);
}

.button-outline {
  color: var(--ink);
  border-color: rgba(23, 20, 17, 0.28);
  background: transparent;
}

.button-outline:hover {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: var(--red);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(104, 198, 125, 0.08);
}

.hero {
  overflow: hidden;
  padding: clamp(76px, 9vw, 132px) 0 0;
  background: var(--sand);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(56px, 7vw, 100px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.kicker {
  margin-bottom: 26px;
  color: var(--red-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span {
  margin-inline: 14px;
  color: var(--ink);
}

.hero h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 5.4vw, 5.7rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.hero-lead {
  max-width: 780px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.65;
}

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

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-left: 10px solid var(--red);
  background: var(--ink);
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255, 255, 255, 0.08) 14px 15px);
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  opacity: 0.48;
  filter: sepia(0.2) contrast(1.1);
}

.hero-visual-copy {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: 36px;
  left: 32px;
  color: var(--white);
}

.hero-visual-copy p {
  margin-bottom: 8px;
  color: #e3b7aa;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-visual-copy strong {
  display: block;
  max-width: 330px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.3vw, 2.4rem);
  line-height: 1.15;
}

.hero-visual-mark {
  position: absolute;
  z-index: 1;
  top: -80px;
  right: -32px;
  color: rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-size: 19rem;
  font-weight: 800;
  line-height: 1;
}

.stat-grid {
  display: grid;
  margin-top: clamp(64px, 8vw, 108px);
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.stat-grid > div {
  display: grid;
  padding: 32px clamp(20px, 3vw, 42px) 36px 0;
  border-right: 1px solid var(--line);
  gap: 2px;
}

.stat-grid > div + div {
  padding-left: clamp(20px, 3vw, 42px);
}

.stat-grid > div:last-child {
  border-right: 0;
}

.stat-grid strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

.stat-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding-block: clamp(84px, 10vw, 140px);
}

.section-heading {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(40px, 8vw, 120px);
}

.section-heading h2,
.compact-heading h2,
.about-title h2,
.faq-intro h2,
.final-cta h2,
.archive-header h1,
.page-header h1,
.entry-header h1,
.empty-state h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.3vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.section-heading > p,
.section-heading-split > p,
.blog-heading-action p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  min-height: 320px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.service-card:hover {
  z-index: 1;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-5px);
}

.service-number,
.feature-index,
.company-grid article > span {
  display: block;
  margin-bottom: 70px;
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.service-card h3 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.2;
}

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

.service-card:hover p {
  color: rgba(255, 255, 255, 0.72);
}

.services-action {
  display: flex;
  margin-top: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.services-action span {
  color: var(--muted);
  font-size: 0.86rem;
}

.text-link {
  position: relative;
  display: inline-block;
  color: var(--red-dark);
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: scaleX(1);
}

.profile-section {
  color: var(--white);
  background: var(--red);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
}

.profile-photo {
  position: relative;
  min-height: 620px;
  margin-bottom: 0;
  overflow: hidden;
  background: var(--ink);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: 36% center;
  filter: saturate(0.78) contrast(1.06);
}

.profile-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(23, 20, 17, 0.72));
  content: "";
}

.profile-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 24px;
  left: 28px;
  color: rgba(255, 255, 255, 0.8);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-copy {
  display: flex;
  padding: clamp(60px, 8vw, 120px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.profile-copy h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.4rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.profile-copy > p:not(.kicker) {
  max-width: 580px;
}

.profile-role {
  margin-bottom: 36px;
  font-weight: 700;
}

.kicker-light,
.text-link-light {
  color: #ffd7cb;
}

.text-link-light {
  margin-top: 18px;
}

.about-section {
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(64px, 10vw, 150px);
}

.about-title {
  position: relative;
}

.year-mark {
  position: absolute;
  z-index: -1;
  top: 150px;
  left: -60px;
  color: var(--sand);
  font-family: var(--font-display);
  font-size: clamp(11rem, 22vw, 21rem);
  font-weight: 800;
  letter-spacing: -0.1em;
  line-height: 0.7;
}

.rich-copy p {
  margin-bottom: 28px;
  color: var(--muted);
}

.rich-copy .lead-copy {
  color: var(--ink);
  font-size: clamp(1.18rem, 1.8vw, 1.42rem);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  margin-top: clamp(54px, 8vw, 110px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
}

.feature-grid article {
  padding: clamp(32px, 4vw, 54px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-index {
  margin-bottom: 42px;
}

.feature-grid h3 {
  max-width: 430px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.2;
}

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

.sector-section {
  color: var(--white);
  background: var(--ink);
}

.sector-section .section-heading > p,
.sector-section .section-heading-split > p {
  color: rgba(255, 255, 255, 0.62);
}

.sector-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.sector-list li {
  display: flex;
  min-height: 96px;
  padding: 22px 24px;
  align-items: center;
  gap: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-size: 1.04rem;
  line-height: 1.3;
}

.sector-list li:nth-child(3n) {
  border-right: 0;
}

.sector-list span {
  flex: 0 0 auto;
  color: #db8279;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
}

.compact-heading {
  max-width: 850px;
}

.full-services-section {
  background: var(--sand);
}

.full-services-grid {
  display: grid;
  border: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
}

.full-service-card {
  padding: clamp(38px, 5vw, 70px);
  background: var(--paper);
}

.full-service-card + .full-service-card {
  border-left: 1px solid var(--line);
}

.full-service-card-accent {
  background: #ead6c5;
}

.full-service-card h3 {
  margin-bottom: 34px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
}

.check-list {
  margin: 0 0 38px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  position: absolute;
  top: 13px;
  left: 0;
  color: var(--red);
  content: "↳";
  font-weight: 700;
}

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

.company-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.company-grid article {
  padding: clamp(32px, 4vw, 52px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-grid article > span {
  margin-bottom: 56px;
}

.company-grid h3 {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.company-grid p,
.company-grid ul {
  margin-bottom: 0;
  color: var(--muted);
}

.company-grid ul {
  padding-left: 20px;
}

.faq-section {
  background: #f7f1e8;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(64px, 9vw, 130px);
}

.faq-intro {
  position: sticky;
  top: 150px;
}

.faq-intro h2 {
  margin-bottom: 28px;
}

.faq-intro > p:not(.kicker) {
  margin-bottom: 26px;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: grid;
  padding: 30px 52px 30px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.35;
  grid-template-columns: 54px 1fr;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 29px;
  right: 4px;
  color: var(--red);
  content: "+";
  font-family: var(--font-body);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list summary span {
  padding-top: 4px;
  color: var(--red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.faq-list details p {
  max-width: 690px;
  margin: -8px 52px 30px 54px;
  color: var(--muted);
}

.blog-preview {
  background: var(--paper);
}

.blog-heading-action .text-link {
  margin-top: 14px;
}

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

.post-card {
  display: flex;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--white);
  flex-direction: column;
}

.post-card-image {
  display: block;
  min-height: 230px;
  overflow: hidden;
  background: var(--sand);
  text-decoration: none;
}

.post-card-image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.035);
}

.post-card-placeholder {
  display: grid;
  min-height: 230px;
  background-color: var(--sand);
  background-image: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(185, 47, 50, 0.09) 14px 15px);
  place-items: center;
}

.post-card-placeholder b {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
}

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

.post-card-kicker {
  margin-bottom: 18px;
  color: var(--red-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-card h3 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 1.38rem;
  line-height: 1.25;
}

.post-card h3 a {
  text-decoration: none;
}

.post-card-body > p:not(.post-card-kicker) {
  color: var(--muted);
  font-size: 0.93rem;
}

.post-card-link {
  margin-top: auto;
  color: var(--red-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.post-card-empty {
  min-height: 360px;
  padding: 36px;
  background-color: var(--sand);
  background-image: repeating-linear-gradient(-45deg, transparent 0 16px, rgba(185, 47, 50, 0.06) 16px 17px);
  grid-column: 1 / -1;
}

.post-card-empty h3 {
  max-width: 620px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.final-cta {
  padding-block: clamp(72px, 9vw, 120px);
  background: var(--red);
  color: var(--white);
}

.final-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(52px, 10vw, 150px);
}

.final-cta h2 {
  font-size: clamp(3rem, 5vw, 5.5rem);
}

.final-cta p {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
}

.site-footer {
  padding-top: clamp(74px, 9vw, 120px);
  color: var(--white);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  padding-bottom: 78px;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(42px, 8vw, 110px);
}

.footer-wordmark {
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.footer-brand > p:not(.footer-wordmark) {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-title {
  margin-bottom: 28px;
  color: #d98f84;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  margin-bottom: 12px;
}

.footer-list a,
.footer-map {
  color: var(--white);
}

.footer-list span,
.footer-hours,
.site-footer address {
  color: rgba(255, 255, 255, 0.58);
}

.site-footer address {
  margin-bottom: 22px;
  font-style: normal;
}

.footer-bottom {
  display: flex;
  padding-block: 24px;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.77rem;
}

.footer-bottom p {
  margin: 0;
}

.floating-whatsapp {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  padding: 13px 20px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 14px 36px rgba(23, 20, 17, 0.26);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.floating-whatsapp:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}

/* Blog, archive and editorial pages. */
.archive-main,
.page-main,
.single-main {
  min-height: 55vh;
}

.archive-header,
.page-header,
.entry-header {
  padding-block: clamp(74px, 9vw, 124px);
  background: var(--sand);
}

.archive-header .kicker,
.page-header .kicker,
.entry-header .kicker {
  margin-bottom: 20px;
}

.archive-description,
.entry-deck {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.14rem;
}

.archive-content {
  padding-block: clamp(70px, 8vw, 110px);
}

.pagination {
  margin-top: 54px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: grid;
  min-width: 44px;
  height: 44px;
  padding-inline: 12px;
  place-items: center;
  border: 1px solid var(--line);
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.entry-header {
  padding-bottom: 78px;
}

.entry-meta {
  margin-top: 26px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.77rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.entry-featured {
  width: min(calc(100% - 64px), 1120px);
  max-height: 660px;
  margin: -34px auto 0;
  object-fit: cover;
}

.entry-content {
  width: min(calc(100% - 64px), 760px);
  margin-inline: auto;
  padding-block: clamp(64px, 8vw, 110px);
  font-size: 1.08rem;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content h2,
.entry-content h3,
.page-content h2,
.page-content h3 {
  margin: 1.8em 0 0.65em;
  font-family: var(--font-display);
  line-height: 1.2;
}

.entry-content h2,
.page-content h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.entry-content a,
.page-content a {
  color: var(--red-dark);
}

.entry-content blockquote {
  margin: 2.4em 0;
  padding: 8px 0 8px 30px;
  border-left: 5px solid var(--red);
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.entry-content img {
  margin-block: 34px;
}

.entry-footer {
  width: min(calc(100% - 64px), 760px);
  margin: 0 auto 90px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.post-navigation {
  width: min(calc(100% - 64px), var(--shell));
  margin: 0 auto 100px;
}

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

.post-navigation a {
  display: block;
  min-height: 150px;
  padding: 26px;
  border: 1px solid var(--line);
  text-decoration: none;
}

.post-navigation .nav-next {
  text-align: right;
}

.post-navigation .nav-subtitle {
  display: block;
  margin-bottom: 12px;
  color: var(--red-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.post-navigation .nav-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.page-content {
  width: min(calc(100% - 64px), 920px);
  margin-inline: auto;
  padding-block: clamp(60px, 8vw, 100px);
}

.empty-state {
  padding-block: clamp(100px, 14vw, 180px);
  text-align: center;
}

.empty-state h1 {
  margin-inline: auto;
}

.empty-state p {
  max-width: 620px;
  margin: 24px auto 30px;
  color: var(--muted);
}

.search-form {
  display: flex;
  max-width: 650px;
  margin: 34px auto 0;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
}

.search-submit {
  min-height: 52px;
  padding-inline: 24px;
  border: 0;
  color: var(--white);
  background: var(--red);
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .header-shell {
    flex-wrap: wrap;
    gap: 0 20px;
    padding-top: 14px;
  }

  .header-main {
    order: 1;
  }

  .header-whatsapp {
    order: 2;
    margin-left: auto;
  }

  .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .rizart-menu {
    width: max-content;
  }

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

  .hero-visual {
    min-height: 370px;
  }

  .hero-visual img {
    min-height: 370px;
  }

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

  .sector-list li:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.18);
  }

  .sector-list li:nth-child(2n) {
    border-right: 0;
  }

  .profile-grid {
    width: 100%;
  }

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

  .faq-intro {
    position: static;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .shell,
  .header-shell,
  .entry-featured,
  .entry-content,
  .entry-footer,
  .post-navigation,
  .page-content {
    width: min(calc(100% - 40px), var(--shell));
  }

  .header-shell {
    min-height: 132px;
  }

  .brand img,
  .brand .custom-logo {
    width: 72px;
    max-height: 46px;
  }

  .header-whatsapp {
    min-height: 44px;
    padding: 10px 15px;
    font-size: 0.82rem;
  }

  .rizart-menu {
    gap: 22px;
  }

  .rizart-menu a {
    font-size: 0.86rem;
  }

  .hero {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12vw, 4.2rem);
    line-height: 1.02;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 300px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid > div,
  .stat-grid > div + div {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading-split,
  .about-grid,
  .profile-grid,
  .full-services-grid,
  .final-cta-grid,
  .footer-grid,
  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .section-heading-split {
    gap: 26px;
  }

  .service-grid,
  .company-grid,
  .sector-list,
  .post-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 270px;
  }

  .sector-list li,
  .sector-list li:nth-child(2n),
  .sector-list li:nth-child(3n) {
    border-right: 0;
  }

  .services-action,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-photo,
  .profile-photo img {
    min-height: 440px;
  }

  .profile-copy {
    padding: 58px 20px 70px;
  }

  .profile-copy h2 {
    font-size: 3.4rem;
  }

  .year-mark {
    top: 190px;
    left: -24px;
  }

  .full-service-card + .full-service-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .company-grid article > span,
  .service-number {
    margin-bottom: 42px;
  }

  .faq-list summary {
    padding-right: 36px;
    grid-template-columns: 42px 1fr;
  }

  .faq-list details p {
    margin-left: 42px;
  }

  .post-card-image,
  .post-card-image img,
  .post-card-placeholder {
    min-height: 210px;
    height: 210px;
  }

  .footer-grid {
    padding-bottom: 48px;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }

  .floating-whatsapp span:last-child {
    display: none;
  }

  .floating-whatsapp {
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
  }

  .floating-whatsapp .status-dot {
    width: 11px;
    height: 11px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
