/* ─────────────────────────────────────────────────────────────────────────
   Ecstatic Minds — brand components
   Loaded after tailwind.css. Tokens live in input.css (:root) and tailwind.config.js.
   ───────────────────────────────────────────────────────────────────────── */

/* ── Type rhythm for the heading font ───────────────────────────────────── */
:is(h1, h2, h3, h4, .d6-section-title, .d6-heading-lines).font-primary { letter-spacing: -0.02em; }
h1.font-primary, h2.font-primary, h3.font-primary,
.d6-section-title { text-wrap: balance; }

/* ── Scroll reveal utilities (only hide content when JS is running) ─────── */
.em-js [data-em-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.em-js [data-em-reveal].is-in { opacity: 1; transform: none; }
.em-js [data-em-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s ease, color 0.3s ease;
}
.em-js [data-em-stagger].is-in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .em-js [data-em-reveal], .em-js [data-em-stagger] > * { opacity: 1; transform: none; transition: none; }
}

/* ── Logo ───────────────────────────────────────────────────────────────── */
.em-logo { display: inline-flex; align-items: center; gap: 10px; color: #000; }
.em-logo .em-mark { height: 34px; width: auto; flex: none; display: block; }
.em-logo-text { display: flex; flex-direction: column; line-height: 1; }
.em-logo-name {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 19px;
  letter-spacing: -0.02em; text-transform: lowercase;
}
.em-logo-sub {
  font-family: 'Drystick Geo Grotesk', 'Drystick', 'Jost', sans-serif; font-weight: 400; font-size: 10.5px;
  letter-spacing: 0.62em; margin-right: -0.62em; text-transform: uppercase; margin-top: 4px; padding-left: 1px;
}
.em-logo-img { height: 34px; width: auto; max-width: 180px; display: block; }

/* ── Header: floating pills, no bar ─────────────────────────────────────── */
.em-header { pointer-events: none; background: transparent !important; }
.em-header a, .em-header #menu-toggle { pointer-events: auto; }
.em-logo-pill {
  display: inline-flex; align-items: center; background: #fff; border-radius: 9999px;
  padding: 7px 20px 7px 9px; min-height: 48px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 12px 28px -18px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.em-logo-pill:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 16px 32px -18px rgba(0, 0, 0, 0.55); }
.em-menu-pill, .em-header-cta {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 9999px;
  font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap; user-select: none;
}
.em-menu-pill {
  background: #fff; color: #000; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 12px 28px -18px rgba(0, 0, 0, 0.45);
  outline: 1.5px solid transparent; outline-offset: 0;
}
.em-menu-pill .d6-menu-label { padding-top: 1px; min-width: 3.4em; text-align: left; }
.em-menu-pill:focus-visible, .em-header-cta:focus-visible, .em-logo-pill:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #000; }
/* the white line keeps the black pill visible over black sections and disappears on white ones */
.em-header-cta {
  background: #000; color: #fff; position: relative; overflow: hidden; z-index: 0;
  outline: 1.5px solid #fff; outline-offset: 0;
}
.em-header-cta::before {
  content: ""; position: absolute; inset: 0; background: #fff; z-index: -1;
  clip-path: inset(0 100% 0 0 round 9999px); transition: clip-path 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 420px) {
  .em-logo-name { font-size: 17px; }
  .em-logo .em-mark { height: 30px; }
  .em-menu-pill { padding: 0 18px; }
}

/* ── Menu overlay ───────────────────────────────────────────────────────── */
.d6-menu-overlay { color: var(--em-ink); }
.em-menu-link { position: relative; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s ease; }
.em-menu-link:hover { transform: translateX(14px); color: var(--em-beige); }
.em-menu-sublink { transition: opacity 0.25s ease, transform 0.3s ease; opacity: 0.75; }
.em-menu-sublink:hover { opacity: 1; transform: translateX(8px); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.em-hero {
  min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  padding-top: calc(104px + clamp(16px, 4vh, 56px)); padding-bottom: clamp(28px, 5vh, 56px);
  background: #000;
}
.em-hero-inner { width: 100%; max-width: 1920px; margin-inline: auto; display: flex; flex-direction: column; gap: clamp(18px, 3vh, 36px); }
.em-hero-eyebrow { align-self: flex-start; }
.em-hero-title {
  font-family: 'Poppins', sans-serif; font-weight: 600; text-transform: uppercase; color: var(--em-ink);
  letter-spacing: -0.03em; line-height: 0.98; font-size: clamp(30px, 8.2vw, 50px); margin: 0;
}
.em-line { display: inline; }
.em-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0.07em 0.02em 0.02em; margin: -0.07em -0.02em -0.02em; }
.em-w > span { display: inline-block; }
.em-w.is-hl { color: var(--em-beige); }
.em-js .em-hero .em-w > span { transform: translateY(112%); }
.em-js .em-hero.is-in .em-w > span { animation: emWordUp 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i) * 42ms + 120ms); }
@keyframes emWordUp { from { transform: translateY(112%); } to { transform: translateY(0); } }
.em-hero-pill {
  display: inline-block; height: 0.7em; width: 1.9em; border-radius: 9999px; overflow: hidden;
  vertical-align: -0.02em; background: rgb(var(--em-ink-rgb) / 0.14); margin: 0 0.06em;
  transform-origin: left center;
}
.em-js .em-hero .em-hero-pill { width: 0; margin-inline: 0; transition: width 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s, margin 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.55s; }
.em-js .em-hero.is-in .em-hero-pill, .em-js .em-hero.is-measuring .em-hero-pill { width: 1.9em; margin-inline: 0.06em; }
.em-hero.is-measuring .em-hero-pill { transition: none !important; }
.em-hero-pill video { width: 100%; height: 100%; object-fit: cover; display: block; }
.em-hero-bottom { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.em-hero-copy { display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.em-hero-sub { font-size: clamp(17px, 1.45vw, 22px); line-height: 1.42; color: rgb(var(--em-ink-rgb) / 0.82); margin: 0; }
.em-hero-badge { position: relative; width: 132px; height: 132px; flex: none; display: none; color: var(--em-ink); }
.em-hero-badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: emSpin 18s linear infinite; }
.em-hero-badge-ring text { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; fill: currentColor; }
.em-hero-badge-core {
  position: absolute; inset: 27%; border-radius: 9999px; background: var(--em-ink); color: var(--em-paper);
  display: grid; place-items: center; transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s ease, color 0.3s ease;
}
.em-hero-badge:hover .em-hero-badge-core { transform: scale(1.12) rotate(45deg); background: var(--em-paper); color: var(--em-beige); box-shadow: 0 0 0 1.5px var(--em-ink); }
.em-hero-badge:hover .em-hero-badge-ring { animation-duration: 6s; }
@keyframes emSpin { to { transform: rotate(360deg); } }
@media (min-width: 768px) {
  .em-hero-title { font-size: clamp(44px, min(5.4vw, 9.4vh), 124px); line-height: 0.98; }
  .em-line { display: block; white-space: nowrap; width: max-content; max-width: none; }
  .em-hero-bottom { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
  .em-hero-badge { display: block; width: clamp(128px, 11vw, 176px); height: clamp(128px, 11vw, 176px); }
}
@media (prefers-reduced-motion: reduce) {
  .em-js .em-hero .em-w > span { transform: none; animation: none !important; }
  .em-hero-badge-ring { animation: none; }
}
/* cursor image trail (desktop) */
.d6-hero .item { border-radius: 18px; }

/* ── Trust ──────────────────────────────────────────────────────────────── */
.em-trust { padding: clamp(64px, 8.5vw, 136px) 0 clamp(56px, 7vw, 112px); overflow: hidden; }
.em-trust-grid { display: grid; gap: 48px; max-width: 1920px; margin-inline: auto; }
.em-trust-num {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(96px, 26vw, 150px); line-height: 0.82;
  letter-spacing: -0.05em; margin: 26px 0 0 -0.04em; color: #000; font-variant-numeric: tabular-nums;
}
.em-trust-plus { color: var(--em-beige); letter-spacing: 0; }
.em-trust-num-label { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.3; max-width: 18em; margin: 22px 0 0; }
.em-trust-kicker {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 22px; opacity: 0.6;
}
.em-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.em-chip {
  display: inline-flex; align-items: center; border: 1.5px solid #000; border-radius: 9999px; padding: 12px 22px 11px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(13px, 1.05vw, 16px); letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.1;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.em-chip:hover { background: #000; color: #fff; }
.em-trust-logos { margin-top: clamp(52px, 6vw, 96px); display: flex; flex-direction: column; gap: 14px; }
.em-trust-logos .em-trust-kicker { margin-bottom: 10px; }
.em-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.em-marquee-track { display: flex; width: max-content; animation: emMarquee var(--dur, 48s) linear infinite; }
.em-marquee--rev .em-marquee-track { animation-direction: reverse; }
.em-marquee:hover .em-marquee-track { animation-play-state: paused; }
.em-marquee-group { display: flex; gap: 14px; padding-right: 14px; flex: none; }
@keyframes emMarquee { to { transform: translateX(-50%); } }
.em-logo-tile {
  flex: none; width: 148px; height: 92px; background: #fff; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  padding: 14px 18px; border: 1px solid rgba(0, 0, 0, 0.12);
}
.em-logo-tile img {
  width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.08); opacity: 0.82; transition: filter 0.35s ease, opacity 0.35s ease;
}
.em-logo-tile:hover img { filter: none; opacity: 1; }
@media (min-width: 1024px) {
  .em-trust-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: end; }
  .em-trust-num { font-size: clamp(150px, 14vw, 260px); }
  .em-logo-tile { width: 184px; height: 110px; padding: 18px 24px; }
}
@media (prefers-reduced-motion: reduce) { .em-marquee-track { animation: none; } }

/* ── Floating WhatsApp button ───────────────────────────────────────────── */
.em-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 9000; display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 16px; border-radius: 9999px; background: #000; color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.55); outline: 1.5px solid #fff; outline-offset: 0;
  transform: translateY(120px); opacity: 0; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease, color 0.3s ease 0.08s;
}
.em-wa.is-visible { transform: none; opacity: 1; }
.em-wa svg { flex: none; }
.em-wa-dot { position: absolute; top: 4px; left: 40px; width: 10px; height: 10px; border-radius: 9999px; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: emPulse 2.2s ease-out infinite; }
@keyframes emPulse { to { box-shadow: 0 0 0 12px transparent; } }
body.menu-open .em-wa { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
  .em-wa { right: 14px; bottom: 14px; width: 56px; padding: 0; justify-content: center; }
  .em-wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .em-wa-dot { left: 38px; }
}

/* ── Statement (who we are) ─────────────────────────────────────────────── */
.em-statement { position: relative; }
.em-statement-mark { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 0; }
.em-statement-mark .em-mark {
  width: min(82vw, 900px); height: auto; --em-mark-a: rgba(255, 255, 255, 0.09); --em-mark-b: rgba(255, 255, 255, 0.05);
  animation: emFloat 9s ease-in-out infinite;
}
@keyframes emFloat { 50% { transform: translateY(-16px) scale(1.015); } }
.em-statement-intro { max-width: 46em; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; margin: 0; }
.d6-home-video-zoom-link { border-radius: 32px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .em-statement-mark .em-mark { animation: none; } }

/* ── Services ───────────────────────────────────────────────────────────── */
.em-service-media img { transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1); }
.d6-service-card:hover .em-service-media img { transform: scale(1.05); }

/* ── Process ────────────────────────────────────────────────────────────── */
.em-step-num { display: block; font-size: clamp(34px, 3.4vw, 56px); line-height: 0.9; letter-spacing: -0.04em; min-width: 1.4em; }

/* ── Promise ────────────────────────────────────────────────────────────── */
.em-promise { background: #000; }
.em-promise video { filter: grayscale(1) contrast(1.1); opacity: 0.5; }
.em-promise-wash { background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.78) 100%); }
.em-promise-stat { font-size: clamp(54px, 6.2vw, 100px); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }

/* ── Consultation block ─────────────────────────────────────────────────── */
.em-contact { padding: clamp(72px, 9vw, 150px) 0; }
.em-contact-grid { display: grid; gap: 48px; max-width: 1920px; margin-inline: auto; }
.em-contact-title {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(34px, 9vw, 54px); line-height: 1;
  letter-spacing: -0.03em; text-transform: uppercase; margin: 22px 0 0;
}
.em-contact-text { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; max-width: 30em; margin: 24px 0 0; }
.em-contact-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.em-btn-wa {
  display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 28px 0 22px; border-radius: 9999px;
  background: var(--em-ink); color: var(--em-paper); outline: 1.5px solid var(--em-ink); outline-offset: -1.5px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
}
.em-contact-list { margin: 44px 0 0; border-top: 2px solid #000; }
.em-contact-list > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.18); align-items: baseline; }
.em-contact-list dt { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }
.em-contact-list dd { margin: 0; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(17px, 1.7vw, 26px); line-height: 1.2; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.em-contact-list a { background: linear-gradient(#000, #000) 0 100% / 0 2px no-repeat; transition: background-size 0.4s ease; padding-bottom: 2px; }
.em-contact-list a:hover { background-size: 100% 2px; }
.em-contact-card { background: #fff; border-radius: 28px; padding: clamp(22px, 3vw, 44px); border: 1px solid rgba(0, 0, 0, 0.14); box-shadow: 0 40px 80px -60px rgba(0, 0, 0, 0.45); }
.em-contact-card-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(22px, 2vw, 30px); line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; margin: 0 0 24px; }
@media (min-width: 1024px) {
  .em-contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(48px, 6vw, 110px); align-items: start; }
  .em-contact-title { font-size: clamp(46px, 4.6vw, 80px); }
  .em-contact-list > div { grid-template-columns: 120px minmax(0, 1fr); }
}
@media (min-width: 1440px) { .em-contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 620px); } }

/* ── Forms (Contact Form 7 markup uses these classes) ───────────────────── */
.em-form { display: grid; gap: 16px; }
.em-form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .em-form-row { grid-template-columns: 1fr 1fr; } }
.em-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.em-label { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.em-form .wpcf7-form-control-wrap { display: block; }
.em-form input[type="text"], .em-form input[type="email"], .em-form input[type="tel"], .em-form select, .em-form textarea {
  width: 100%; background: #fff; border: 1.5px solid rgba(0, 0, 0, 0.18); border-radius: 14px; padding: 15px 16px;
  font-family: 'Drystick Geo Grotesk', 'Drystick', 'Jost', sans-serif; font-size: 17px; line-height: 1.3; color: #000; outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease; -webkit-appearance: none; appearance: none;
}
.em-form input::placeholder, .em-form textarea::placeholder { color: rgba(0, 0, 0, 0.42); }
.em-form input:focus, .em-form select:focus, .em-form textarea:focus { border-color: #000; background: #fff; }
.em-form select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.em-form textarea { min-height: 124px; resize: vertical; }
.em-form .wpcf7-not-valid { border-color: #b3261e !important; }
.em-form .wpcf7-not-valid-tip { font-size: 13px; color: #b3261e; margin-top: 6px; }
.em-form-submit-wrap { position: relative; }
.em-form-submit {
  position: relative; overflow: hidden; z-index: 0; display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 62px;
  border-radius: 9999px; border: 0; background: #000; color: #fff; cursor: pointer; outline: 1.5px solid #000; outline-offset: -1.5px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
}
.em-form-submit::before { content: ""; position: absolute; inset: 0; background: #fff; z-index: -1; clip-path: inset(0 100% 0 0 round 9999px); transition: clip-path 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
.em-form-note { font-size: 13.5px; line-height: 1.4; opacity: 0.65; margin: 0; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--em-ink); font-size: 15px; line-height: 1.4; }
.wpcf7 form.sent .wpcf7-response-output { background: var(--em-ink); border-color: var(--em-ink); color: var(--em-paper); }
.em-form .wpcf7-spinner { position: absolute; right: 22px; top: 50%; margin: -12px 0 0; }

/* footer quick-contact form: one underlined email field */
.em-footer-form { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--em-ink); padding-bottom: 8px; max-width: 520px; }
.em-footer-form .wpcf7-form-control-wrap { flex: 1; min-width: 0; display: block; }
.em-footer-form input[type="email"] {
  width: 100%; background: transparent; border: 0; outline: none; padding: 6px 0; color: var(--em-ink);
  font-family: 'Drystick Geo Grotesk', 'Drystick', 'Jost', sans-serif; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3;
}
.em-footer-form input::placeholder { color: rgb(var(--em-ink-rgb) / 0.5); }
.em-footer-form button { flex: none; width: 44px; height: 44px; border-radius: 9999px; border: 0; background: var(--em-ink); color: var(--em-paper); outline: 1.5px solid var(--em-ink); outline-offset: -1.5px; display: grid; place-items: center; cursor: pointer; }
.em-footer-form .wpcf7-spinner { display: none; }
form:has(.em-footer-form) .wpcf7-response-output { max-width: 520px; background: transparent; }
form:has(.em-footer-form) .wpcf7-not-valid-tip { position: absolute; font-size: 13px; color: #ff9a8f; margin-top: 12px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.em-footer-wordmark {
  margin-top: clamp(40px, 6vw, 96px); overflow: hidden; white-space: nowrap; color: var(--em-beige); text-transform: uppercase;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: calc((100vw - 48px) / 8.9); line-height: 0.76; letter-spacing: -0.055em;
  padding-top: 0.04em; margin-bottom: -0.035em; user-select: none;
}
.em-footer-wordmark > span { display: inline-block; }
@media (min-width: 1024px) { .em-footer-wordmark { font-size: calc((100vw - 80px) / 8.9); } }

/* ── FAQ watermark, social icons ────────────────────────────────────────── */
.em-faq-mark { position: absolute; right: -6%; top: -90px; width: 46%; max-width: 640px; pointer-events: none; }
.em-faq-mark .em-mark { width: 100%; height: auto; --em-mark-a: rgba(0, 0, 0, 0.06); --em-mark-b: rgba(0, 0, 0, 0.035); }
.em-social {
  width: 42px; height: 42px; border-radius: 9999px; border: 1.5px solid var(--em-ink); display: inline-grid; place-items: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.em-social img { width: 20px; height: 20px; transition: filter 0.3s ease; }
.em-social:hover { background: var(--em-ink); transform: translateY(-2px); }
.em-social:hover img { filter: invert(1); }
.em-dark .em-social img { filter: invert(1); }
.em-dark .em-social:hover img { filter: none; }

/* bullet lists inside service cards */
.em-bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; line-height: 1.4; }
.em-bullets li { position: relative; padding-left: 1.5em; }
.em-bullets li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 0.8em; height: 2px; background: #000; }

/* ── About: founders, prose ─────────────────────────────────────────────── */
.em-prose p + p { margin-top: 1.1em; }
.em-founders-grid { display: grid; gap: 48px; max-width: 1920px; margin-inline: auto; }
.em-founder-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.em-founder-media {
  aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #000; display: grid; place-items: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.em-founder-media img { width: 100%; height: 100%; object-fit: cover; }
.em-founder-media span { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(56px, 9vw, 150px); letter-spacing: -0.06em; line-height: 1; color: var(--em-beige); }
.em-founder:hover .em-founder-media { transform: translateY(-6px); }
.em-founder-name { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(18px, 1.7vw, 26px); text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.05; margin: 16px 0 0; }
.em-founder-role { font-size: 16px; opacity: 0.7; margin: 4px 0 0; }
@media (min-width: 1024px) {
  .em-founders-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 110px); align-items: center; }
}

/* ── Promise: a black band; the silk loop runs in greyscale under a black wash, the figures are set in beige ── */
.em-promise .em-promise-stat { color: var(--em-beige); }

/* ── Inner page hero video (optional): soft duotone behind the heading ───── */
.em-page-hero-video { filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: 0.35; border-radius: 32px; }

/* ── Contact page: location band ────────────────────────────────────────── */
.em-location-card { position: relative; display: block; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 1840px; margin-inline: auto; }
.em-location-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.em-location-card:hover img { transform: scale(1.04); }
.em-location-pill {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  background: #fff; color: #000; border-radius: 22px; padding: 14px 18px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px; line-height: 1.2;
}
.em-location-pill-cta { margin-left: auto; background: #000; color: #fff; border-radius: 9999px; padding: 9px 16px; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; transition: background-color 0.3s ease, color 0.3s ease; }
.em-location-card:hover .em-location-pill-cta { background: #fff; color: #000; box-shadow: inset 0 0 0 1.5px #000; }
@media (min-width: 768px) {
  .em-location-card { aspect-ratio: 21 / 9; border-radius: 36px; }
  .em-location-pill { left: 28px; right: auto; bottom: 28px; border-radius: 9999px; padding: 12px 12px 12px 22px; font-size: 16px; gap: 14px; }
  .em-location-pill-cta { margin-left: 10px; }
}

/* ── Empty state card (careers) ─────────────────────────────────────────── */
.em-empty-card { background: #fff; border: 1px solid rgba(0, 0, 0, 0.14); border-radius: 28px; padding: clamp(28px, 5vw, 72px); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

/* ── Legal pages ────────────────────────────────────────────────────────── */
.legals-content { font-size: 18px; line-height: 1.6; color: #000; }
.legals-content h2, .legals-content h3, .legals-content h4 { font-family: 'Poppins', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.1; margin: 2.4em 0 0.7em; }
.legals-content h2 { font-size: clamp(22px, 2.4vw, 34px); }
.legals-content h3 { font-size: clamp(19px, 1.8vw, 24px); }
.legals-content h4 { font-size: 18px; }
.legals-content > :first-child { margin-top: 0; }
.legals-content p { margin: 0 0 1em; }
.legals-content ul, .legals-content ol { margin: 0 0 1em 1.3em; }
.legals-content ul { list-style: disc; } .legals-content ol { list-style: decimal; }
.legals-content li { margin-bottom: 0.4em; }
.legals-content a { text-decoration: underline; text-underline-offset: 3px; }

/* ── Blog article ───────────────────────────────────────────────────────── */
.blog-article-content { font-family: 'Drystick Geo Grotesk', 'Drystick', 'Jost', sans-serif; font-size: 19px; line-height: 1.62; letter-spacing: 0; color: #000; }
.blog-article-content h2, .blog-article-content h3, .blog-article-content h4, .blog-article-content h5, .blog-article-content h6 {
  font-family: 'Poppins', sans-serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 2.2em 0 0.7em;
}
.blog-article-content h2 { font-size: clamp(24px, 2.4vw, 36px); }
.blog-article-content h3 { font-size: clamp(20px, 1.9vw, 26px); }
.blog-article-content h4 { font-size: 19px; }
.blog-article-content > :first-child { margin-top: 0; }
.blog-article-content p { margin: 0 0 1.1em; }
.blog-article-content figure { margin: 2em 0; }
.blog-article-content img { width: 100%; height: auto; border-radius: 20px; display: block; }
.blog-article-content figcaption { font-size: 14px; opacity: 0.6; margin-top: 10px; }
.blog-article-content hr { border: 0; border-top: 1px solid rgba(0, 0, 0, 0.25); margin: 2.4em 0; }
.blog-article-content .wp-block-rank-math-toc-block { background: #fff; border: 1px solid rgba(0, 0, 0, 0.14); border-radius: 22px; padding: 26px 28px; margin: 0 0 2.4em; font-size: 16px; line-height: 1.4; }
.blog-article-content .wp-block-rank-math-toc-block h2 { font-size: 15px; letter-spacing: 0.08em; margin: 0 0 14px; }
.blog-article-content .wp-block-rank-math-toc-block ul { list-style: none; margin: 0; padding: 0; }
.blog-article-content .wp-block-rank-math-toc-block ul ul { padding-left: 16px; margin-top: 6px; }
.blog-article-content .wp-block-rank-math-toc-block li { margin-bottom: 7px; }
.blog-article-content .wp-block-rank-math-toc-block a { text-decoration: none; }
.blog-article-content .wp-block-rank-math-toc-block a:hover { text-decoration: underline; }
.blog-copy-toast { color: #fff !important; font-family: 'Poppins', sans-serif !important; font-weight: 600; }

/* ── Home: Our Work — even two-column grid ──────────────────────────────── */
.em-work-grid { display: grid; gap: 40px 24px; }
.em-work-card { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.em-work-media { border-radius: 22px; overflow: hidden; background: #000; width: 100%; }
.em-work-media img { transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) !important; }
.em-work-card:hover .em-work-media img { transform: scale(1.04) !important; }
.em-work-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.em-work-title { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(19px, 1.7vw, 26px); line-height: 1.08; letter-spacing: -0.02em; text-transform: uppercase; margin: 0; }
.em-work-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.4s ease; padding-bottom: 2px; }
.em-work-card:hover .em-work-title a { background-size: 100% 2px; }
.em-work-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; flex: none; max-width: 55%; }
.em-work-tag { border: 1.5px solid currentColor; border-radius: 9999px; padding: 6px 12px 5px; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 11px; line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
@media (min-width: 768px) {
  .em-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
  .em-work-media { border-radius: 28px; }
}

/* big titles never break inside a word */
.em-hero-title, .em-contact-title, .em-work-title { overflow-wrap: normal; word-break: normal; hyphens: none; }

/* ── Hero: text column + tall video card (desktop) ──────────────────────── */
.em-hero-text { display: flex; flex-direction: column; gap: clamp(18px, 3vh, 36px); min-width: 0; }
.em-hero-visual { display: none; }
@media (min-width: 1100px) {
  .em-hero-inner.has-visual { display: grid; grid-template-columns: minmax(0, 1fr) clamp(250px, 24vw, 400px); grid-template-areas: "text visual" "bottom visual"; column-gap: clamp(32px, 4vw, 72px); }
  .em-hero-inner.has-visual .em-hero-text { grid-area: text; justify-content: flex-end; }
  .em-hero-inner.has-visual .em-hero-bottom { grid-area: bottom; }
  .em-hero-visual {
    grid-area: visual; display: block; align-self: end; position: relative; border-radius: 28px; overflow: hidden; background: rgb(255 255 255 / 0.08);
    aspect-ratio: 4 / 5; max-height: min(64vh, 620px); width: 100%; justify-self: end;
    box-shadow: 0 50px 80px -60px rgba(0, 0, 0, 0.6);
  }
  .em-hero-visual video, .em-hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .em-js .em-hero .em-hero-visual { clip-path: inset(100% 0 0 0 round 28px); transform: translateY(40px); transition: clip-path 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s; }
  .em-js .em-hero.is-in .em-hero-visual { clip-path: inset(0 0 0 0 round 28px); transform: none; }
}
@media (prefers-reduced-motion: reduce) { .em-js .em-hero .em-hero-visual { clip-path: none; transform: none; transition: none; } }


/* header button is desktop-only (this rule must follow the shared pill styles above) */
@media (max-width: 767px) { .em-header-cta { display: none !important; } }

/* phones: showreel sits full width with comfortable spacing (no pinned zoom) */
@media (max-width: 767px) { .d6-home-video-zoom { padding: 8px 24px 72px; } .d6-home-video-zoom-link { border-radius: 22px; } }

/* ── Blog article refinements ───────────────────────────────────────────── */
/* the imported articles open with a very long table of contents and a repeat of the title: keep the page lean */
.blog-article-content .wp-block-rank-math-toc-block { display: none; }
.blog-article-content > .wp-block-rank-math-toc-block + h2 { display: none; }
.em-post-hero .d6-btn { background: #fff; border-color: #fff; }
.blog-article-content a { color: inherit; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, 0.4); text-underline-offset: 3px; }
.blog-article-content a:hover { text-decoration-color: #000; }
.blog-article-content ul, .blog-article-content ol { margin: 0 0 1.1em 1.3em; }
.blog-article-content ul { list-style: disc; }
.blog-article-content ol { list-style: decimal; }
.blog-article-content li { margin-bottom: 0.4em; }

/* ── Services: sticky stack of sheets ───────────────────────────────────── */
/* Each card pins under the header; the next card slides over it while em.js makes the covered card recede. */
.d6-service-cards { padding: 0 12px 28px; }
.em-service-card {
  position: sticky; top: 88px; background: #fff; border-radius: 26px; padding: 26px 20px 22px; margin-bottom: 14px;
  box-shadow: 0 -22px 44px -34px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(0, 0, 0, 0.12);
  transform-origin: 50% 0; will-change: transform, opacity;
}
.em-service-card.is-tall { position: relative; top: auto; }
.em-service-inner { display: grid; gap: 22px; }
.em-service-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.em-service-num { display: inline-flex; border: 1.5px solid #000; border-radius: 9999px; padding: 5px 12px 4px; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; line-height: 1.2; }
.em-service-body { display: grid; gap: 22px; }
.em-service-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 34em; }
.em-service-media { border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 2; background: rgba(0, 0, 0, 0.05); }
.em-service-media img { transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.em-service-card:hover .em-service-media img { transform: scale(1.04); }
/* entrance: copy lifts in, image wipes down */
.em-js .em-service-card .em-service-head, .em-js .em-service-card .em-service-copy { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.em-js .em-service-card .em-service-copy { transition-delay: 0.12s; }
.em-js .em-service-card .em-service-media { clip-path: inset(0 0 100% 0 round 18px); transition: clip-path 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s; }
.em-js .em-service-card .em-service-media img { transform: scale(1.14); }
.em-js .em-service-card.is-in .em-service-head, .em-js .em-service-card.is-in .em-service-copy { opacity: 1; transform: none; }
.em-js .em-service-card.is-in .em-service-media { clip-path: inset(0 0 0 0 round 18px); }
.em-js .em-service-card.is-in .em-service-media img { transform: scale(1); }
.em-js .em-service-card.is-in:hover .em-service-media img { transform: scale(1.04); }
@media (min-width: 1024px) {
  .d6-service-cards { padding: 0 24px 48px; }
  .em-service-card { top: 96px; border-radius: 34px; padding: 44px 48px; margin-bottom: 20px; }
  .em-service-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); grid-template-rows: auto 1fr; column-gap: clamp(32px, 5vw, 88px); row-gap: 28px; }
  .em-service-head { grid-column: 1; grid-row: 1; gap: 18px; }
  .em-service-body { display: contents; }
  .em-service-copy { grid-column: 1; grid-row: 2; align-self: end; gap: 26px; }
  .em-service-media { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 4 / 3; border-radius: 24px; align-self: start; }
  .em-js .em-service-card .em-service-media { clip-path: inset(0 0 100% 0 round 24px); }
  .em-js .em-service-card.is-in .em-service-media { clip-path: inset(0 0 0 0 round 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .em-js .em-service-card .em-service-head, .em-js .em-service-card .em-service-copy { opacity: 1; transform: none; transition: none; }
  .em-js .em-service-card .em-service-media { clip-path: none; transition: none; }
  .em-js .em-service-card .em-service-media img { transform: none; }
}

/* ── Hero: calmer banner (short headline, one line of copy, two buttons) ─── */
.em-hero-sub { max-width: 26em; }
@media (min-width: 768px) { .em-hero-title { line-height: 1; } }
.em-hero-sub { text-wrap: balance; }

/* ── Hero video card below 1100px: sits above the headline ──────────────── */
@media (max-width: 1099px) {
  .em-hero-visual { display: block; position: relative; order: -1; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: rgb(255 255 255 / 0.08); }
  .em-hero-visual video, .em-hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .em-js .em-hero .em-hero-visual { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease 0.15s, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s; }
  .em-js .em-hero.is-in .em-hero-visual { opacity: 1; transform: none; }
}
@media (min-width: 640px) and (max-width: 1099px) { .em-hero-visual { aspect-ratio: 16 / 9; border-radius: 28px; } }
@media (max-width: 1099px) and (prefers-reduced-motion: reduce) { .em-js .em-hero .em-hero-visual { opacity: 1; transform: none; transition: none; } }

/* ── Inner-page call to action: the two title lines straddle the picture ─── */
.em-cta3 { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 72px 24px 84px; overflow: hidden; }
/* everything in the stage is sized in em, so the overlap holds at every width */
.em-cta3-stage { display: grid; justify-items: center; width: 100%; font-size: clamp(36px, 10.4vw, 76px); line-height: 1; }
.em-cta3-media, .em-cta3-title { grid-area: 1 / 1; }
.em-cta3-media { position: relative; width: min(100%, 7.6em); aspect-ratio: 5 / 4; margin: 0.58em 0; border-radius: 20px; overflow: hidden; background: rgba(0, 0, 0, 0.05); }
.em-cta3-pic { position: absolute; inset: -6% 0; transform: translate3d(0, calc(var(--em-drift, 0) * -5%), 0); will-change: transform; }
.em-cta3-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* soft light at the two edges the title crosses, so dark pictures stay readable */
.em-cta3-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0) 78%, rgba(255, 255, 255, 0.7) 100%); }
.em-cta3-title { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: center; margin: 0; font-size: inherit; line-height: 1; font-weight: 500; letter-spacing: -0.03em; text-transform: uppercase; text-align: center; color: var(--em-ink); }
.em-cta3-line { display: block; white-space: nowrap; will-change: transform; }
.em-cta3-line--top { transform: translate3d(calc(var(--em-drift, 0) * -0.42em), 0, 0); }
.em-cta3-line--bottom { transform: translate3d(calc(var(--em-drift, 0) * 0.42em), 0, 0); }
.em-cta3-stage.is-plain .em-cta3-title { gap: 0.1em; }
.em-cta3-foot { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.em-cta3-desc { max-width: 33em; margin: 0; text-align: center; font-size: 17px; line-height: 1.55; letter-spacing: 0.01em; text-wrap: balance; }
@media (min-width: 640px) {
  .em-cta3-media { width: min(100%, 6.3em); aspect-ratio: 474 / 250; border-radius: 24px; }
}
@media (min-width: 1024px) {
  .em-cta3 { gap: 52px; padding: 104px 40px 116px; }
  .em-cta3-desc { font-size: 18px; }
}
/* entrance: the picture opens from its middle, then the lines and the button arrive */
.em-js .em-cta3[data-em-reveal] { opacity: 1; transform: none; }
.em-js .em-cta3 .em-cta3-media { clip-path: inset(50% 14% 50% 14% round 24px); transition: clip-path 1.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.em-js .em-cta3 .em-cta3-pic img { transform: scale(1.16); transition: transform 1.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.em-js .em-cta3 .em-cta3-title { opacity: 0; transition: opacity 0.9s ease 0.3s; }
.em-js .em-cta3 .em-cta3-foot { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease 0.5s, transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s; }
.em-js .em-cta3.is-in .em-cta3-media { clip-path: inset(0 0 0 0 round 24px); }
.em-js .em-cta3.is-in .em-cta3-pic img { transform: scale(1); }
.em-js .em-cta3.is-in .em-cta3-title { opacity: 1; }
.em-js .em-cta3.is-in .em-cta3-foot { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .em-js .em-cta3 .em-cta3-media { clip-path: none; transition: none; }
  .em-js .em-cta3 .em-cta3-pic, .em-js .em-cta3 .em-cta3-pic img, .em-cta3-line--top, .em-cta3-line--bottom { transform: none; transition: none; }
  .em-js .em-cta3 .em-cta3-title, .em-js .em-cta3 .em-cta3-foot { opacity: 1; transform: none; transition: none; }
}

/* ── People cards: rounded portrait, initials tile until a photo is uploaded ── */
.people-card .em-person-media { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #000; display: grid; place-items: center; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.people-card .em-person-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.people-card .em-person-initials { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(34px, 7.2vw, 104px); letter-spacing: -0.06em; line-height: 1; color: var(--em-beige); }
.people-card:hover .em-person-media { transform: translateY(-6px); }
.people-card:hover .em-person-media img { transform: scale(1.05); }
.people-card .em-person-role:empty { display: none; }
@media (min-width: 768px) { .people-card .em-person-media { border-radius: 24px; } }
/* a small team sits in one centred row instead of leaving empty cells */
.loop-cards.em-people-few { gap: 12px; margin-inline: auto; }
.loop-cards.em-people-n1 { grid-template-columns: minmax(0, 1fr); max-width: 340px; }
.loop-cards.em-people-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 700px; }
.loop-cards.em-people-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1060px; }
@media (max-width: 639px) {
  .em-people-n3 .people-card { gap: 10px; }
  .em-people-n3 .em-person-name { font-size: 14px; line-height: 1.15; }
  .em-people-n3 .em-person-role { font-size: 10.5px; line-height: 1.3; letter-spacing: 0.02em; }
  .em-people-n3 .em-person-media { border-radius: 14px; }
}
@media (min-width: 768px) { .loop-cards.em-people-few { gap: 24px; } }

/* ── About: founders block as a statement when it has no tiles of its own ── */
.em-founders-grid.is-statement .em-founders-text { margin: 0; max-width: 34em; }
@media (min-width: 1024px) {
  .em-founders-grid.is-statement { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
}

/* ── Project page (case study) ──────────────────────────────────────────────
   Each section is a chapter: a label, one clear heading, text set large in a
   narrow column, then pictures. Every chapter sits on white with a hairline
   between them; figures sit on black cards with the numbers in beige. */
.em-case { padding: 60px 24px; background: #fff; color: var(--em-ink); }
.em-case-wrap { max-width: 1360px; margin-inline: auto; display: flex; flex-direction: column; gap: 40px; }
/* a hairline separates one chapter from the next */
.em-case + .em-case:not(.em-case--services):not(.em-case--results) > .em-case-wrap { border-top: 1px solid rgba(0, 0, 0, 0.14); padding-top: 60px; }
.em-case + .em-case:not(.em-case--services):not(.em-case--results) { padding-top: 0; }

/* type */
.em-case-title { margin: 0; font-weight: 600; text-transform: uppercase; font-size: clamp(38px, 6.2vw, 92px); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.em-case-lead { margin: 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.42; max-width: 27em; text-wrap: pretty; }
.em-case-h { margin: 0; font-weight: 600; text-transform: uppercase; font-size: clamp(27px, 3.3vw, 48px); line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
.em-case-h--xl { font-size: clamp(30px, 4.6vw, 68px); line-height: 1.02; }
.em-case-body { margin: 0; font-size: 18px; line-height: 1.65; max-width: 35em; text-wrap: pretty; }
.em-case-body p { margin: 0; }
.em-case-body p + p, .em-case-body ul, .em-case-body ol { margin-top: 1em; }
.em-case-body ul, .em-case-body ol { padding-left: 1.2em; }
.em-case-body ul { list-style: disc; }
.em-case-body ol { list-style: decimal; }
.em-case-body a { text-decoration: underline; text-underline-offset: 3px; }

/* hero */
.em-case-hero { position: relative; min-height: clamp(360px, min(64vh, 118vw), 720px); overflow: hidden; background: #000; border-radius: 0 0 26px 26px; }
.em-case-hero-media { position: absolute; inset: 0; }
.em-case-hero-media img, .em-case-hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.em-case-hero-back { position: absolute; top: 122px; left: 24px; z-index: 2; }
.em-case-hero-logo { position: absolute; left: 24px; bottom: 24px; z-index: 2; background: #fff; border-radius: 18px; padding: 12px 18px; box-shadow: 0 22px 44px -26px rgba(0, 0, 0, 0.45); }
.em-case-hero-logo img { display: block; height: 52px; width: auto; max-width: 170px; object-fit: contain; }
.em-js .em-case-hero .em-case-hero-media img { transform: scale(1.08); animation: emCaseHero 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.em-js .em-case-hero .em-case-hero-logo { opacity: 0; transform: translateY(18px); animation: emCaseUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards; }
@keyframes emCaseHero { to { transform: scale(1); } }
@keyframes emCaseUp { to { opacity: 1; transform: none; } }

/* intro: big title, summary beside it */
.em-case--intro { padding-top: 44px; }
.em-case-intro { gap: 28px; }
.em-case-intro-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

/* services: picture beside a numbered list */
.em-case--services { padding-top: 0; }
.em-case-services { gap: 36px; }
.em-case-services-list { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.em-case-services-ol { list-style: none; margin: 0; padding: 0; width: 100%; counter-reset: svc; }
.em-case-services-ol li { counter-increment: svc; display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(0, 0, 0, 0.2); font-weight: 500; font-size: clamp(19px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.015em; }
.em-case-services-ol li:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.2); }
.em-case-services-ol li::before { content: counter(svc, decimal-leading-zero); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; opacity: 0.6; min-width: 1.6em; }

/* heading on the left, text on the right */
.em-case-split { display: grid; gap: 24px; }
.em-case-split-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.em-case-split-body { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.em-case-split.is-centered { justify-items: center; text-align: center; }
.em-case-split.is-centered .em-case-split-head, .em-case-split.is-centered .em-case-split-body { align-items: center; }

/* figures */
.em-case-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.em-case-stats > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.em-case-stat { container-type: inline-size; background: #000; color: #fff; border-radius: 22px; padding: 20px 18px 18px; min-height: 148px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.em-case-stat .em-case-stat-value { color: var(--em-beige); }
.em-case-stat-value { font-weight: 600; font-size: clamp(32px, 17cqw, 70px); line-height: 0.98; letter-spacing: -0.04em; text-transform: uppercase; }
.em-case-stat-label { font-size: 16px; line-height: 1.35; max-width: 16em; }

/* cards */
.em-case-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.em-case-card { background: #fff; border: 1px solid rgba(0, 0, 0, 0.14); border-radius: 22px; padding: 24px 22px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease; }
.em-case-card:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -34px rgba(0, 0, 0, 0.4); }
.em-case-card-icon { width: 58px; height: 58px; border-radius: 18px; background: rgba(0, 0, 0, 0.05); display: grid; place-items: center; margin-bottom: 14px; }
.em-case-card-icon img { width: 30px; height: 30px; object-fit: contain; }
.em-case-card-icon span { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.em-case-card-title { margin: 0; font-weight: 600; text-transform: uppercase; font-size: 20px; line-height: 1.12; letter-spacing: -0.015em; }
.em-case-card-text { margin: 0; font-size: 17px; line-height: 1.5; }
.em-case-cta { display: flex; justify-content: center; }

/* process steps */
.em-case-steps { display: flex; flex-direction: column; gap: 10px; }
.em-case-step { background: #fff; border: 1px solid rgba(0, 0, 0, 0.14); border-radius: 22px; padding: 16px 18px; }
.em-case-step .process-trigger { display: flex; align-items: center; gap: 14px; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.em-case-step-num { flex: none; width: 42px; height: 42px; border-radius: 9999px; background: transparent; box-shadow: inset 0 0 0 1.5px #000; display: grid; place-items: center; font-weight: 600; font-size: 14px; letter-spacing: 0.01em; transition: background-color 0.3s ease, color 0.3s ease; }
.em-case-step .process-trigger[aria-expanded="true"] .em-case-step-num { background: #000; color: var(--em-beige); }
.em-case-step-title { flex: 1; min-width: 0; font-weight: 600; text-transform: uppercase; font-size: clamp(17px, 1.7vw, 24px); line-height: 1.12; letter-spacing: -0.015em; }
.em-case-step .process-icon { flex: none; }
.em-case-step-body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 16px 0 6px; }
.em-case-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.em-case-tags li { border: 1.5px solid rgba(0, 0, 0, 0.82); border-radius: 9999px; padding: 6px 14px 5px; font-weight: 500; font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1.2; }

/* results: a white sheet with the headline figure */
.em-case--results { padding-top: 12px; }
.em-case-sheet { max-width: 1360px; margin-inline: auto; background: #fff; border: 1px solid rgba(0, 0, 0, 0.14); border-radius: 26px; padding: 30px 14px 14px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.em-case-feature { width: 100%; background: #000; color: #fff; border-radius: 20px; padding: 40px 20px 34px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.em-case-feature-value { color: var(--em-beige); font-weight: 600; font-size: clamp(84px, 19vw, 250px); line-height: 0.86; letter-spacing: -0.06em; text-transform: uppercase; }
.em-case-feature-label { font-size: clamp(18px, 1.8vw, 26px); line-height: 1.3; max-width: 22em; text-wrap: balance; }
.em-case-results { list-style: none; margin: 0; padding: 0 10px; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr); }
.em-case-result { display: flex; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(0, 0, 0, 0.14); }
.em-case-result:first-child { border-top: 0; padding-top: 4px; }
.em-case-result-num { flex: none; min-width: 2em; font-weight: 600; font-size: 14px; line-height: 1.8; letter-spacing: 0.02em; opacity: 0.5; }
.em-case-result-title { margin: 0 0 8px; font-weight: 600; text-transform: uppercase; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.12; letter-spacing: -0.015em; }
.em-case-result-text { margin: 0; font-size: 17px; line-height: 1.55; max-width: 30em; }
.em-case-sheet-img { width: 100%; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; }
.em-case-sheet-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* closing statement */
.em-case--closing { padding-block: 76px; }
.em-case-closing { align-items: center; text-align: center; gap: 22px; }
.em-case-closing .em-case-h { max-width: 15em; }
.em-case-closing .em-case-body { max-width: 31em; }

/* pictures between the text */
.em-case .d6-ws-media-row { gap: 12px; }
.em-case .d6-ws-media-row > * { border-radius: 20px; }
@media (max-width: 1023px) {
  .em-case .d6-ws-media-row:not([style*="--d6-cols:1;"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em-case .d6-ws-media-row:not([style*="--d6-cols:1;"]) > :last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 10 !important; }
}

@media (min-width: 640px) {
  .em-case-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .em-case-stat { padding: 24px 24px 22px; min-height: 170px; }
  .em-case-step-body { padding-left: 56px; }
  .em-case-results { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; padding: 0 18px; }
  .em-case-result:nth-child(2) { border-top: 0; padding-top: 4px; }
  .em-case-sheet-img { aspect-ratio: 16 / 9; }
}
@media (min-width: 900px) {
  .em-case-stats { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 20px; }
  .em-case-stats > li:last-child:nth-child(odd) { grid-column: auto; }
}
@media (min-width: 1024px) {
  .em-case { padding: 104px 40px; }
  .em-case-wrap { gap: 64px; }
  .em-case + .em-case:not(.em-case--services):not(.em-case--results) > .em-case-wrap { padding-top: 104px; }
  .em-case-body { font-size: 20px; }
  .em-case-hero { border-radius: 0 0 34px 34px; }
  .em-case-hero-back { left: 40px; }
  .em-case-hero-logo { left: 40px; bottom: 40px; border-radius: 22px; padding: 16px 24px; }
  .em-case-hero-logo img { height: 70px; max-width: 230px; }
  .em-case--intro { padding-top: 64px; padding-bottom: 72px; }
  .em-case-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 110px); align-items: end; }
  .em-case-services { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
  .em-case-services.is-plain { grid-template-columns: minmax(0, 1fr); }
  .em-case-services.is-plain .em-case-services-ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .em-case-services.is-plain .em-case-services-ol li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid rgba(0, 0, 0, 0.2); }
  .em-case-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
  .em-case-split.is-centered { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .em-case-split--steps { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .em-case-split--steps .em-case-split-head { position: sticky; top: 124px; }
  .em-case-cards { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 20px; }
  .em-case-card { padding: 30px 28px 34px; border-radius: 26px; }
  .em-case-card-icon { margin-bottom: 26px; }
  .em-case-step { padding: 22px 26px; border-radius: 26px; }
  .em-case-step-num { width: 46px; height: 46px; }
  .em-case-step-body { padding-left: 60px; }
  .em-case--results { padding-top: 24px; }
  .em-case-sheet { border-radius: 34px; padding: 48px 20px 20px; gap: 48px; }
  .em-case-feature { border-radius: 26px; padding: 64px 24px 52px; }
  .em-case-results { padding: 0 44px; column-gap: 80px; }
  .em-case-result { padding: 30px 0; }
  .em-case-sheet-img { border-radius: 26px; aspect-ratio: 21 / 9; }
  .em-case--closing { padding-block: 132px; }
  .em-case .d6-ws-media-row { gap: 20px; }
  .em-case .d6-ws-media-row > * { border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .em-js .em-case-hero .em-case-hero-media img, .em-js .em-case-hero .em-case-hero-logo { animation: none; opacity: 1; transform: none; }
  .em-case-card { transition: none; }
}

/* ── One hover for every button ─────────────────────────────────────────────
   The same three moves as the main black button: the label rolls up, the fill
   sweeps in from the left, the arrow straightens. Only the colours differ.
   Hover only runs on devices that can hover; touch screens get a press instead. */
/* label roll for buttons that are not built by the shared button component (markup added by em.js) */
.em-roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.em-roll > span { display: block; transition: transform 0.15s cubic-bezier(0, 0.449, 1, 0.65); }
.em-roll::after { content: attr(data-text); position: absolute; left: 0; right: 0; top: 0; white-space: nowrap; transform: translateY(100%); transition: transform 0.15s cubic-bezier(0, 0.449, 1, 0.65); }

/* fill layer */
.d6-btn--ghost, .em-menu-pill, .em-btn-wa, .em-footer-form button, .loop-clear-btn { position: relative; overflow: hidden; z-index: 0; }
.d6-btn--ghost, .em-menu-pill, .em-btn-wa, .em-footer-form button, .loop-clear-btn, .em-header-cta, .em-form-submit { transition: color 0.3s ease 0.08s; }
.d6-btn--ghost::before, .em-menu-pill::before, .em-btn-wa::before, .em-wa::before, .em-footer-form button::before, .loop-clear-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--em-fill, #000);
  clip-path: inset(0 100% 0 0 round 9999px); transition: clip-path 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.d6-btn--primary { background-color: var(--em-ink); color: var(--em-paper); outline: 1.5px solid var(--em-ink); outline-offset: -1.5px; }
.d6-btn--ghost { --em-fill: var(--em-ink); }
.em-wa { --em-fill: #fff; }
.em-btn-wa, .em-footer-form button { --em-fill: var(--em-paper); }
/* second action beside a primary button: outlined */
.em-btn-wa--light { background: transparent; color: var(--em-ink); --em-fill: var(--em-ink); }
.em-post-hero .d6-btn { transition: color 0.3s ease 0.08s, border-color 0.3s ease 0.12s; }
/* the menu button stays filled while the menu is open */
.em-menu-pill.open { color: #fff; outline-color: #fff; }
.em-menu-pill.open::before { clip-path: inset(0 0 0 0 round 9999px); }
.em-menu-pill.open .d6-menu-bar { background-color: #fff; }
.em-header-cta svg, .em-form-submit svg, .em-footer-form button svg { transition: transform 0.3s ease-out; }

@media (hover: hover) and (pointer: fine) {
  .d6-btn--primary:hover::before, .d6-btn--ghost:hover::before, .em-menu-pill:hover::before, .em-btn-wa:hover::before, .em-wa:hover::before,
  .em-footer-form button:hover::before, .loop-clear-btn:hover::before, .em-header-cta:hover::before, .em-form-submit:hover::before { clip-path: inset(0 0 0 0 round 9999px); }
  .d6-btn--primary:hover, .em-btn-wa:hover, .em-footer-form button:hover { color: var(--em-ink); }
  .em-header-cta:hover, .em-form-submit:hover, .em-wa:hover { color: #000; outline-color: #000; }
  .d6-btn--ghost:hover, .em-btn-wa--light:hover { color: var(--em-paper); }
  .em-menu-pill:hover, .loop-grid .loop-clear-btn:hover { color: #fff; }
  .em-menu-pill:hover { outline-color: #fff; }
  .loop-grid .loop-clear-btn:hover { background-color: transparent; }
  .em-post-hero .d6-btn:hover { border-color: #000; }
  .em-menu-pill:hover .d6-menu-bar { background-color: #fff; }
  .d6-btn:hover .d6-btn-icon { transform: rotate(0deg); }
  .d6-btn--left:hover .d6-btn-icon { transform: rotate(180deg); }
  .em-header-cta:hover svg, .em-form-submit:hover svg, .em-footer-form button:hover svg { transform: rotate(45deg); }
  :is(.em-header-cta, .em-menu-pill, .em-btn-wa, .em-wa, .em-form-submit, .loop-clear-btn):hover .em-roll > span { transform: translateY(-100%); }
  :is(.em-header-cta, .em-menu-pill, .em-btn-wa, .em-wa, .em-form-submit, .loop-clear-btn):hover .em-roll::after { transform: translateY(0); }
}
@media (hover: none) {
  :is(.d6-btn, .em-btn-wa, .em-wa, .em-form-submit, .em-menu-pill, .em-footer-form button):active { scale: 0.96; }
}
@media (prefers-reduced-motion: reduce) {
  .em-roll > span, .em-roll::after { transition: none; }
}

/* ── Phone layer ────────────────────────────────────────────────────────────
   Laid out for one thumb: full-width actions, tap targets of 44px and more,
   compact page heads, swipeable filter rows and a bottom action bar. */
html { -webkit-tap-highlight-color: transparent; }

/* bottom action bar: replaces the floating WhatsApp button on phones */
.em-dock { display: none; }
@media (max-width: 767px) {
  .em-wa { display: none !important; }
  .em-dock {
    position: fixed; z-index: 9000; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: flex; gap: 8px; pointer-events: none;
    transform: translateY(110px); opacity: 0; transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
  }
  .em-dock.is-visible { transform: none; opacity: 1; }
  .em-dock.is-visible > * { pointer-events: auto; }
  .em-dock-book {
    flex: 1; min-width: 0; height: 56px; border-radius: 9999px; background: #000; color: #fff; outline: 1.5px solid #fff; outline-offset: 0;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 13px; letter-spacing: 0.07em; text-transform: uppercase; white-space: nowrap;
    box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.6);
  }
  .em-dock-wa { position: relative; flex: none; width: 56px; height: 56px; border-radius: 9999px; background: #fff; color: #000; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 18px 36px -14px rgba(0, 0, 0, 0.5); }
  .em-dock-wa .em-wa-dot { top: 5px; left: auto; right: 7px; }
  .em-dock-book:active, .em-dock-wa:active { scale: 0.96; }
  body.menu-open .em-dock { transform: translateY(110px); opacity: 0; }
  body.menu-open .em-dock > * { pointer-events: none; }
}

/* actions fill the width and are easy to hit */
@media (max-width: 639px) {
  .d6-btn:not(.d6-btn--left) { width: 100%; min-height: 52px; }
  :is(div, p):has(> :is(.d6-btn:not(.d6-btn--left), .d6-btns, .em-btn-wa)) { width: 100%; }
  .d6-btns { width: 100%; }
  .em-btn-wa { width: 100%; justify-content: center; }
  .em-footer .em-btn-wa { height: 52px !important; }
}

@media (max-width: 767px) {
  /* inner-page heads: no empty screen, the title is the first thing you read */
  .em-page-hero.min-h-screen { min-height: 0; }
  .em-page-hero { padding-bottom: 44px; }
  .em-page-hero .d6-scrollable-hero-phone h1 { font-size: clamp(30px, 8.6vw, 38px); line-height: 1.03; letter-spacing: -0.03em; padding-inline: 0; }
  .em-page-hero p { font-size: 17px; }

  /* filter rows swipe sideways instead of wrapping into a block */
  .loop-filter .loop-panel { padding-bottom: 18px; }
  .loop-filter .loop-panel > div, .loop-filter .loop-panel-rows {
    display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 0 8px;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin-inline: -24px; padding-inline: 24px;
  }
  .loop-filter .loop-panel > div::-webkit-scrollbar, .loop-filter .loop-panel-rows::-webkit-scrollbar { display: none; }
  .loop-filter .loop-filter-btn { flex: none; min-height: 44px; font-size: 19px; white-space: nowrap; }
  .loop-filter .loop-panel span[aria-hidden="true"] { width: 18px; flex: none; }
  .loop-filter .loop-accordion-toggle, .loop-filter .loop-sort-toggle { min-height: 44px; }

  /* back to top: a link, not a billboard */
  .top-wrapper > a { padding-block: 36px 0; gap: 10px; }
  .top-wrapper .footer-link { font-size: 22px; line-height: 1.2; }
  .top-wrapper .btt-arrow, .top-wrapper .btt-arrow svg { width: 34px; height: 34px; }

  /* footer: every link is a full-height row for the thumb */
  .em-footer .footer-link { display: inline-flex; align-items: center; min-height: 44px; }
  .em-footer .grid.grid-cols-3 { column-gap: 12px; row-gap: 0; }
  .em-footer .grid.grid-cols-3 > div { gap: 0; }
  .em-footer address { gap: 0; }
  .em-footer address > span { padding-block: 8px; }
  .em-footer-form input[type="email"] { min-height: 48px; }
  .em-social { width: 46px; height: 46px; }
  .em-footer .items-end { align-items: center; }

  /* other small targets */
  .faq-trigger { min-height: 48px; align-items: center; }
  .em-contact-list dd a { display: inline-flex; align-items: center; min-height: 44px; }
  .em-contact-list > div { padding-block: 8px; align-items: center; }
  .blog-copy-link-btn, aside a[aria-label^="Share"] { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }
  .em-label { font-size: 12.5px; }
  .hil-row { min-height: 44px; align-items: center; }
}

/* ── Final review ─────────────────────────────────────────────────────────── */
/* full-screen page heads: the heading sits in the middle of the screen, not near the top */
@media (min-width: 768px) {
  .em-page-hero.min-h-screen { display: flex; flex-direction: column; justify-content: center; padding-top: 150px !important; padding-bottom: 110px; }
}
/* testimonials scroll past the edges: fade them out instead of cutting the text */
@media (min-width: 768px) {
  .testi-slider-outer { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
}
