/* ==========================================================================
   Mango Studio — landing page
   Built from "Landing Page Build Spec v1.0". Logical properties throughout
   so an RTL (Arabic) build only needs dir="rtl" on <html>.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --color-deep-green: #104E43;
  --color-lime: #8CC63F;
  --color-orange: #EC5E10;
  --color-orange-text: #B0460C;
  --color-yellow: #FAAA1F;
  --color-cream: #FFE5B3;
  --color-white: #FFFFFF;

  --font-heading: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-lift: 0 24px 48px rgb(16 78 67 / 0.18);

  --header-h: 72px;
  --gutter: 20px;
  --section-pad: 72px;
  --col-gap: 16px;
  --block-gap: 64px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --section-pad: 96px; --col-gap: 24px; }
}
@media (min-width: 1024px) {
  :root { --header-h: 88px; --gutter: 48px; --section-pad: 128px; --block-gap: 96px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-deep-green);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 1024px) { body { font-size: 18px; } }

h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
p { max-width: 65ch; text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--color-deep-green); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--color-yellow); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 200;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--color-deep-green);
  color: var(--color-white);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(1200px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--col-gap);
}
.grid > * { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

.section { padding-block: var(--section-pad); }
.section--cream { background: var(--color-cream); }
.section--dark { background: var(--color-deep-green); color: var(--color-white); }

.flow > * + * { margin-block-start: 16px; }

/* ---------- Type ---------- */
.h1, .h2, .h3, .statement, .quote, .step__number {
  font-family: var(--font-heading);
  text-wrap: balance;
}
.h1 {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h2 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.statement {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.quote {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.5;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange-text);
}
@media (min-width: 1024px) { .eyebrow { font-size: 14px; } }
.on-dark .eyebrow { color: var(--color-lime); }

.small { font-size: 14px; line-height: 1.5; }

.text-link {
  color: var(--color-orange-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-weight: 700;
}

.section-head > .eyebrow,
.phil-problem__head > .eyebrow,
.profile__intro .eyebrow,
.contact__intro .eyebrow { margin-block-end: 16px; }
.section-head > .h2 + .lead { margin-block-start: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  /* 2px border + 16/30px padding = the spec's 18px 32px outer padding */
  padding: 16px 30px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out, transform 150ms ease-out;
}
.btn--primary { background: var(--color-orange); color: var(--color-white); }
.btn--primary:hover,
.btn--primary:focus-visible { background: var(--color-orange-text); transform: translateY(-2px); }

.btn--secondary { background: transparent; border-color: var(--color-deep-green); color: var(--color-deep-green); }
.btn--secondary:hover,
.btn--secondary:focus-visible { background: var(--color-deep-green); color: var(--color-white); }

.btn--on-dark { background: var(--color-cream); color: var(--color-deep-green); }
.btn--on-dark:hover,
.btn--on-dark:focus-visible { background: var(--color-yellow); }

.btn:disabled { cursor: progress; opacity: 0.7; transform: none; }
/* On the narrowest phones a long label may take two lines rather than spill out of its box. */
@media (max-width: 399px) { .btn { white-space: normal; line-height: 1.2; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--color-white);
  border-block-end: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgb(255 255 255 / 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-block-end-color: rgb(16 78 67 / 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.site-header__logo { display: inline-flex; align-items: center; min-height: 48px; }
.site-header__logo img { height: 28px; width: auto; }

.site-nav, .site-header__cta { display: none; }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-inline-end: -12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-deep-green);
}
.menu-toggle__bars,
.menu-toggle__bars::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.menu-toggle__bars { position: relative; transform: translateY(-4px); }
.menu-toggle__bars::after { content: ""; position: absolute; inset-block-start: 8px; }

@media (min-width: 1024px) {
  .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header__logo img { height: 32px; }
  .site-nav { display: block; }
  .site-header__cta { display: inline-flex; justify-self: end; }
  .menu-toggle { display: none; }
}

.site-nav__list { display: flex; gap: 8px; }
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding-inline: 12px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  inset-block-end: 8px;
  height: 2px;
  background: var(--color-lime);
  opacity: 0;
}
.site-nav__link:hover::after,
.site-nav__link.is-active::after { opacity: 1; }

/* Mobile menu */
.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: var(--color-deep-green);
  color: var(--color-cream);
}
.menu-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}
.menu-panel__top img { height: 28px; width: auto; }
.menu-panel__close {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-inline-end: -12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-cream);
}
.menu-panel__x { position: relative; width: 24px; height: 24px; }
.menu-panel__x::before,
.menu-panel__x::after {
  content: "";
  position: absolute;
  inset-block-start: 11px;
  inset-inline-start: 0;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: rotate(45deg);
}
.menu-panel__x::after { transform: rotate(-45deg); }
.menu-panel__nav {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-block: 32px 48px;
}
.menu-panel__link {
  display: block;
  padding-block: 8px;
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-cream);
  text-decoration: none;
}
.menu-panel__nav .btn { align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  padding-block-start: 48px;
  overflow: clip;
}
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: calc(900px + 2 * var(--gutter));
  text-align: center;
}
.hero__text .eyebrow { margin-block-end: 16px; }
.hero__sub { margin-block: 24px 32px; }
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
@media (min-width: 768px) {
  .hero__actions { flex-direction: row; justify-content: center; width: auto; }
}

/* Full-bleed strip of three square images: edge to edge, side by side at every size.
   The height cap only kicks in on very wide screens, where the squares would outgrow the window. */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-block-start: 48px;
}
@media (min-width: 768px) {
  .hero-strip { gap: 8px; }
}
.hero-strip__panel {
  position: relative;
  width: 100%; /* keeps panels edge to edge when the height cap applies */
  aspect-ratio: 1;
  max-height: 75vh;
  max-height: 75svh;
  overflow: hidden;
  background: var(--ph);
}
.hero-strip__panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Icons ---------- */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-badge {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--color-deep-green);
  color: var(--color-cream);
}
.icon-badge .icon { width: 20px; height: 20px; }
.icon-badge--lg { width: 48px; height: 48px; }
.icon-badge--lg .icon { width: 24px; height: 24px; }
@media (min-width: 768px) {
  .icon-badge--lg { width: 56px; height: 56px; }
  .icon-badge--lg .icon { width: 26px; height: 26px; }
}

/* ---------- Heading underline ---------- */
.h2::after,
.phil-block__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-block-start: 20px;
  border-radius: 2px;
  background: var(--color-lime);
}
.phil-block__title::after { width: 40px; height: 3px; margin-block-start: 16px; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 600ms var(--ease-reveal), translate 600ms var(--ease-reveal);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-revealed { opacity: 1; translate: 0 0; }

/* ---------- Philosophy ---------- */
.phil-block + .phil-block { margin-block-start: var(--block-gap); }
.phil-block__title { margin-block-end: 32px; }

.phil-problem { row-gap: 24px; }
.phil-problem__body { padding-block-start: 4px; }
@media (min-width: 1024px) {
  .phil-problem__head { grid-column: 1 / span 5; }
  .phil-problem__body { grid-column: 7 / span 6; padding-block-start: 32px; }
}

.phil-statements { row-gap: 48px; }
.phil-statement__label { display: flex; align-items: center; gap: 12px; margin-block-end: 16px; }
@media (min-width: 768px) {
  .phil-statement:first-child { grid-column: 1 / span 6; }
  .phil-statement:last-child { grid-column: 7 / span 6; }
}

.steps { display: grid; gap: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step {
  padding: 24px;
  border-radius: 16px;
  background: var(--color-white);
}
@media (min-width: 768px) { .step { padding: 32px; } }
.step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-block-end: 24px;
}
.step__top .icon-badge { background: var(--color-cream); color: var(--color-deep-green); }
.step__number {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-orange-text);
}
.step__name { margin-block-end: 12px; }

/* ---------- Beliefs ---------- */
.section--yellow { background: var(--color-yellow); color: var(--color-deep-green); }
.section--yellow .eyebrow { color: var(--color-deep-green); }
.section--yellow .h2::after { background: var(--color-deep-green); }

.beliefs__layout { row-gap: 48px; }
.beliefs__head .eyebrow { margin-block-end: 16px; }
.beliefs__head .lead { margin-block-start: 24px; }
@media (min-width: 1024px) {
  .beliefs__head {
    grid-column: 1 / span 5;
    align-self: start;
    position: sticky;
    inset-block-start: calc(var(--header-h) + 48px);
  }
  .beliefs__list { grid-column: 7 / span 6; }
}
.beliefs__list { display: grid; gap: 16px; }
.belief {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
  background: var(--color-white);
}
@media (min-width: 768px) { .belief { gap: 24px; padding: 32px; } }
.belief__icon { color: var(--color-yellow); }
.belief__title { margin-block: 8px; }

/* ---------- Services ---------- */
.cards {
  display: grid;
  gap: 16px;
  margin-block-start: 48px;
}
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block-start: 64px; } }

.cards__item { display: flex; }
.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 16px;
  background: var(--color-cream);
  transition: background-color 200ms ease-out, transform 200ms ease-out;
}
@media (min-width: 768px) { .card { padding: 32px; } }
.card .quote { margin-block-end: 24px; }
.card__service { display: flex; align-items: center; gap: 8px; margin-block-end: 12px; }
.card__service .icon { width: 18px; height: 18px; }

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .card:hover { background: var(--color-yellow); transform: translateY(-4px); }
  /* Text-safe orange fails on Golden Yellow (2.9:1), so the label goes Deep Green on hover. */
  .card:hover .card__service { color: var(--color-deep-green); }
}

.services__closing { margin-block-start: 48px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; gap: 6px; }
.text-link .icon { width: 20px; height: 20px; transition: transform 150ms ease-out; }
.text-link:hover .icon { transform: translateX(4px); }
[dir="rtl"] .text-link .icon { transform: scaleX(-1); }
[dir="rtl"] .text-link:hover .icon { transform: scaleX(-1) translateX(4px); }

/* ---------- Why us ---------- */
.section--dark .h2 { color: var(--color-yellow); }
.commitments {
  display: grid;
  gap: 48px;
  margin-block-start: 64px;
}
@media (min-width: 768px) { .commitments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.commitment__icon { margin-block-end: 24px; background: var(--color-lime); color: var(--color-deep-green); }
.commitment__title { margin-block-end: 12px; color: var(--color-cream); max-width: 22ch; }
.commitment__text { color: rgb(255 255 255 / 0.85); }

/* ---------- Company profile ---------- */
.profile { row-gap: 48px; align-items: start; }
.profile__body { margin-block-start: 24px; }
@media (min-width: 768px) {
  .profile__intro { grid-column: 1 / span 6; padding-inline-end: 24px; }
  .profile__card { grid-column: 7 / span 6; }
}

/* Temporary cover, drawn in CSS, until the real cover image arrives */
.profile-cover {
  display: none;
  position: relative;
  flex-direction: column;
  width: min(100%, 300px);
  aspect-ratio: 3 / 4;
  margin-block-start: 64px;
  margin-inline-start: 16px;
  padding: 32px 24px 48px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--color-deep-green);
  color: var(--color-cream);
  box-shadow: var(--shadow-lift);
  transform: rotate(-4deg);
}
@media (min-width: 768px) { .profile-cover { display: flex; } }
.profile-cover__logo { width: auto; height: 36px; }
.profile-cover__title { display: flex; flex-direction: column; gap: 12px; margin-block-start: auto; }
.profile-cover__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-lime);
}
.profile-cover__tagline {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.profile-cover__year { margin-block-start: 16px; font-size: 14px; font-weight: 700; color: var(--color-yellow); }
.profile-cover__stripes { position: absolute; inset-inline: 0; inset-block-end: 0; display: flex; height: 24px; }
.profile-cover__stripes i { flex: 1; }
.profile-cover__stripes i:nth-child(1) { background: var(--color-cream); }
.profile-cover__stripes i:nth-child(2) { background: var(--color-yellow); }
.profile-cover__stripes i:nth-child(3) { background: var(--color-orange); }
.profile-cover__stripes i:nth-child(4) { background: var(--color-lime); }

.form-card {
  padding: 24px;
  border-radius: 16px;
  background: var(--color-white);
}
@media (min-width: 768px) { .form-card { padding: 32px; } }

/* ---------- Contact ---------- */
.contact { row-gap: 48px; align-items: start; }
.contact__intro .h2 + p { margin-block-start: 24px; }
@media (min-width: 1024px) {
  .contact__intro { grid-column: 1 / span 5; padding-inline-end: 24px; }
  .contact__form { grid-column: 6 / span 7; }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 24px; }
.form__row { display: grid; gap: 24px; }
@media (min-width: 768px) {
  .contact .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; }
.field__label { font-size: 15px; font-weight: 500; line-height: 1.3; }
.field__input {
  width: 100%;
  height: 56px;
  padding-inline: 16px;
  border: 1.5px solid rgb(16 78 67 / 0.25);
  border-radius: 16px;
  background: var(--color-white);
  color: var(--color-deep-green);
  font-size: 17px;
  line-height: 1.3;
  appearance: none;
  -webkit-appearance: none;
}
.field__input::placeholder { color: rgb(16 78 67 / 0.7); opacity: 1; }
.field__input:focus {
  border-color: var(--color-deep-green);
  /* 1.5px border + 0.5px inset ring = 2px, without shifting the layout */
  box-shadow: inset 0 0 0 0.5px var(--color-deep-green);
}
.field__textarea { height: auto; min-height: 152px; padding-block: 16px; resize: vertical; line-height: 1.5; }
.field__select {
  padding-inline-end: 48px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-deep-green) 50%),
    linear-gradient(135deg, var(--color-deep-green) 50%, transparent 50%);
  background-position: calc(100% - 26px) 50%, calc(100% - 20px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
[dir="rtl"] .field__select { background-position: 20px 50%, 26px 50%; }

.field__error { font-size: 14px; line-height: 1.4; color: var(--color-orange-text); }
.field__error:empty { display: none; }
.field.has-error .field__input { border-color: var(--color-orange-text); }
.field.has-error .field__input:focus { box-shadow: inset 0 0 0 0.5px var(--color-orange-text); }

/* Chips: real checkboxes underneath */
.chips-field legend { float: left; width: 100%; margin-block-end: 12px; }
[dir="rtl"] .chips-field legend { float: right; }
.chips { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip__label {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--color-cream);
  color: var(--color-deep-green);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  user-select: none;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.chip__input:checked + .chip__label { background: var(--color-deep-green); color: var(--color-cream); }
.chip__input:focus-visible + .chip__label { outline: 3px solid var(--color-deep-green); outline-offset: 3px; }
.chips-field.has-error .chip__label { box-shadow: inset 0 0 0 1.5px var(--color-orange-text); }

.form__submit { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.form__submit .small a { font-weight: 500; }
.form__server-error { font-size: 15px; font-weight: 500; color: var(--color-orange-text); }

/* Thank-you state that replaces a form after it's sent */
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.form-success:focus { outline: none; }
.form-success__icon { margin-block-end: 8px; background: var(--color-lime); color: var(--color-deep-green); }
.form-success__action { margin-block-start: 8px; }
.contact__form .form-success { padding: 32px 24px; border-radius: 16px; background: var(--color-cream); }
@media (min-width: 768px) { .contact__form .form-success { padding: 48px; } }

/* Honeypot: off-screen, not display:none, so bots still fill it in */
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact details (footer: icon + label) ---------- */
.contact-list { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-weight: 500;
  text-decoration: none;
}
.contact-list a:hover span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.contact-list .icon-badge { background: rgb(255 229 179 / 0.12); color: var(--color-cream); }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 64px 32px;
  background: var(--color-deep-green);
  color: var(--color-cream);
}
.site-footer__top { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 768px) {
  .site-footer__top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.site-footer__logo { display: inline-flex; }
.site-footer__logo img { height: 48px; width: auto; }
.site-footer__tagline { margin-block-start: 12px; font-weight: 700; }
.site-footer__about { max-width: 46ch; margin-block-start: 8px; font-size: 15px; line-height: 1.6; }
.site-footer__links { display: flex; flex-direction: column; }
@media (min-width: 768px) { .site-footer__links { flex-direction: row; gap: 24px; } }
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 500;
  text-decoration: none;
}
.site-footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__contact { margin-block-start: 48px; }
.site-footer__legal { margin-block-start: 24px; font-size: 14px; max-width: none; }
.site-footer__legal a { display: inline-block; padding-block: 12px; text-underline-offset: 4px; }

/* ---------- Cookie notice ---------- */
.cookie {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom));
  background: var(--color-white);
  color: var(--color-deep-green);
  box-shadow: 0 -8px 24px rgb(16 78 67 / 0.12);
}
.cookie.is-deferred { visibility: hidden; }
.cookie__text { font-size: 16px; line-height: 1.5; }
.cookie__actions { display: flex; align-items: center; gap: 16px; }
.cookie__decline {
  min-height: 48px;
  padding-inline: 12px;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (min-width: 768px) {
  .cookie {
    inset-inline: 24px auto;
    inset-block-end: 24px;
    width: 400px;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgb(16 78 67 / 0.16);
  }
}

/* ---------- Fresh Slices (blog) ---------- */
/* The blog sits in a narrower centred column, with white space either side. */
.blog-wrap { max-width: calc(960px + 2 * var(--gutter)); padding-block-end: var(--section-pad); }
.post { max-width: calc(760px + 2 * var(--gutter)); padding-block-end: var(--section-pad); }

/* Breadcrumb: Home › Fresh Slices › current page */
.breadcrumb { padding-block-start: 16px; }
@media (min-width: 1024px) { .breadcrumb { padding-block-start: 32px; } }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgb(16 78 67 / 0.75);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.breadcrumb li + li::before { content: "\203A" / ""; font-size: 18px; line-height: 1; }
.breadcrumb a { display: inline-block; padding-block: 12px; color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--color-deep-green); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumb [aria-current] {
  max-width: 34ch;
  overflow: hidden;
  font-weight: 700;
  color: var(--color-deep-green);
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Tag chip (e.g. Mango): sits on the cover image, links to the tag's listing */
.tag-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--color-yellow);
  color: var(--color-deep-green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 16px rgb(16 78 67 / 0.25);
  transition: background-color 150ms ease-out;
}
.tag-chip::before { content: ""; position: absolute; inset: -8px; } /* 48px tap area */
.tag-chip .icon { width: 14px; height: 14px; }
.tag-chip:hover { background: var(--color-cream); }
/* One colour per tag, set in the strings file (blog.tags.<slug>.color) */
.tag-chip--lime { background: var(--color-lime); }
.tag-chip--cream { background: var(--color-cream); }
.tag-chip--cream:hover { background: var(--color-white); }
.tag-chip--green { background: var(--color-deep-green); color: var(--color-cream); }
.tag-chip--green:hover { background: var(--color-deep-green); color: var(--color-white); }

/* Listing */
.blog-head { padding-block: 16px 40px; }
@media (min-width: 1024px) { .blog-head { padding-block: 24px 56px; } }
.blog-head .eyebrow { margin-block-end: 16px; }
.blog-head .lead { max-width: 52ch; margin-block-start: 24px; }
.blog-empty { padding-block: 32px; }

.slices { display: grid; gap: 20px; }
.slice {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 12px;
  border: 1px solid rgb(16 78 67 / 0.12);
  border-radius: 20px;
  background: var(--color-white);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
}
@media (min-width: 640px) {
  .slice { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); align-items: center; gap: 28px; }
}
.slice__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1600 / 840;
  border-radius: 14px;
  background: var(--color-deep-green);
}
.slice__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-reveal); }
.slice__tag { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; z-index: 2; }
.slice__body { display: flex; flex-direction: column; gap: 12px; padding: 4px 8px 8px; }
@media (min-width: 640px) { .slice__body { padding-block: 8px; padding-inline: 0 16px; } }
.slice__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgb(16 78 67 / 0.75);
}
.slice__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.slice__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-block-start: 12px;
  border-radius: 2px;
  background: var(--color-orange);
}
.slice__link { color: inherit; text-decoration: none; }
/* The title link covers the whole card, so anywhere on it opens the article. */
.slice__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 20px; }
@supports selector(:has(a)) {
  .slice__link:focus-visible { outline: none; }
  .slice:has(.slice__link:focus-visible) { outline: 3px solid var(--color-deep-green); outline-offset: 3px; }
}
.slice__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 4px; }
.slice__byline,
.post__byline { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.slice__byline .icon,
.post__byline .icon { width: 16px; height: 16px; color: var(--color-orange-text); }
.slice__go {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--color-deep-green);
  color: var(--color-cream);
  transition: background-color 200ms ease-out, color 200ms ease-out, transform 200ms ease-out;
}
.slice__go .icon { width: 20px; height: 20px; }
[dir="rtl"] .slice__go .icon { transform: scaleX(-1); }
@media (hover: hover) and (pointer: fine) {
  .slice:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 20px 44px rgb(16 78 67 / 0.14); }
  .slice:hover .slice__media img { transform: scale(1.04); }
  .slice:hover .slice__go { background: var(--color-orange); color: var(--color-white); transform: translateX(4px); }
}

.pager { display: flex; flex-wrap: wrap; gap: 16px; margin-block-start: 40px; }
.pager__older { margin-inline-start: auto; }

/* Article */
.post__header { padding-block: 16px 32px; }
@media (min-width: 1024px) { .post__header { padding-block: 24px 40px; } }
.post__title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-block-start: 24px;
  font-size: 15px;
  font-weight: 500;
  color: rgb(16 78 67 / 0.75);
}
.post__stats { white-space: nowrap; }

/* The cover as a raised, rounded banner, with the tag chip on it */
.post__banner { position: relative; margin-block-end: 48px; }
.post__banner img {
  width: 100%;
  aspect-ratio: 1600 / 840;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgb(16 78 67 / 0.18);
}
.post__tag { position: absolute; inset-block-start: 16px; inset-inline-start: 16px; }

/* Article text */
.prose { font-size: 18px; line-height: 1.7; }
@media (min-width: 1024px) { .prose { font-size: 19px; } }
.prose > * + * { margin-block-start: 24px; }
.prose p { max-width: none; }
.prose h2 {
  margin-block-start: 48px;
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--color-deep-green);
}
.prose h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-block-start: 12px;
  border-radius: 2px;
  background: var(--color-orange);
}
.prose h3,
.prose h4 {
  margin-block-start: 32px;
  font-family: var(--font-heading);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-deep-green);
}
.prose ul,
.prose ol { display: grid; gap: 12px; }
.prose ul > li { position: relative; padding-inline-start: 28px; }
.prose ul > li::before {
  content: "";
  position: absolute;
  inset-block-start: 0.62em;
  inset-inline-start: 4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--color-orange);
}
.prose ol { list-style: decimal; padding-inline-start: 28px; }
.prose ol > li { padding-inline-start: 4px; }
.prose ol > li::marker { color: var(--color-orange-text); font-weight: 700; }
.prose a {
  color: var(--color-orange-text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 700; }
.prose blockquote {
  padding-inline-start: 20px;
  border-inline-start: 4px solid var(--color-lime);
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.35;
}
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--color-cream); font-size: 0.9em; }
.prose figure img { width: 100%; border-radius: 14px; }
.prose figcaption { margin-block-start: 8px; font-size: 14px; }
.prose hr { height: 1px; border: 0; background: rgb(16 78 67 / 0.2); }

/* Pull quote: a named quote set apart from the text, with a large orange quote mark */
.prose .pullquote {
  margin-block: 40px;
  padding-block: 28px;
  border-block: 1px solid rgb(16 78 67 / 0.15);
}
.prose .pullquote::before {
  content: "\201C";
  display: block;
  height: 48px;
  font-family: var(--font-heading);
  font-size: 96px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-orange);
}
.prose .pullquote blockquote { padding: 0; border: 0; }
.prose .pullquote blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-deep-green);
}
.prose .pullquote figcaption {
  margin-block-start: 16px;
  font-size: 15px;
  line-height: 1.4;
  color: rgb(16 78 67 / 0.8);
}
.prose .pullquote figcaption strong { color: var(--color-deep-green); }

/* Editor's note: a boxed aside, visibly separate from the author's own text */
.prose .note {
  padding: 20px 24px;
  border-inline-start: 4px solid var(--color-orange);
  border-radius: 16px;
  background: var(--color-cream);
  font-size: 17px;
  line-height: 1.6;
}
.prose .note__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange-text);
}
.prose .note__label .icon { width: 16px; height: 16px; }
.prose .note p + p { margin-block-start: 8px; }

.post__footer { padding-block-start: 56px; }
.post-cta { padding: 32px 24px; border-radius: 20px; background: var(--color-cream); }
@media (min-width: 768px) { .post-cta { padding: 40px; } }
.post-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.post-cta p { margin-block: 12px 24px; }
.post-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 639px) { .post-cta__actions .btn { flex: 1 1 100%; } }
.post__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin-block-start: 24px;
  font-weight: 500;
  text-decoration: none;
}
.post__back:hover { text-decoration: underline; text-underline-offset: 4px; }
[dir="rtl"] .post__back .icon { transform: scaleX(-1); }

/* ---------- 404 / privacy ---------- */
.simple-page { padding-block: var(--section-pad); }
.simple-page--center {
  display: grid;
  place-items: center;
  min-height: calc(100svh - var(--header-h));
  text-align: center;
}
.simple-page--center .container { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.simple-page--center .lead { margin-block-end: 8px; }

.legal { max-width: calc(760px + 2 * var(--gutter)); }
.legal__updated { margin-block: 16px 32px; font-size: 14px; font-weight: 500; }
.legal__section { margin-block-start: 48px; }
.legal__section > h2 { margin-block-end: 16px; }
.legal__section > * + p,
.legal__section > * + ul { margin-block-start: 16px; }
.legal__section ul { display: grid; gap: 12px; }
.legal__section li { position: relative; max-width: 65ch; padding-inline-start: 28px; }
.legal__section li::before {
  content: "";
  position: absolute;
  inset-block-start: 0.6em;
  inset-inline-start: 4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--color-lime);
}
.legal a { color: var(--color-orange-text); font-weight: 500; text-underline-offset: 3px; }

/* ---------- Services ---------- */
/* Homepage and related-service cards that link through to a service page */
.card--link { color: inherit; text-decoration: none; }
.section--cream .card { background: var(--color-white); }
.card__text + .card__more,
.card .quote + .card__service + .card__more { margin-block-start: auto; }
.card__more { padding-block-start: 20px; font-size: 16px; }
.card--link:focus-visible { outline-offset: 4px; }
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .card--link:hover .card__more { color: var(--color-deep-green); }
  .card--link:hover .card__more .icon { transform: translateX(4px); }
}
.services__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-block-start: 48px;
}
.services__foot .services__closing { margin: 0; }

/* Service page hero */
.svc-hero { padding-block-end: var(--section-pad); overflow: clip; }
.svc-hero__layout { row-gap: 56px; align-items: center; padding-block-start: 24px; }
@media (min-width: 1024px) {
  .svc-hero__layout { padding-block-start: 40px; }
  .svc-hero__text { grid-column: 1 / span 6; }
  .svc-hero__art { grid-column: 8 / span 5; }
}
.svc-hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-block-end: 20px; }
.svc-hero__title { font-size: clamp(40px, 5.6vw, 72px); }
.svc-hero__sub { margin-block-start: 24px; }
.svc-hero__actions { display: flex; flex-direction: column; gap: 12px; margin-block-start: 32px; }
@media (min-width: 768px) { .svc-hero__actions { flex-direction: row; } }

.svc-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 24px; }
.svc-badges li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--color-cream);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.svc-badges li:last-child { background: var(--color-deep-green); color: var(--color-cream); }

/* Hero art: a stylised results page, with the complaint stuck on top of it */
.svc-hero__art { position: relative; padding: 0 0 40px 16px; }
.mock {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: 0 30px 60px rgb(16 78 67 / 0.16), 0 0 0 1px rgb(16 78 67 / 0.08);
  font-size: 14px;
  line-height: 1.4;
  transform: rotate(1.5deg);
}
.serp__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgb(16 78 67 / 0.06);
  font-weight: 500;
}
.serp__bar .icon { width: 18px; height: 18px; color: var(--color-orange); }
.serp__ai { padding: 16px; border-radius: 16px; background: var(--color-cream); }
.serp__ai-label { display: flex; align-items: center; gap: 6px; margin-block-end: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-orange-text); }
.serp__ai-label .icon { width: 16px; height: 16px; }
.serp__ai-text { margin-block-end: 10px; font-weight: 500; }
.serp mark, .chat mark {
  padding: 1px 8px;
  border-radius: 6px;
  background: var(--color-lime);
  color: var(--color-deep-green);
  font-weight: 700;
}
.mock__line { display: block; height: 8px; margin-block-start: 6px; border-radius: 4px; background: rgb(16 78 67 / 0.12); }
.mock__line--short { width: 60%; }
.mock__line--url { width: 40%; background: rgb(16 78 67 / 0.2); }
.mock__line--title { width: 75%; height: 14px; background: rgb(16 78 67 / 0.25); }
.serp__result { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; }
.serp__result--you { background: var(--color-deep-green); color: var(--color-cream); }
.serp__rank { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: rgb(16 78 67 / 0.08); font-weight: 700; font-size: 13px; }
.serp__result--you .serp__rank { background: var(--color-yellow); color: var(--color-deep-green); }
.serp__url { font-size: 12px; color: var(--color-lime); }
.serp__title { font-family: var(--font-heading); font-size: 17px; font-weight: 700; }

.svc-bubble {
  position: absolute;
  inset-inline-start: -8px;
  inset-block-end: 0;
  max-width: 260px;
  padding: 18px 22px;
  border-radius: 22px 22px 22px 4px;
  background: var(--color-yellow);
  color: var(--color-deep-green);
  box-shadow: var(--shadow-lift);
  transform: rotate(-4deg);
}
[dir="rtl"] .svc-bubble { border-radius: 22px 22px 4px 22px; transform: rotate(4deg); }
.svc-bubble__quote {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
@media (max-width: 767px) {
  .svc-hero__art { padding-inline-start: 0; }
  .svc-bubble { inset-inline-start: 0; max-width: 220px; }
}

/* Hero art: social post on a phone */
.phone { max-width: 300px; margin-inline: auto; padding: 16px; border-radius: 32px; gap: 14px; transform: rotate(2deg); }
.phone__top { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.phone__avatar { width: 32px; height: 32px; border-radius: 999px; background: conic-gradient(var(--color-orange), var(--color-yellow), var(--color-lime), var(--color-orange)); box-shadow: inset 0 0 0 3px var(--color-white); }
.phone__dots { display: flex; gap: 3px; margin-inline-start: auto; }
.phone__dots i { width: 4px; height: 4px; border-radius: 999px; background: currentColor; opacity: 0.5; }
.phone__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 1;
  padding: 16px;
  border-radius: 20px;
  background: radial-gradient(circle at 70% 30%, var(--color-yellow) 0 18%, transparent 19%), linear-gradient(160deg, var(--color-orange), var(--color-deep-green));
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}
.phone__play { position: absolute; inset-block-start: 14px; inset-inline-start: 14px; width: 28px; height: 28px; }
.phone__icons { display: flex; gap: 14px; }
.phone__icons .icon { width: 22px; height: 22px; }
.phone__icons .icon:first-child { color: var(--color-orange); fill: var(--color-orange); }
.phone__label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-orange-text); }
.phone__stats { display: flex; flex-wrap: wrap; gap: 6px; }
.phone__stats li { padding: 6px 10px; border-radius: 999px; background: var(--color-lime); font-size: 12px; font-weight: 700; }

/* Hero art: ads dashboard */
.dash { gap: 14px; padding: 24px; }
.dash__head { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-orange-text); }
.dash__live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgb(140 198 63 / 0.2); color: var(--color-deep-green); }
.dash__live i { width: 8px; height: 8px; border-radius: 999px; background: var(--color-lime); }
.dash__metric { font-family: var(--font-heading); font-size: clamp(32px, 3.4vw, 44px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.dash__trend { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.dash__trend .icon { width: 20px; height: 20px; color: var(--color-lime); transform: scaleY(-1); }
.dash__bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding-block-start: 8px; border-block-end: 2px solid rgb(16 78 67 / 0.12); }
.dash__bars i { flex: 1; border-radius: 8px 8px 0 0; background: var(--color-cream); }
.dash__bars i:nth-child(1) { height: 95%; } .dash__bars i:nth-child(2) { height: 88%; }
.dash__bars i:nth-child(3) { height: 80%; } .dash__bars i:nth-child(4) { height: 70%; }
.dash__bars i:nth-child(5) { height: 62%; } .dash__bars i:nth-child(6) { height: 50%; }
.dash__bars i:nth-child(7) { height: 44%; } .dash__bars i:nth-child(8) { height: 36%; background: var(--color-orange); }
.dash__platforms { display: flex; gap: 8px; }
.dash__platforms li { padding: 6px 12px; border-radius: 999px; background: var(--color-deep-green); color: var(--color-cream); font-size: 12px; font-weight: 700; }

/* Hero art: browser with one clear button */
.browser { gap: 0; padding: 0; overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: rgb(16 78 67 / 0.06); }
.browser__url { flex: 1; padding: 6px 12px; border-radius: 999px; background: var(--color-white); font-size: 12px; font-weight: 500; }
.browser__page { display: grid; gap: 4px; padding: 28px 24px 20px; }
.browser__btn {
  position: relative;
  justify-self: start;
  margin-block: 16px 20px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--color-orange);
  color: var(--color-white);
  font-weight: 700;
  box-shadow: 0 0 0 6px rgb(236 94 16 / 0.18);
}
.browser__cursor { position: absolute; inset-block-end: -18px; inset-inline-end: -14px; width: 26px; height: 26px; fill: var(--color-deep-green); stroke: var(--color-white); stroke-width: 1.5; }
.browser__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.browser__cards i { height: 56px; border-radius: 10px; background: var(--color-cream); }
.browser__cards i:nth-child(2) { background: rgb(140 198 63 / 0.35); }
.browser__note { padding: 12px 24px 18px; font-size: 13px; font-weight: 700; color: var(--color-orange-text); }

/* Hero art: brand board */
.board { grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; }
.board > * { border-radius: 16px; }
.board__logo {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 20px;
  background: var(--color-deep-green);
  color: var(--color-cream);
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.board__mark { width: 40px; height: 40px; border-radius: 12px 12px 12px 2px; background: var(--color-yellow); transform: rotate(-8deg); }
.board__swatches { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.board__swatches i { min-height: 56px; }
.board__swatches i:nth-child(1) { background: var(--color-orange); }
.board__swatches i:nth-child(2) { background: var(--color-yellow); }
.board__swatches i:nth-child(3) { background: var(--color-lime); }
.board__swatches i:nth-child(4) { background: var(--color-cream); }
.board__type { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--color-cream); }
.board__aa { font-family: var(--font-heading); font-size: 48px; font-weight: 800; line-height: 1; }
.board__abc { font-size: 12px; font-weight: 700; line-height: 1.6; text-align: end; }
.board__voice { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.board__voice li { padding: 6px 12px; border: 1.5px solid var(--color-deep-green); border-radius: 999px; font-size: 12px; font-weight: 700; }

/* Hero art: one plan in the middle, the channels around it */
.orbit { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin-inline: auto; }
.orbit__ring { position: absolute; inset: 14%; border: 2px dashed rgb(16 78 67 / 0.3); border-radius: 999px; }
.orbit__core {
  position: absolute;
  inset: 33%;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--color-deep-green);
  color: var(--color-yellow);
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 0 0 12px var(--color-cream), var(--shadow-lift);
}
.orbit__items li {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: 0;
  height: 0;
  transform: rotate(calc(var(--i) * 72deg - 90deg)) translateX(clamp(118px, 13vw, 150px)) rotate(calc(var(--i) * -72deg + 90deg));
}
.orbit__items span {
  position: absolute;
  translate: -50% -50%;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--color-white);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgb(16 78 67 / 0.14), 0 0 0 1px rgb(16 78 67 / 0.08);
}
.orbit__items li:nth-child(2) span { background: var(--color-yellow); }
.orbit__items li:nth-child(4) span { background: var(--color-lime); }
[dir="rtl"] .orbit__items span { translate: 50% -50%; }
.orbit + .svc-bubble { inset-block-end: -48px; inset-inline-start: auto; inset-inline-end: 0; transform: rotate(3deg); }
.phone + .svc-bubble { inset-block: -12px auto; }
.board + .svc-bubble { inset-block: -36px auto; inset-inline: auto -8px; transform: rotate(3deg); max-width: 230px; }
.svc-hero__art:has(.board) { padding-block: 32px 0; }
.svc-hero__art:has(.phone) { padding-block: 24px 0; }

/* Search beyond Google: SEO, AEO, GEO */
.svc-ai__top { row-gap: 48px; align-items: center; }
.svc-ai__head .eyebrow { margin-block-end: 16px; }
.svc-ai__head .lead { margin-block-start: 24px; color: rgb(255 255 255 / 0.85); }
@media (min-width: 1024px) {
  .svc-ai__head { grid-column: 1 / span 6; }
  .spot { grid-column: 8 / span 5; }
}
.chat { display: grid; gap: 14px; }
.chat__msg { max-width: 34ch; padding: 14px 18px; border-radius: 20px; line-height: 1.45; }
.chat__msg--user {
  justify-self: end;
  border-end-end-radius: 4px;
  background: var(--color-cream);
  color: var(--color-deep-green);
  font-weight: 500;
}
.chat__msg--ai {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  max-width: 40ch;
  border-end-start-radius: 4px;
  background: rgb(255 255 255 / 0.08);
  color: var(--color-white);
}
.chat__avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--color-lime); color: var(--color-deep-green); }
.chat__avatar .icon { width: 18px; height: 18px; }
.chat__note { display: flex; align-items: center; gap: 8px; padding-inline-start: 56px; font-size: 14px; font-weight: 700; color: var(--color-yellow); }
.chat__note .icon { width: 18px; height: 18px; transform: rotate(45deg); }

.layers { display: grid; gap: 16px; margin-block-start: 64px; }
@media (min-width: 768px) { .layers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.layer {
  position: relative;
  padding: 28px 24px;
  border: 1px solid rgb(255 229 179 / 0.18);
  border-radius: 20px;
  transition: background-color 200ms ease-out, border-color 200ms ease-out;
}
@media (min-width: 768px) { .layer { padding: 32px; } }
.layer:hover { background: rgb(255 255 255 / 0.05); border-color: rgb(255 229 179 / 0.35); }
.layer__tag {
  font-family: var(--font-heading);
  font-size: clamp(44px, 4.4vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-yellow);
}
.layer:nth-child(2) .layer__tag { color: var(--color-lime); }
.layer:nth-child(3) .layer__tag { color: var(--color-cream); }
.layer__title { margin-block-start: 12px; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-white); }
.layer__where { margin-block: 16px; padding-block: 12px; border-block: 1px solid rgb(255 229 179 / 0.15); font-size: 15px; font-weight: 500; color: var(--color-lime); }
.layer__text { color: rgb(255 255 255 / 0.85); }

/* Signature visuals (on the dark section) */
.spot { display: grid; gap: 16px; }
.svc-ai__link { margin-block-start: 24px; color: var(--color-yellow); }

.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.feed li {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 1;
  padding: 10px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.08);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-cream);
}
.feed li:nth-child(1) { background: var(--color-orange); color: var(--color-white); }
.feed li:nth-child(3) { background: var(--color-lime); color: var(--color-deep-green); }
.feed li:nth-child(5) { background: var(--color-yellow); color: var(--color-deep-green); }
.feed li:nth-child(7) { background: var(--color-cream); color: var(--color-deep-green); }
.feed li:nth-child(9) { background: var(--color-orange); color: var(--color-white); }

.funnel { display: grid; gap: 8px; justify-items: center; }
.funnel__step {
  width: calc(100% - var(--i) * 12%);
  padding: 14px 20px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.08);
  color: rgb(255 255 255 / 0.7);
  font-weight: 700;
  text-align: center;
}
.funnel__step--focus { background: var(--color-yellow); color: var(--color-deep-green); box-shadow: 0 10px 30px rgb(250 170 31 / 0.25); }
.funnel__step--focus + .funnel__step--focus { background: var(--color-lime); }

.flow { display: grid; gap: 10px; counter-reset: flow; }
.flow__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.08);
  font-weight: 700;
  counter-increment: flow;
}
.flow__step::before {
  content: counter(flow);
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--color-cream);
  color: var(--color-deep-green);
  font-size: 14px;
}
.flow__step + .flow__step::after {
  content: "";
  position: absolute;
  inset-block-start: -10px;
  inset-inline-start: 33px;
  width: 2px;
  height: 10px;
  background: rgb(255 229 179 / 0.4);
}
.flow__step:last-child { background: var(--color-orange); color: var(--color-white); }
.flow__step:last-child::before { background: var(--color-yellow); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compare__label { margin-block-end: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(255 255 255 / 0.7); }
.compare__card--brand .compare__label { color: var(--color-lime); }
.compare__post { display: grid; gap: 4px; padding: 10px; border-radius: 18px; background: var(--color-white); }
.compare__img { display: grid; place-items: end start; aspect-ratio: 1; padding: 12px; border-radius: 12px; background: #d9dedc; }
.compare__card--plain .compare__post { filter: grayscale(1); opacity: 0.75; }
.compare__card--brand .compare__post { transform: rotate(2deg); box-shadow: 0 16px 36px rgb(0 0 0 / 0.25); }
.compare__card--brand .compare__img { background: radial-gradient(circle at 75% 25%, var(--color-yellow) 0 20%, transparent 21%), var(--color-orange); }
.compare__img b { font-family: var(--font-heading); font-size: clamp(16px, 1.8vw, 22px); font-weight: 800; line-height: 1.05; color: var(--color-white); }
.compare .mock__line { background: rgb(16 78 67 / 0.15); }

.stack { display: grid; gap: 12px; padding: 24px; border-radius: 20px; background: var(--color-white); color: var(--color-deep-green); }
.stack__row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; font-size: 14px; font-weight: 700; }
.stack__bar { height: 12px; border-radius: 999px; background: var(--color-cream); overflow: hidden; }
.stack__bar i { display: block; height: 100%; border-radius: 999px; background: var(--color-deep-green); }
.stack__row:nth-child(2) .stack__bar i { background: var(--color-orange); }
.stack__row:nth-child(3) .stack__bar i { background: var(--color-lime); }
.stack__row:nth-child(4) .stack__bar i { background: var(--color-yellow); }
.stack__total { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 6px; padding: 14px 16px; border-radius: 14px; background: var(--color-deep-green); color: var(--color-yellow); font-family: var(--font-heading); font-size: 18px; font-weight: 800; }
.stack__total .icon { color: var(--color-lime); }

/* What's in the work: a bento of coloured tiles */
.bento { display: grid; gap: 16px; margin-block-start: 48px; }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-block-start: 64px; }
  .bento__tile { grid-column: span 2; }
  .bento__tile:nth-child(1) { grid-column: span 4; }
  .bento__tile:nth-child(6) { grid-column: span 6; min-height: 0; flex-direction: row; align-items: center; gap: 24px; }
  .bento__tile:nth-child(6) .bento__icon { margin-block-end: 0; }
  .bento__tile:nth-child(6) .bento__title { margin-block-start: 0; flex: none; width: 30%; }
}
.bento__tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  padding: 28px;
  border-radius: 24px;
  background: var(--color-cream);
  transition: transform 200ms ease-out;
}
.bento__tile:nth-child(1) { background: var(--color-deep-green); color: var(--color-cream); }
.bento__tile:nth-child(4) { background: var(--color-yellow); }
.bento__tile:nth-child(5) { background: var(--color-lime); }
.bento__tile:nth-child(6) { background: var(--color-deep-green); color: var(--color-cream); }
.bento__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-block-end: auto;
  border-radius: 16px;
  background: var(--color-white);
  color: var(--color-deep-green);
}
.bento__tile:nth-child(1) .bento__icon,
.bento__tile:nth-child(6) .bento__icon { background: var(--color-yellow); }
.bento__title {
  margin-block-start: 24px;
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
@media (hover: hover) and (pointer: fine) { .bento__tile:hover { transform: translateY(-4px) rotate(-0.5deg); } }

/* Mid-page call to action */
.mid-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-block-start: 48px;
  padding: 32px 24px;
  border: 2px dashed var(--color-orange);
  border-radius: 24px;
  background: rgb(236 94 16 / 0.05);
}
@media (min-width: 768px) {
  .mid-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 48px; padding: 36px 40px; }
}
.mid-cta__title {
  margin-block-end: 6px;
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

/* Process as a timeline */
.timeline { position: relative; display: grid; gap: 32px; margin-block-start: 48px; }
.timeline::before {
  content: "";
  position: absolute;
  inset-block: 28px;
  inset-inline-start: 27px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--color-deep-green) 0 6px, transparent 6px 12px);
  opacity: 0.35;
}
.timeline__step { position: relative; padding-inline-start: 80px; }
.timeline__dot {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--color-deep-green);
  color: var(--color-yellow);
  box-shadow: 0 0 0 6px var(--color-cream);
}
.timeline__number { font-family: var(--font-heading); font-size: 14px; font-weight: 800; color: var(--color-orange-text); }
.timeline__name { margin-block: 4px 8px; font-family: var(--font-heading); font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; line-height: 1.1; }
@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-block-start: 64px; }
  .timeline::before {
    inset-block: 27px auto;
    inset-inline: 28px 28px;
    width: auto;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--color-deep-green) 0 6px, transparent 6px 12px);
  }
  .timeline__step { padding-inline-start: 0; padding-block-start: 80px; }
  .timeline__step:nth-child(4) .timeline__dot { background: var(--color-orange); color: var(--color-white); }
}

/* How we measure it: a mock report */
.svc-measure { row-gap: 48px; align-items: center; }
.svc-measure__head .eyebrow { margin-block-end: 16px; }
.svc-measure__head .lead { margin-block-start: 24px; }
@media (min-width: 1024px) {
  .svc-measure__head { grid-column: 1 / span 5; }
  .report { grid-column: 7 / span 6; }
}
.report {
  overflow: hidden;
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: 0 30px 60px rgb(16 78 67 / 0.14), 0 0 0 1px rgb(16 78 67 / 0.08);
  transform: rotate(-1deg);
}
.report__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--color-deep-green);
  color: var(--color-cream);
  font-size: 14px;
  font-weight: 700;
}
.report__dots { display: flex; gap: 6px; }
.report__dots i { width: 10px; height: 10px; border-radius: 999px; background: var(--color-orange); }
.report__dots i:nth-child(2) { background: var(--color-yellow); }
.report__dots i:nth-child(3) { background: var(--color-lime); }
.report__body { padding: 24px; }
@media (min-width: 768px) { .report__body { padding: 32px; } }
.report__title { margin-block-end: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-orange-text); }
.report__title--no { margin-block-start: 28px; padding-block-start: 24px; border-block-start: 1px dashed rgb(16 78 67 / 0.25); }
.report__list { display: grid; gap: 12px; }
.report__list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-weight: 500; }
.report__list .icon { width: 22px; height: 22px; color: var(--color-lime); stroke-width: 2.5; }
.report__list--no li { color: rgb(16 78 67 / 0.6); font-weight: 400; }
.report__list--no .icon { color: var(--color-orange); }
.report__list--no s { text-decoration-color: var(--color-orange); text-decoration-thickness: 2px; }

/* Straight talk: three short notes in a row */
.svc-straight__list { display: grid; gap: 16px; margin-block-start: 48px; }
@media (min-width: 768px) { .svc-straight__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.svc-straight__item { padding: 28px; border-radius: 20px; background: var(--color-white); }
.svc-straight__item .icon-badge { margin-block-end: 20px; color: var(--color-yellow); }
.svc-straight__item .h3 { margin-block-end: 10px; }

/* Sticky call to action */
.sticky-cta {
  position: fixed;
  inset-inline: 12px;
  inset-block-end: 12px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: var(--color-deep-green);
  box-shadow: 0 16px 40px rgb(16 78 67 / 0.3);
  transition: transform 300ms var(--ease-reveal), opacity 300ms ease-out;
}
.sticky-cta.is-away { transform: translateY(140%); opacity: 0; pointer-events: none; }
.sticky-cta .btn { flex: 1; min-height: 44px; padding-block: 12px; font-size: 17px; }
.sticky-cta__text { display: none; }
.sticky-cta__wa {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--color-lime);
  color: var(--color-deep-green);
}
@media (min-width: 768px) {
  .sticky-cta { inset-inline: auto 24px; inset-block-end: 24px; padding: 8px 8px 8px 24px; }
  [dir="rtl"] .sticky-cta { inset-inline: 24px auto; padding: 8px 24px 8px 8px; }
  .sticky-cta__text { display: block; max-width: none; margin-inline-end: 8px; font-weight: 700; color: var(--color-cream); white-space: nowrap; }
  .sticky-cta .btn { flex: none; }
}

/* FAQ */
.svc-faq { row-gap: 40px; }
.svc-faq__head .eyebrow { margin-block-end: 16px; }
@media (min-width: 1024px) {
  .svc-faq__head { grid-column: 1 / span 4; }
  .faq { grid-column: 6 / span 7; }
}
.faq { border-block-start: 1px solid rgb(16 78 67 / 0.15); }
.faq__item { border-block-end: 1px solid rgb(16 78 67 / 0.15); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  padding-block: 22px;
  font-family: var(--font-heading);
  font-size: clamp(19px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__toggle {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--color-cream);
  transition: background-color 150ms ease-out;
}
.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  inset-block-start: 17px;
  inset-inline-start: 11px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-deep-green);
  transition: transform 200ms ease-out;
}
.faq__toggle::after { transform: rotate(90deg); }
.faq__item[open] .faq__toggle { background: var(--color-yellow); }
.faq__item[open] .faq__toggle::after { transform: rotate(0deg); }
.faq__q:hover .faq__toggle { background: var(--color-yellow); }
.faq__a { padding-block-end: 24px; padding-inline-end: 60px; }

/* Closing call to action */
.svc-cta-wrap { padding-block: var(--section-pad); }
.svc-cta {
  position: relative;
  padding: 40px 24px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--color-deep-green);
  color: var(--color-cream);
}
@media (min-width: 768px) { .svc-cta { padding: 64px; } }
.svc-cta::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--color-cream) 0 25%, var(--color-yellow) 25% 50%, var(--color-orange) 50% 75%, var(--color-lime) 75%);
}
.svc-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-yellow);
}
.svc-cta .lead { margin-block: 20px 32px; color: rgb(255 255 255 / 0.88); }
.svc-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.svc-cta__alt { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 700; text-underline-offset: 4px; }

/* Services listing */
.svc-index-main { overflow-x: clip; }
.svc-index-hero { position: relative; padding-block-end: 56px; isolation: isolate; }
@media (min-width: 1024px) { .svc-index-hero { padding-block-end: 80px; } }
.svc-index__head { max-width: 860px; padding-block-start: 24px; }
@media (min-width: 1024px) { .svc-index__head { padding-block-start: 48px; } }
.svc-index__eyebrow { margin-block-end: 20px; }
.svc-index__title { max-width: 14ch; font-size: clamp(42px, 6.4vw, 84px); }
.svc-index__intro { max-width: 58ch; margin-block-start: 28px; }
.svc-index__chips { margin-block-start: 28px; }

/* Entrance: the heading lines rise in one after another */
.js .svc-index__head > * { opacity: 0; translate: 0 28px; animation: rise-in 800ms var(--ease-reveal) forwards; }
.js .svc-index__head > :nth-child(2) { animation-delay: 90ms; }
.js .svc-index__head > :nth-child(3) { animation-delay: 180ms; }
.js .svc-index__head > :nth-child(4) { animation-delay: 270ms; }
@keyframes rise-in { to { opacity: 1; translate: 0 0; } }

/* Soft brand-colour shapes drifting behind the heading */
.svc-index-hero__blob { position: absolute; z-index: -1; border-radius: 999px; filter: blur(2px); opacity: 0.9; }
.svc-index-hero__blob--a {
  inset-block-start: 40px;
  inset-inline-end: -80px;
  width: clamp(180px, 28vw, 380px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 35%, var(--color-yellow), var(--color-orange) 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
.svc-index-hero__blob--b {
  inset-block-end: 20px;
  inset-inline-end: 22%;
  width: clamp(80px, 10vw, 140px);
  aspect-ratio: 1;
  background: var(--color-lime);
  animation: drift 10s ease-in-out -4s infinite alternate-reverse;
}
@media (max-width: 767px) {
  .svc-index-hero__blob--a { inset-block-start: auto; inset-block-end: -40px; inset-inline-end: -90px; opacity: 0.5; }
  .svc-index-hero__blob--b { display: none; }
}
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 18px) scale(1.06); }
  100% { transform: translate(12px, -14px) scale(0.96); }
}

/* Ticker of complaints */
.ticker {
  padding-block: 18px;
  overflow: hidden;
  background: var(--color-deep-green);
  transform: rotate(-1.5deg);
  margin-inline: -16px;
  box-shadow: 0 20px 40px rgb(16 78 67 / 0.18);
}
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding-inline-end: 32px;
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.015em;
  white-space: nowrap;
  color: var(--color-cream);
}
.ticker__item:nth-child(even) { color: var(--color-yellow); }
.ticker__item::after { content: ""; width: 14px; height: 14px; border-radius: 999px; background: var(--color-orange); }
@keyframes ticker { to { transform: translateX(-50%); } }
[dir="rtl"] .ticker__track { animation-name: ticker-rtl; }
@keyframes ticker-rtl { to { transform: translateX(50%); } }

/* Service cards */
.svc-index { padding-block: 72px 0; }
@media (min-width: 1024px) { .svc-index { padding-block-start: 96px; } }
.svc-list { display: grid; gap: 16px; }
@media (min-width: 768px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .svc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-card {
  --accent: var(--color-orange);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--color-cream);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: background-color 250ms ease-out, transform 250ms var(--ease-reveal), box-shadow 250ms ease-out;
}
@media (min-width: 768px) { .svc-card { padding: 32px; } }
.svc-card:nth-child(6n+2) { --accent: var(--color-lime); }
.svc-card:nth-child(6n+3) { --accent: var(--color-yellow); }
.svc-card:nth-child(6n+4) { --accent: var(--color-deep-green); }
.svc-card:nth-child(6n+5) { --accent: var(--color-orange); }
.svc-card:nth-child(6n) { --accent: var(--color-lime); }
/* A colour wash that grows from the corner on hover */
.svc-card::before {
  content: "";
  position: absolute;
  inset-block-start: -60px;
  inset-inline-end: -60px;
  z-index: 0;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.18;
  transition: transform 500ms var(--ease-reveal), opacity 300ms ease-out;
}
.svc-card > :not(.svc-card__name) { position: relative; z-index: 1; }
.svc-card__top { display: flex; align-items: center; justify-content: space-between; margin-block-end: 28px; }
.svc-card__icon { background: var(--color-deep-green); color: var(--color-cream); transition: transform 400ms var(--ease-reveal), background-color 250ms ease-out; }
.svc-card__number { font-family: var(--font-heading); font-size: 15px; font-weight: 800; color: var(--color-orange-text); }
.svc-card__quote { margin-block-end: 20px; }
.svc-card__name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange-text);
}
@media (min-width: 1024px) { .svc-card__name { font-size: 14px; } }
.svc-card__link { color: inherit; text-decoration: none; }
.svc-card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 24px; }
@supports selector(:has(a)) {
  .svc-card__link:focus-visible { outline: none; }
  .svc-card:has(.svc-card__link:focus-visible) { outline: 3px solid var(--color-deep-green); outline-offset: 3px; }
}
.svc-card__text { margin-block-start: 12px; }
.svc-card__list { display: grid; gap: 8px; margin-block: 20px 4px; padding-block-start: 20px; border-block-start: 1px solid rgb(16 78 67 / 0.15); font-size: 15px; line-height: 1.45; }
.svc-card__list li { position: relative; padding-inline-start: 22px; }
.svc-card__list li::before {
  content: "";
  position: absolute;
  inset-block-start: 0.5em;
  inset-inline-start: 2px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-lime);
}
.svc-card__more { margin-block-start: auto; padding-block-start: 24px; font-size: 16px; }
.svc-card__soon {
  align-self: flex-start;
  margin-block-start: auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(16 78 67 / 0.08);
  font-size: 13px;
  font-weight: 700;
}
@media (hover: hover) and (pointer: fine) {
  .svc-card:has(.svc-card__link):hover { background: var(--color-yellow); transform: translateY(-6px) rotate(-0.4deg); box-shadow: var(--shadow-lift); }
  .svc-card:has(.svc-card__link):hover::before { transform: scale(4.5); opacity: 0.22; }
  .svc-card:has(.svc-card__link):hover .svc-card__icon { transform: rotate(-12deg) scale(1.08); background: var(--color-orange); }
  .svc-card:has(.svc-card__link):hover .svc-card__name,
  .svc-card:has(.svc-card__link):hover .svc-card__number,
  .svc-card:has(.svc-card__link):hover .svc-card__more { color: var(--color-deep-green); }
  .svc-card:has(.svc-card__link):hover .svc-card__more .icon { transform: translateX(6px); }
}

/* ---------- Portfolio ---------- */
.pf-list-wrap { padding-block-start: 16px; }
.pf-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 32px; }
.pf-filter {
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--color-cream);
  font-size: 15px;
  font-weight: 700;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.pf-filter:hover { background: var(--color-yellow); }
.pf-filter.is-active { background: var(--color-deep-green); color: var(--color-cream); }

.pf-list { display: grid; gap: 24px; }
@media (min-width: 768px) { .pf-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  background: var(--color-cream);
  transition: transform 300ms var(--ease-reveal), box-shadow 300ms ease-out;
}
.pf-card .pf-fan { order: -1; }
.pf-card__info { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 28px 28px; }
@media (min-width: 1024px) { .pf-card__info { padding: 28px 36px 36px; } }
.pf-card__logo {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--color-white);
  box-shadow: 0 8px 20px rgb(16 78 67 / 0.08);
}
.pf-card__logo img { width: auto; height: 44px; }
.pf-card__industry { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-orange-text); }
.pf-card__name {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.pf-card__link { color: inherit; text-decoration: none; }
.pf-card__link::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 28px; }
@supports selector(:has(a)) {
  .pf-card__link:focus-visible { outline: none; }
  .pf-card:has(.pf-card__link:focus-visible) { outline: 3px solid var(--color-deep-green); outline-offset: 3px; }
}
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-tags li > *, .pf-tags--plain li {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.pf-tags a:hover { background: var(--color-yellow); }
.pf-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-block-start: 10px; }
.pf-card__count { font-size: 14px; font-weight: 500; color: rgb(16 78 67 / 0.75); }
.pf-card__more { font-size: 17px; }

/* Three designs fanned out like cards in a hand */
.pf-fan { position: relative; z-index: 0; height: clamp(230px, 24vw, 320px); overflow: hidden; background: var(--color-deep-green); }
.pf-card:nth-child(4n+2) .pf-fan, .pf-card:nth-child(4n+3) .pf-fan { background: var(--color-yellow); }
.pf-fan img {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  width: 44%;
  max-width: 240px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgb(16 78 67 / 0.22);
  transition: transform 500ms var(--ease-reveal);
}
.pf-fan img:nth-child(1) { z-index: 1; transform: translate(-92%, -50%) rotate(-10deg); }
.pf-fan img:nth-child(2) { z-index: 3; transform: translate(-50%, -54%) rotate(0deg); }
.pf-fan img:nth-child(3) { z-index: 2; transform: translate(-8%, -50%) rotate(10deg); }
@media (max-width: 899px) {
  .pf-fan img { width: 48%; }
  .pf-fan img:nth-child(1) { transform: translate(-84%, -50%) rotate(-10deg); }
  .pf-fan img:nth-child(3) { transform: translate(-16%, -50%) rotate(10deg); }
}
[dir="rtl"] .pf-fan img:nth-child(1) { transform: translate(-8%, -50%) rotate(10deg); }
[dir="rtl"] .pf-fan img:nth-child(3) { transform: translate(-92%, -50%) rotate(-10deg); }
@media (hover: hover) and (pointer: fine) {
  .pf-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
  .pf-card:hover .pf-fan img:nth-child(1) { transform: translate(-112%, -48%) rotate(-14deg); }
  .pf-card:hover .pf-fan img:nth-child(2) { transform: translate(-50%, -60%) rotate(-2deg) scale(1.04); }
  .pf-card:hover .pf-fan img:nth-child(3) { transform: translate(12%, -48%) rotate(14deg); }
  .pf-card:hover .pf-card__more .icon { transform: translateX(6px); }
}

/* Client page */
.pfc-hero { padding-block-end: 64px; }
.pfc-hero__layout { row-gap: 40px; align-items: end; padding-block-start: 24px; }
@media (min-width: 1024px) {
  .pfc-hero__layout { padding-block-start: 48px; }
  .pfc-hero__text { grid-column: 1 / span 7; }
  .pfc-facts { grid-column: 9 / span 4; }
}
.pfc-hero__logo { margin-block-end: 28px; }
.pfc-hero__logo img { height: 56px; }
.pfc-hero__text .eyebrow { margin-block-end: 12px; }
.pfc-hero__title { font-size: clamp(52px, 8vw, 112px); }
.pfc-hero__sub { max-width: 52ch; margin-block-start: 20px; }
.pfc-facts { display: grid; }
.pfc-facts__row { display: grid; gap: 8px; padding-block: 16px; border-block-start: 1px solid rgb(16 78 67 / 0.15); }
.pfc-facts__row:last-child { border-block-end: 1px solid rgb(16 78 67 / 0.15); }
.pfc-facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-orange-text); }
.pfc-facts dd { margin: 0; font-weight: 500; }
.pfc-facts dd a { text-underline-offset: 3px; }
.pfc-facts .pf-tags li > * { background: var(--color-cream); }
.pfc-facts .pf-tags a:hover { background: var(--color-yellow); }
.pfc-facts__platforms { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pfc-facts__platforms a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-weight: 700; text-decoration: none; }
.pfc-facts__platforms a:hover { text-decoration: underline; }
.pfc-facts__platforms .icon { width: 20px; height: 20px; color: var(--color-orange-text); }

/* The work, sliding past on a tilted band */
.pf-strip {
  padding-block: 16px;
  overflow: hidden;
  background: var(--color-deep-green);
  transform: rotate(-2deg);
  margin-inline: -24px;
  box-shadow: 0 24px 48px rgb(16 78 67 / 0.2);
}
.pf-strip__track { display: flex; gap: 14px; width: max-content; padding-inline-end: 14px; animation: ticker 70s linear infinite; }
.pf-strip:hover .pf-strip__track { animation-play-state: paused; }
.pf-strip img { width: auto; height: clamp(150px, 16vw, 230px); border-radius: 12px; }
[dir="rtl"] .pf-strip__track { animation-name: ticker-rtl; }

/* What we did */
.pfc-did-wrap { padding-block-end: 0; }
.pfc-did__title { margin-block-end: 24px; }
.pfc-did { display: grid; gap: 16px; }
@media (min-width: 768px) { .pfc-did { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; } }
.pfc-did__item { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 24px; background: var(--color-cream); }
.pfc-did__item:nth-child(1) { background: var(--color-deep-green); color: var(--color-cream); }
.pfc-did__item:nth-child(1) .bento__icon { background: var(--color-yellow); }
.pfc-did__item:nth-child(2) { background: var(--color-yellow); }
.pfc-did__item:nth-child(3) { background: var(--color-lime); }
.pfc-did__item .bento__icon { margin-block-end: 12px; }
.pfc-did__name { font-family: var(--font-heading); font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; line-height: 1.1; }

/* The grid of designs; the middle column sits lower, for rhythm */
.pfc-work { margin-block-start: var(--section-pad); }
.pfc-work__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.pfc-work__head .eyebrow { margin-block-end: 16px; }
.pfc-work__hint { font-size: 15px; font-weight: 500; color: rgb(16 78 67 / 0.75); }
.pfc-grid { columns: 1; column-gap: 16px; margin-block-start: 48px; }
.pfc-grid__item { break-inside: avoid; margin-block-end: 16px; }
@media (min-width: 640px) { .pfc-grid { columns: 2; column-gap: 20px; } .pfc-grid__item { margin-block-end: 20px; } }
@media (min-width: 1024px) { .pfc-grid { columns: 3; column-gap: 24px; margin-block-start: 64px; } .pfc-grid__item { margin-block-end: 24px; } }
.pfc-grid__link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: 0 16px 36px rgb(16 78 67 / 0.14);
  transition: box-shadow 300ms ease-out, transform 300ms var(--ease-reveal);
}
.pfc-grid__link img { width: 100%; height: auto; transition: transform 600ms var(--ease-reveal); }
.pfc-grid__zoom {
  position: absolute;
  inset-block-end: 14px;
  inset-inline-end: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--color-yellow);
  color: var(--color-deep-green);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 200ms ease-out, transform 300ms var(--ease-reveal);
}
.pfc-grid__zoom .icon { width: 20px; height: 20px; }
.pfc-grid__link:focus-visible .pfc-grid__zoom { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .pfc-grid__link:hover { transform: translateY(-6px); box-shadow: 0 28px 56px rgb(16 78 67 / 0.22); }
  .pfc-grid__link:hover img { transform: scale(1.05); }
  .pfc-grid__link:hover .pfc-grid__zoom { opacity: 1; transform: none; }
}
@media (hover: none) { .pfc-grid__zoom { opacity: 1; transform: none; width: 36px; height: 36px; } }

/* Full-size viewer */
.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(16 78 67 / 0.96);
  color: var(--color-cream);
}
.lightbox::backdrop { background: rgb(16 78 67 / 0.6); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; animation: lb-in 250ms ease-out; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__figure { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; padding: 64px 8px 24px; }
.lightbox__img {
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 150px);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.4);
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 250ms ease-out, transform 300ms var(--ease-reveal);
}
.lightbox__img.is-loaded { opacity: 1; transform: none; }
.lightbox__caption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; max-width: 70ch; font-size: 14px; text-align: center; }
.lightbox__caption [data-lb-count] { font-weight: 700; color: var(--color-yellow); }
.lightbox__btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--color-cream);
  color: var(--color-deep-green);
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.lightbox__btn:hover { background: var(--color-yellow); transform: scale(1.06); }
.lightbox__close { position: absolute; inset-block-start: 4px; inset-inline-end: 4px; color: var(--color-deep-green); }
.lightbox__close .menu-panel__x { color: var(--color-deep-green); }
[dir="rtl"] .lightbox__prev .icon, [dir="rtl"] .lightbox__next .icon { transform: scaleX(-1); }
@media (max-width: 639px) {
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__prev { grid-row: 2; justify-self: end; }
  .lightbox__next { grid-row: 2; justify-self: start; }
}

.pf-tags__more { background: var(--color-deep-green) !important; color: var(--color-cream); }

/* Portfolio hero: a few real designs pinned up beside the heading */
.pf-hero { position: relative; }
.pf-hero-art { display: none; }
@media (min-width: 1024px) {
  .pf-hero .svc-index__head { max-width: 56%; }
  .pf-hero-art {
    display: block;
    position: absolute;
    inset-block-start: 72px;
    inset-inline-end: max(var(--gutter), calc((100vw - 1200px) / 2));
    width: clamp(320px, 32vw, 440px);
    aspect-ratio: 1;
  }
  .pf-hero-art img {
    position: absolute;
    width: 50%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 6px solid var(--color-white);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgb(16 78 67 / 0.2);
    opacity: 0;
    animation: pin-in 900ms var(--ease-reveal) forwards, bob 7s ease-in-out 900ms infinite alternate;
  }
  .pf-hero-art img:nth-child(1) { inset-block-start: 0; inset-inline-start: 6%; rotate: -8deg; animation-delay: 150ms, 1s; }
  .pf-hero-art img:nth-child(2) { inset-block-start: 8%; inset-inline-end: 0; rotate: 7deg; animation-delay: 300ms, 1.6s; }
  .pf-hero-art img:nth-child(3) { inset-block-end: 2%; inset-inline-start: 0; rotate: 5deg; animation-delay: 450ms, 2.2s; }
  .pf-hero-art img:nth-child(4) { inset-block-end: 0; inset-inline-end: 10%; rotate: -5deg; z-index: 1; animation-delay: 600ms, 2.8s; }
}
@keyframes pin-in { from { opacity: 0; translate: 0 40px; scale: 0.9; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -12px; } }

/* ---------- Homepage: portfolio and latest articles ---------- */
.home-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.home-head .eyebrow { margin-block-end: 16px; }
.home-head .h2 + .lead { margin-block-start: 24px; max-width: 52ch; }
.home-head__more { flex: none; }

.home-work__list, .home-posts__list { display: grid; gap: 20px; margin-block-start: 48px; }
@media (min-width: 640px) { .home-work__list, .home-posts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .home-work__list, .home-posts__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-block-start: 64px; } }

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: var(--color-cream);
  transition: transform 300ms var(--ease-reveal), box-shadow 300ms ease-out;
}
.work-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-deep-green); }
.work-card__media > img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 600ms var(--ease-reveal); }
.work-card__logo {
  position: absolute;
  inset-block-end: 14px;
  inset-inline-start: 14px;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: 0 8px 20px rgb(16 78 67 / 0.18);
}
.work-card__logo img { width: auto; height: 28px; }
.work-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px 24px; }
.work-card__industry { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-orange-text); }
.work-card__name { font-family: var(--font-heading); font-size: clamp(24px, 2.2vw, 30px); font-weight: 800; line-height: 1.1; letter-spacing: -0.015em; }
.work-card__link { color: inherit; text-decoration: none; }
.work-card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 24px; }
.work-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 4px; font-size: 14px; font-weight: 500; color: rgb(16 78 67 / 0.75); }
.work-card__go {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--color-deep-green);
  color: var(--color-cream);
  transition: background-color 200ms ease-out, transform 200ms ease-out;
}
.work-card__go .icon { width: 18px; height: 18px; }
[dir="rtl"] .work-card__go .icon { transform: scaleX(-1); }

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px;
  border: 1px solid rgb(16 78 67 / 0.12);
  border-radius: 20px;
  background: var(--color-white);
  transition: transform 300ms var(--ease-reveal), box-shadow 300ms ease-out, border-color 300ms ease-out;
}
.post-card__media { position: relative; aspect-ratio: 1600 / 840; overflow: hidden; border-radius: 14px; background: var(--color-deep-green); }
.post-card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-reveal); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 0 8px 8px; }
.post-card__title { font-family: var(--font-heading); font-size: clamp(20px, 1.8vw, 24px); font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.post-card__link { color: inherit; text-decoration: none; }
.post-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 20px; }
.post-card .slice__byline { margin-block-start: auto; }

@media (hover: hover) and (pointer: fine) {
  .work-card:hover, .post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
  .post-card:hover { border-color: transparent; }
  .work-card:hover .work-card__media > img, .post-card:hover .post-card__media > img { transform: scale(1.05); }
  .work-card:hover .work-card__go { background: var(--color-orange); transform: translateX(4px); }
}
@supports selector(:has(a)) {
  .work-card__link:focus-visible, .post-card__link:focus-visible { outline: none; }
  .work-card:has(.work-card__link:focus-visible), .post-card:has(.post-card__link:focus-visible) { outline: 3px solid var(--color-deep-green); outline-offset: 3px; }
}

/* ---------- Reduced motion: everything in its final state ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0ms !important;
    transition-delay: 0ms !important;
    animation: none !important;
  }
  .js [data-reveal] { opacity: 1; translate: none; }
  .js .svc-index__head > * { opacity: 1; translate: none; }
  .pf-hero-art img { opacity: 1; translate: none; scale: none; }
  .btn:hover, .btn:focus-visible, .card:hover, .text-link:hover .icon,
  .slice:hover, .slice:hover .slice__go, .slice:hover .slice__media img,
  .bento__tile:hover, .svc-card:hover { transform: none !important; }
}
