/*
Theme Name: MORSE Studio
Theme URI: https://morsstudio.com
Author: MORSE
Description: Public Persian RTL site for MORSE.
Version: 2.4.0
Text Domain: mors-studio
Requires at least: 6.0
Requires PHP: 8.0
*/

@font-face {
  font-family: 'Vazirmatn';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/vazirmatn.woff2') format('woff2');
}

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/archivo.woff2') format('woff2');
}

:root {
  --mrs-bg: #07182A;
  --mrs-panel: #0C2237;
  --mrs-panel-2: #0A1C30;
  --mrs-accent: #C9D8E6;
  --mrs-border: #1C3E5C;
  --mrs-border-soft: #14324C;
  --mrs-text: #E4EDF5;
  --mrs-muted: #9FB6CA;
  --mrs-muted-2: #8FA8BE;
  --mrs-white: #FFFFFF;
  --mrs-sand-hover: #A6BCD1;
  --mrs-light-band: #E9EFF5;
  --mrs-ink: #07182A;
  --mrs-ease: cubic-bezier(.22, .7, .28, 1);
  --mrs-header-h: 72px;
  --mrs-wrap: min(1180px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--mrs-bg);
  color: var(--mrs-white);
  font-family: Vazirmatn, Archivo, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
}

::selection {
  background: var(--mrs-accent);
  color: var(--mrs-bg);
}

a { color: var(--mrs-accent); text-decoration: none; transition: color .2s var(--mrs-ease); }
a:hover { color: var(--mrs-white); }

img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font-family: inherit; }

*:focus-visible {
  outline: 2px solid var(--mrs-accent);
  outline-offset: 2px;
}

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--mrs-bg); }
::-webkit-scrollbar-thumb { background: var(--mrs-border); border-radius: 0; }

.mrs-site {
  direction: rtl;
  background: var(--mrs-bg);
  color: var(--mrs-white);
  min-height: 100vh;
  width: 100%;
  overflow-x: clip;
}

.mrs-wrap {
  width: var(--mrs-wrap);
  margin-inline: auto;
}

.mrs-latin {
  font-family: Archivo, Vazirmatn, sans-serif;
  font-feature-settings: 'ss01';
}

.mrs-kicker {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--mrs-muted-2);
  margin-bottom: 14px;
}

.mrs-kicker--accent { color: var(--mrs-accent); }
.mrs-kicker--muted { color: var(--mrs-muted-2); }

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .5em;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--mrs-muted); }

/* —— Buttons —— */
.mrs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background .25s var(--mrs-ease), color .25s var(--mrs-ease), border-color .25s var(--mrs-ease), transform .25s var(--mrs-ease), box-shadow .25s var(--mrs-ease);
  white-space: nowrap;
}

.mrs-btn svg { flex-shrink: 0; }
.mrs-btn--lg { padding: 14px 24px; font-size: 14.5px; }

.mrs-btn--sand {
  background: var(--mrs-accent);
  color: var(--mrs-ink);
  border-color: var(--mrs-accent);
}
.mrs-btn--sand:hover {
  background: var(--mrs-sand-hover);
  color: var(--mrs-ink);
  border-color: var(--mrs-sand-hover);
}

.mrs-btn--ghost {
  background: transparent;
  color: var(--mrs-white);
  border-color: rgba(201, 216, 230, .35);
}
.mrs-btn--ghost:hover {
  border-color: var(--mrs-accent);
  color: var(--mrs-white);
  background: rgba(201, 216, 230, .08);
}

.mrs-btn--dark {
  background: var(--mrs-ink);
  color: var(--mrs-white);
  border-color: var(--mrs-ink);
}
.mrs-btn--dark:hover {
  background: #0d2740;
  color: var(--mrs-white);
}

.mrs-btn--outline {
  background: transparent;
  color: var(--mrs-accent);
  border-color: rgba(201, 216, 230, .4);
}
.mrs-btn--outline:hover {
  border-color: var(--mrs-accent);
  color: var(--mrs-white);
}

.mrs-btn--outline-dark {
  background: transparent;
  color: var(--mrs-ink);
  border-color: rgba(7, 24, 42, .35);
}
.mrs-btn--outline-dark:hover {
  background: var(--mrs-ink);
  color: var(--mrs-white);
}

/* Talk / contact CTA — single-line, navy on light bands */
.mrs-btn--talk {
  flex-shrink: 0;
  white-space: nowrap;
  gap: 10px;
  padding: 15px 28px;
  min-width: 11.5rem;
  justify-content: center;
  background: var(--mrs-ink);
  color: var(--mrs-white);
  border: 1px solid var(--mrs-ink);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .08) inset,
    0 10px 28px rgba(7, 24, 42, .18);
  letter-spacing: .01em;
}
.mrs-btn--talk .mrs-btn__label {
  white-space: nowrap;
  flex-shrink: 0;
}
.mrs-btn--talk svg {
  color: var(--mrs-accent);
  opacity: .95;
}
.mrs-btn--talk:hover {
  background: #0c2740;
  color: var(--mrs-white);
  border-color: #1a3f5e;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .1) inset,
    0 14px 32px rgba(7, 24, 42, .28);
  transform: translateY(-1px);
}
.mrs-btn--talk:hover svg {
  color: var(--mrs-white);
  opacity: 1;
}
.mrs-btn--talk.mrs-btn--lg {
  padding: 16px 32px;
  font-size: 15px;
  min-width: 12.5rem;
}
.mrs-btn--talk-sm {
  padding: 12px 18px;
  min-width: 0;
  font-size: 13.5px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset;
}

.mrs-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mrs-accent);
}
.mrs-text-link:hover { color: var(--mrs-white); }

.mrs-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11.5px;
  color: var(--mrs-muted);
  border: 1px solid var(--mrs-border-soft);
  background: rgba(12, 34, 55, .5);
}

.mrs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

/* —— Header —— */
.mrs-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--mrs-header-h);
}

.mrs-header__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 42, .92) 0%, rgba(7, 24, 42, .55) 70%, transparent 100%);
  opacity: 0;
  transition: opacity .35s var(--mrs-ease);
  pointer-events: none;
}

.mrs-header.is-scrolled .mrs-header__veil {
  opacity: 1;
  background: rgba(7, 24, 42, .92);
  backdrop-filter: blur(12px);
}

.mrs-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: var(--mrs-wrap);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  height: 100%;
  padding-inline: 0;
}

.mrs-logo {
  flex: 0 1 auto;
  min-width: 0;
}
.mrs-logo img,
.mrs-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
.mrs-logo img {
  height: 48px;
  max-width: min(168px, 46vw);
}
.mrs-logo-img--white,
.mrs-logo-img--outline {
  /* PNGs already keyed; screen still softens residual dark fringe on dark UI */
  mix-blend-mode: screen;
}
.mrs-logo-img--navy {
  mix-blend-mode: multiply;
}

.mrs-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
}

.mrs-nav {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(228, 237, 245, .78);
  position: relative;
}
.mrs-nav:hover,
.mrs-nav.is-active { color: var(--mrs-white); }
.mrs-nav.is-active::after {
  content: '';
  position: absolute;
  inset-inline: 12px;
  bottom: 2px;
  height: 1px;
  background: var(--mrs-accent);
}

.mrs-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.mrs-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: transparent;
  border: 1px solid rgba(201, 216, 230, .3);
  color: var(--mrs-white);
  cursor: pointer;
}

.mrs-mobile {
  position: fixed;
  inset: var(--mrs-header-h) 0 0;
  background: rgba(7, 24, 42, .97);
  backdrop-filter: blur(16px);
  z-index: 99;
  padding: 24px;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mrs-menu-toggle[aria-expanded="true"] {
  border-color: var(--mrs-accent);
  color: var(--mrs-accent);
}
.mrs-header.is-menu-open .mrs-header__veil {
  opacity: 1;
  background: rgba(7, 24, 42, .97);
}
.mrs-mobile[hidden] { display: none !important; }
.mrs-mobile__inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 420px;
  margin-inline: auto;
}
.mrs-mobile__inner > a {
  padding: 14px 4px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--mrs-white);
  border-bottom: 1px solid var(--mrs-border-soft);
}
.mrs-mobile__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.mrs-mobile__actions .mrs-btn {
  justify-content: center;
  min-height: 48px;
}

/* —— Hero —— */
.mrs-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.mrs-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.mrs-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: mrs-hero- ken 18s var(--mrs-ease) infinite alternate;
}

@keyframes mrs-hero-ken {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, 1%, 0); }
}

.mrs-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 24, 42, .45) 0%, rgba(7, 24, 42, .25) 35%, rgba(7, 24, 42, .75) 70%, rgba(7, 24, 42, .96) 100%),
    linear-gradient(90deg, rgba(7, 24, 42, .55) 0%, transparent 55%);
}

.mrs-hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mrs-hero__watermark {
  position: absolute;
  z-index: 2;
  top: 8%;
  left: max(12px, calc((100% - min(1180px, calc(100% - 48px))) / 2 - 24px));
  width: min(52vw, 560px);
  max-width: 70%;
  opacity: .18;
  pointer-events: none;
}
.mrs-hero__watermark img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.mrs-hero__body {
  position: relative;
  z-index: 3;
  width: var(--mrs-wrap);
  margin-inline: auto;
  padding: calc(var(--mrs-header-h) + 48px) 0 96px;
  max-width: 720px;
}

.mrs-hero__brand {
  position: relative;
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
  max-width: 100%;
  font-size: clamp(1.65rem, 0.4rem + 7.2vw, 5.5rem);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: .95;
  color: var(--mrs-white);
  margin: 0 0 18px;
  padding: 0 .08em .2em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, .35);
  white-space: nowrap;
  overflow: visible;
}

.mrs-hero__brand-text {
  position: relative;
  z-index: 1;
  display: inline;
}

.mrs-hero__brand-char {
  display: inline-block;
}

.mrs-hero__brand-space {
  display: inline-block;
  width: .28em;
}

.mrs-hero__brand--live.is-in.is-live .mrs-hero__brand-char {
  animation: mrs-brand-glow 5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 80ms);
}

@keyframes mrs-brand-glow {
  0%, 100% {
    color: var(--mrs-white);
    text-shadow: 0 8px 40px rgba(0, 0, 0, .35);
  }
  38% {
    color: #f5f8fb;
    text-shadow:
      0 0 10px rgba(201, 216, 230, .5),
      0 0 26px rgba(201, 216, 230, .22),
      0 8px 40px rgba(0, 0, 0, .35);
  }
  58% {
    color: var(--mrs-accent);
    text-shadow:
      0 0 8px rgba(201, 216, 230, .28),
      0 8px 40px rgba(0, 0, 0, .3);
  }
}

.mrs-hero__brand-scan {
  position: absolute;
  z-index: 2;
  top: -8%;
  bottom: 12%;
  left: -36%;
  width: 36%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(201, 216, 230, .08) 36%,
    rgba(255, 255, 255, .3) 50%,
    rgba(201, 216, 230, .1) 64%,
    transparent 100%
  );
  mix-blend-mode: soft-light;
}

.mrs-hero__brand--live.is-in .mrs-hero__brand-scan {
  animation: mrs-brand-scan 6.4s cubic-bezier(.45, .05, .22, 1) infinite;
}

@keyframes mrs-brand-scan {
  0%, 10% { opacity: 0; left: -36%; }
  20% { opacity: 1; }
  44% { opacity: .75; left: 108%; }
  52%, 100% { opacity: 0; left: 108%; }
}

.mrs-hero__brand-rule {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: .05em;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(201, 216, 230, .18) 16%,
    var(--mrs-accent) 50%,
    rgba(201, 216, 230, .18) 84%,
    transparent 100%
  );
  transform: scaleX(.58);
  transform-origin: center;
  opacity: .38;
}

.mrs-hero__brand--live.is-in .mrs-hero__brand-rule {
  animation: mrs-brand-breathe 3.6s ease-in-out infinite;
}

@keyframes mrs-brand-breathe {
  0%, 100% { opacity: .26; transform: scaleX(.52); }
  50% { opacity: .92; transform: scaleX(1); }
}

.mrs-hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  color: var(--mrs-accent);
  margin-bottom: 14px;
}

.mrs-hero__lead {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(228, 237, 245, .82);
  max-width: 42ch;
  margin-bottom: 28px;
}

.mrs-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.mrs-hero__ctas .mrs-btn {
  max-width: 100%;
  flex: 0 0 auto;
  white-space: nowrap;
}

.mrs-hero__scroll {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: max(24px, calc((100% - min(1180px, calc(100% - 48px))) / 2));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--mrs-muted-2);
  font-size: 10px;
  letter-spacing: .2em;
}

.mrs-hero__cue {
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, var(--mrs-accent), transparent);
  animation: mrs-cue 1.8s ease-in-out infinite;
}

@keyframes mrs-cue {
  0%, 100% { opacity: .35; transform: scaleY(.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* —— Reveal —— */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--mrs-ease), transform .7s var(--mrs-ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* —— Sections —— */
.mrs-section {
  padding: clamp(56px, 7vw, 104px) 0;
  border-top: 1px solid var(--mrs-border-soft);
}

.mrs-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.mrs-section-head__lead {
  margin-top: 10px;
  max-width: 42ch;
}

.mrs-manifesto { border-top: none; }
.mrs-manifesto-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.mrs-manifesto-quote {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.75;
  color: var(--mrs-text);
  font-weight: 500;
}

.mrs-chain { display: flex; flex-direction: column; }
.mrs-chain__row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--mrs-border-soft);
}
.mrs-chain__n { font-size: 11px; color: var(--mrs-muted-2); letter-spacing: .12em; }
.mrs-chain__fa { font-size: 14.5px; font-weight: 600; color: var(--mrs-white); }
.mrs-chain__en { font-size: 10px; letter-spacing: .16em; color: var(--mrs-muted-2); }

.mrs-stats-band {
  padding: 36px 0;
  border-block: 1px solid var(--mrs-border-soft);
  background: linear-gradient(180deg, rgba(12, 34, 55, .55), transparent);
}
.mrs-stats-band__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mrs-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.mrs-stat__n {
  display: block;
  font-family: Archivo, sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--mrs-accent);
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}
.mrs-stat__l {
  display: block;
  font-size: 13px;
  color: var(--mrs-muted);
}

/* —— Ticker —— */
.mrs-ticker {
  direction: ltr;
  overflow: hidden;
  max-width: 100%;
  border-block: 1px solid var(--mrs-border-soft);
  background: var(--mrs-panel-2);
  padding: 16px 0;
}
.mrs-ticker__track {
  display: flex;
  width: max-content;
  margin-inline: 0;
  will-change: transform;
  animation: mrs-marquee 42s linear infinite;
}
.mrs-ticker__seq {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.mrs-ticker--rev .mrs-ticker__track { animation-direction: reverse; animation-duration: 55s; }
.mrs-ticker__item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 18px;
  padding-inline: 18px;
  font-family: Archivo, sans-serif;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--mrs-muted-2);
  white-space: nowrap;
}
.mrs-ticker__sep { opacity: .4; font-size: 8px; }

@keyframes mrs-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--mrs-ticker-x, -50%), 0, 0); }
}

/* —— Work —— */
.mrs-work-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}

.mrs-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--mrs-border-soft);
  cursor: pointer;
  transition: background .25s var(--mrs-ease);
}
.mrs-row:hover,
.mrs-row.is-active { background: rgba(12, 34, 55, .35); }
.mrs-row.is-active { border-inline-start: 2px solid var(--mrs-accent); padding-inline-start: 14px; }

.mrs-row__top {
  display: grid;
  grid-template-columns: 36px auto 1fr auto auto;
  gap: 10px;
  align-items: center;
}
.mrs-row__idx,
.mrs-row__en,
.mrs-row-go { font-size: 10.5px; letter-spacing: .14em; color: var(--mrs-muted-2); }
.mrs-row-name { font-size: 16px; font-weight: 700; color: var(--mrs-white); }
.mrs-row-rule {
  height: 1px;
  background: var(--mrs-border-soft);
  min-width: 24px;
}
.mrs-row.is-active .mrs-row-go { color: var(--mrs-accent); }
.mrs-work-meta {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--mrs-muted-2);
}

.mrs-work-panel__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mrs-panel);
  border: 1px solid var(--mrs-border-soft);
}
.mrs-work-panel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s var(--mrs-ease);
}
.mrs-work-panel__slide.is-active { opacity: 1; }
.mrs-work-panel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mrs-work-panel__code {
  position: absolute;
  inset-inline-start: 14px;
  bottom: 14px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mrs-accent);
  background: rgba(7, 24, 42, .7);
  padding: 6px 10px;
  backdrop-filter: blur(6px);
}
.mrs-work-panel__info { padding-top: 16px; }
.mrs-work-panel__sector {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--mrs-muted-2);
  margin-bottom: 8px;
}
.mrs-work-panel__desc {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--mrs-muted);
}

/* —— Services —— */
.mrs-service-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}
.mrs-service {
  display: flex;
  flex-direction: column;
  color: inherit;
  background: var(--mrs-panel);
  border: 1px solid var(--mrs-border-soft);
  overflow: hidden;
  transition: border-color .3s var(--mrs-ease), transform .3s var(--mrs-ease);
}
.mrs-service:hover {
  border-color: var(--mrs-accent);
  transform: translateY(-4px);
  color: inherit;
}
.mrs-service__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.mrs-service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--mrs-ease);
}
.mrs-service:hover .mrs-service__media img { transform: scale(1.06); }
.mrs-service__icon {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(7, 24, 42, .72);
  color: var(--mrs-accent);
  backdrop-filter: blur(6px);
}
.mrs-service__num {
  position: absolute;
  bottom: 10px;
  inset-inline-end: 12px;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--mrs-accent);
}
.mrs-service__body { padding: 16px; }
.mrs-service__en {
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--mrs-muted-2);
  margin-bottom: 6px;
}
.mrs-service__body h3 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--mrs-white);
}
.mrs-service__body p {
  font-size: 12.5px;
  margin: 0;
  line-height: 1.7;
}

.mrs-service-detail { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 80px); }
.mrs-service-detail__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.mrs-service-detail__row:nth-child(even) .mrs-service-detail__media { order: 2; }
.mrs-service-detail__media {
  overflow: hidden;
  border: 1px solid var(--mrs-border-soft);
  aspect-ratio: 4 / 3;
}
.mrs-service-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mrs-service-detail__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.mrs-service-detail__body h2 { margin-bottom: 12px; }

/* —— Light band —— */
.mrs-band-light {
  background:
    linear-gradient(135deg, #E9EFF5 0%, #D5E0EB 50%, #C9D8E6 100%);
  color: var(--mrs-ink);
  padding: clamp(48px, 6vw, 88px) 0;
}
.mrs-band-light h2 { color: var(--mrs-ink); }
.mrs-mid-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
}
.mrs-mid-cta__copy { min-width: 0; flex: 1 1 16rem; }
.mrs-mid-cta__copy h2 { margin-bottom: 0; }
.mrs-mid-cta .mrs-btn--talk {
  flex: 0 0 auto;
  align-self: center;
}
.mrs-mid-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* —— Sectors —— */
.mrs-sectors {
  background: var(--mrs-light-band);
  color: var(--mrs-ink);
  padding: clamp(56px, 7vw, 104px) 0;
}
.mrs-sectors h2,
.mrs-sectors h3 { color: var(--mrs-ink); }
.mrs-sectors p { color: #3A5168; }
.mrs-sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.mrs-sector {
  padding: 24px 20px;
  border: 1px solid rgba(7, 24, 42, .12);
  background: rgba(255, 255, 255, .45);
  transition: border-color .3s var(--mrs-ease), background .3s var(--mrs-ease);
}
.mrs-sector:hover {
  border-color: rgba(7, 24, 42, .35);
  background: rgba(255, 255, 255, .75);
}
.mrs-sector__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--mrs-ink);
  border: 1px solid rgba(7, 24, 42, .15);
}
.mrs-sector__en {
  font-size: 10px;
  letter-spacing: .16em;
  color: #4A6480;
  margin-bottom: 8px;
}

/* —— Studio / How —— */
.mrs-studio { padding: clamp(56px, 7vw, 104px) 0; }
.mrs-studio-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
}
.mrs-studio-sticky { position: sticky; top: calc(var(--mrs-header-h) + 24px); }
.mrs-studio-sticky h2 span { color: var(--mrs-accent); }
.mrs-studio-sticky p { max-width: 42ch; margin-bottom: 24px; }

.mrs-how__row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--mrs-border-soft);
}
.mrs-how__n {
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--mrs-accent);
  padding-top: 4px;
}
.mrs-how__row h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--mrs-white);
}
.mrs-how__row p { margin: 0; font-size: 13.5px; }

.mrs-studio-page {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
}
.mrs-how--page .mrs-how__row:first-child { padding-top: 0; }

/* —— Clients —— */
.mrs-clients { padding-top: clamp(40px, 5vw, 64px); }
.mrs-clients .mrs-ticker {
  margin-top: 20px;
  border: none;
  background: transparent;
}
.mrs-clients__item {
  direction: rtl;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
  padding: 12px 36px;
  min-width: 160px;
}
.mrs-clients__fa { font-size: 15px; font-weight: 600; color: var(--mrs-white); }
.mrs-clients__en {
  font-family: Archivo, sans-serif;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--mrs-muted-2);
}

/* —— Products —— */
.mrs-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mrs-product {
  display: flex;
  flex-direction: column;
  background: var(--mrs-panel);
  border: 1px solid var(--mrs-border-soft);
  overflow: hidden;
  transition: border-color .3s var(--mrs-ease);
}
.mrs-product:hover { border-color: rgba(201, 216, 230, .45); }
.mrs-product__media {
  aspect-ratio: 1;
  background: #050f1a;
  display: grid;
  place-items: center;
  padding: 24px;
}
.mrs-product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mrs-product__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  flex: 1;
}
.mrs-product__sku {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--mrs-muted-2);
}
.mrs-product__body h3 {
  font-size: 17px;
  margin: 0;
  color: var(--mrs-white);
}
.mrs-product__body p {
  font-size: 13px;
  flex: 1;
  margin: 0;
}
.mrs-product__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--mrs-muted-2);
  margin-top: 8px;
}
.mrs-product__price {
  font-weight: 700;
  color: var(--mrs-accent);
  font-size: 14px;
}
.mrs-products--page .mrs-product__body .mrs-btn { margin-top: 12px; align-self: flex-start; }

/* —— Connect —— */
.mrs-connect {
  background: var(--mrs-light-band);
  color: var(--mrs-ink);
  padding: clamp(56px, 8vw, 112px) 0;
}
.mrs-connect h2,
.mrs-connect h3 { color: var(--mrs-ink); }
.mrs-connect__lead {
  max-width: 48ch;
  color: #2E4258;
  font-size: 1.05rem;
  margin-bottom: 36px;
}
.mrs-connect__boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mrs-connect__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(7, 24, 42, .12);
}
.mrs-connect__box .mrs-btn { flex: 0 0 auto; }
.mrs-connect__box p { margin: 4px 0 0; color: #1B3348; font-size: 13px; }
.mrs-connect--compact { text-align: center; }
.mrs-connect--compact .mrs-connect__lead { margin-inline: auto; }

/* —— Page hero —— */
.mrs-page-hero {
  position: relative;
  min-height: min(62vh, 560px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: var(--mrs-header-h);
}
.mrs-page-hero__bg {
  position: absolute;
  inset: 0;
}
.mrs-page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mrs-page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 42, .5) 0%, rgba(7, 24, 42, .88) 100%);
}
.mrs-page-hero__body {
  position: relative;
  z-index: 1;
  width: var(--mrs-wrap);
  margin-inline: auto;
  padding: 48px 0 56px;
  max-width: 720px;
}
.mrs-page-hero__lead {
  color: rgba(228, 237, 245, .85);
  max-width: 100%;
  margin-bottom: 20px;
}
.mrs-page-hero__cta { margin-top: 8px; }

@media (min-width: 901px) {
  .mrs-page-hero__body {
    max-width: min(52rem, 100%);
  }
  .mrs-page-hero__lead {
    max-width: min(52rem, 100%);
    letter-spacing: -.01em;
    white-space: nowrap;
  }
}

/* —— Work cases —— */
.mrs-work-cases { display: flex; flex-direction: column; gap: clamp(48px, 7vw, 96px); }
.mrs-case {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.mrs-case:nth-child(even) .mrs-case__media { order: 2; }
.mrs-case__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border: 1px solid var(--mrs-border-soft);
}
.mrs-case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--mrs-ease);
}
.mrs-case:hover .mrs-case__media img { transform: scale(1.04); }
.mrs-case__code {
  position: absolute;
  inset-inline-start: 14px;
  bottom: 14px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mrs-accent);
  background: rgba(7, 24, 42, .7);
  padding: 6px 10px;
}
.mrs-case__sector {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--mrs-muted-2);
  margin-bottom: 8px;
}
.mrs-case__en {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--mrs-muted-2);
  margin-bottom: 14px;
}
.mrs-case__body h2 { margin-bottom: 6px; }

/* —— About —— */
.mrs-about-intro {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.mrs-about-intro p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--mrs-text);
}
.mrs-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mrs-value {
  padding: 28px 22px;
  border: 1px solid var(--mrs-border-soft);
  background: var(--mrs-panel);
}
.mrs-value__n {
  display: block;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--mrs-accent);
  margin-bottom: 14px;
}
.mrs-value h3 { color: var(--mrs-white); margin-bottom: 10px; }
.mrs-value p { margin: 0; font-size: 13.5px; }

/* —— Contact —— */
.mrs-contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
}
.mrs-contact-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mrs-contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.mrs-contact-list__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mrs-border);
  color: var(--mrs-accent);
  flex-shrink: 0;
}
.mrs-contact-list strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
  color: var(--mrs-white);
}
.mrs-contact-list span,
.mrs-contact-list a { color: var(--mrs-muted); font-size: 14px; }
.mrs-contact-portals { display: flex; flex-wrap: wrap; gap: 10px; }

.mrs-contact-form-wrap {
  background: var(--mrs-panel);
  border: 1px solid var(--mrs-border-soft);
  padding: clamp(24px, 3vw, 36px);
}
.mrs-form { display: flex; flex-direction: column; gap: 16px; }
.mrs-form__row { display: flex; flex-direction: column; gap: 6px; }
.mrs-form label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mrs-muted);
}
.mrs-form input,
.mrs-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--mrs-bg);
  border: 1px solid var(--mrs-border);
  color: var(--mrs-white);
  font-size: 14px;
  resize: vertical;
  transition: border-color .2s var(--mrs-ease);
}
.mrs-form input:focus,
.mrs-form textarea:focus {
  outline: none;
  border-color: var(--mrs-accent);
}
.mrs-form button { align-self: flex-start; margin-top: 4px; }

.mrs-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 13.5px;
}
.mrs-alert--ok {
  background: rgba(201, 216, 230, .12);
  border: 1px solid rgba(201, 216, 230, .35);
  color: var(--mrs-accent);
}
.mrs-alert--err {
  background: rgba(180, 70, 70, .12);
  border: 1px solid rgba(180, 70, 70, .35);
  color: #E8B4B4;
}

/* —— Footer —— */
.mrs-footer {
  border-top: 1px solid var(--mrs-border);
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(28, 62, 92, .35), transparent 70%),
    linear-gradient(180deg, #07182A 0%, #050f1a 100%);
  overflow-x: clip;
}

.mrs-footer__rail {
  border-bottom: 1px solid var(--mrs-border-soft);
  background: rgba(12, 34, 55, .45);
}
.mrs-footer__rail-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  padding: 14px 0;
  min-width: 0;
}
.mrs-footer__mark {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--mrs-accent);
}
.mrs-footer__rail-rule {
  flex: 1 1 24px;
  min-width: 16px;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mrs-border), transparent);
}
.mrs-footer__rail-en {
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mrs-muted-2);
}
.mrs-footer__rail-fa {
  font-size: 12.5px;
  color: var(--mrs-muted);
}

.mrs-footer__main {
  width: var(--mrs-wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns:
    minmax(180px, 1.3fr)
    minmax(110px, .75fr)
    minmax(110px, .75fr)
    minmax(150px, .95fr)
    minmax(200px, 1fr);
  grid-template-areas: "brand pages more contact cta";
  gap: clamp(28px, 3.5vw, 48px) clamp(20px, 2.8vw, 40px);
  padding: clamp(48px, 6vw, 80px) 0 36px;
  align-items: start;
}
.mrs-footer__brand-col { grid-area: brand; min-width: 0; position: relative; overflow: hidden; }
.mrs-footer__col--pages { grid-area: pages; }
.mrs-footer__col--more { grid-area: more; }
.mrs-footer__col--contact { grid-area: contact; }
.mrs-footer__cta { grid-area: cta; }

.mrs-footer__ghost {
  position: absolute;
  inset-inline-start: -8%;
  top: -18%;
  width: min(240px, 88%);
  height: auto;
  opacity: .12;
  pointer-events: none;
  z-index: 0;
}
.mrs-footer__brand {
  position: relative;
  z-index: 1;
  display: inline-block;
}
.mrs-footer__brand img {
  height: auto;
  width: auto;
  max-width: min(168px, 100%);
  max-height: 78px;
  object-fit: contain;
}
.mrs-footer__brand-en {
  margin: 14px 0 0;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--mrs-accent);
}
.mrs-footer__tagline {
  margin: 12px 0 0;
  max-width: 30ch;
  color: var(--mrs-muted);
  font-size: 14px;
  line-height: 1.75;
}
.mrs-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.mrs-footer__social a {
  padding: 6px 10px;
  border: 1px solid var(--mrs-border-soft);
  background: rgba(12, 34, 55, .45);
  color: var(--mrs-muted-2);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mrs-footer__social a:hover {
  color: var(--mrs-white);
  border-color: var(--mrs-accent);
  background: rgba(201, 216, 230, .08);
}

.mrs-footer__col,
.mrs-footer__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.mrs-footer__col h3,
.mrs-footer__cta h3 {
  margin: 0 0 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mrs-border-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--mrs-white);
}
.mrs-footer__col a {
  width: fit-content;
  max-width: 100%;
  color: var(--mrs-muted-2);
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid transparent;
  overflow-wrap: anywhere;
}
.mrs-footer__col a:hover {
  color: var(--mrs-white);
  border-bottom-color: var(--mrs-accent);
}

.mrs-footer__line {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
}
.mrs-footer__line span {
  overflow-wrap: anywhere;
}
.mrs-footer__line--static {
  margin: 0;
  color: var(--mrs-muted-2);
  font-size: 14px;
  line-height: 1.55;
}
.mrs-footer__line svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--mrs-accent);
  opacity: .85;
}
.mrs-footer__line:hover svg { opacity: 1; }
.mrs-footer__hint {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--mrs-muted-2);
}

.mrs-footer__cta {
  position: relative;
  padding: 24px 20px;
  background:
    linear-gradient(145deg, rgba(201, 216, 230, .06), transparent 55%),
    var(--mrs-panel);
  border: 1px solid var(--mrs-border);
  gap: 12px;
}
.mrs-footer__cta::before {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 2px;
  background: var(--mrs-accent);
  opacity: .7;
}
.mrs-footer__cta-kicker {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--mrs-accent);
  margin: 0;
}
.mrs-footer__cta h3 {
  border-bottom: none;
  padding-bottom: 0;
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.mrs-footer__cta p {
  margin: 0;
  color: var(--mrs-muted);
  font-size: 13.5px;
  line-height: 1.7;
}
.mrs-footer__cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 4px;
}
.mrs-footer__cta-actions .mrs-btn {
  justify-content: center;
  width: 100%;
  max-width: 100%;
}
.mrs-footer__cta .mrs-btn--talk {
  background: var(--mrs-accent);
  color: var(--mrs-ink);
  border-color: var(--mrs-accent);
  box-shadow: none;
}
.mrs-footer__cta .mrs-btn--talk svg {
  color: var(--mrs-ink);
}
.mrs-footer__cta .mrs-btn--talk:hover {
  background: var(--mrs-sand-hover);
  color: var(--mrs-ink);
  border-color: var(--mrs-sand-hover);
  box-shadow: 0 8px 20px rgba(7, 24, 42, .35);
}
.mrs-footer__cta .mrs-btn--talk:hover svg {
  color: var(--mrs-ink);
}

.mrs-footer__meta {
  width: var(--mrs-wrap);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding: 18px 0 36px;
  border-top: 1px solid var(--mrs-border-soft);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--mrs-muted-2);
}
.mrs-footer__meta-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  min-width: 0;
}
.mrs-footer__meta-dot { opacity: .5; }
.mrs-footer__meta-kicker {
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--mrs-muted-2);
  opacity: .85;
}
.mrs-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.mrs-footer__legal a { color: var(--mrs-muted-2); }
.mrs-footer__legal a:hover { color: var(--mrs-white); }

@media (max-width: 1100px) {
  .mrs-footer__main {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "pages more"
      "contact cta";
  }
}
@media (max-width: 640px) {
  .mrs-footer__rail-rule--hide-sm,
  .mrs-footer__rail-fa--hide-sm { display: none; }
  .mrs-footer__main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "pages"
      "more"
      "contact"
      "cta";
    gap: 28px;
    padding-bottom: 24px;
  }
  .mrs-footer__cta-actions { flex-direction: column; }
  .mrs-footer__meta { padding-bottom: 28px; }
  .mrs-footer__meta-kicker { width: 100%; }
}

/* —— Default page —— */
.mrs-page {
  width: 100%;
  margin-inline: auto;
  padding: 0;
}
.mrs-page h1 { margin-bottom: 24px; }
.mrs-page .entry-content { color: var(--mrs-muted); line-height: 1.85; max-width: 68ch; overflow-wrap: anywhere; }

body:not(:has(.mrs-page-hero)):not(:has(.mrs-hero)) main > .mrs-section:first-child {
  padding-top: calc(var(--mrs-header-h) + clamp(28px, 4vw, 48px));
}

.single-mors_product .mrs-products {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 920px;
}

/* —— Responsive —— */
@media (max-width: 1280px) {
  .mrs-nav { padding-inline: 8px; font-size: 12.5px; }
}

@media (max-width: 1100px) {
  .mrs-service-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mrs-sectors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mrs-header__nav { display: none; }
  .mrs-menu-toggle { display: inline-flex; }
  .mrs-header__cta {
    height: 42px;
    padding: 0 16px;
    font-size: 13px;
    box-sizing: border-box;
    justify-content: center;
  }
  .mrs-btn--hide-sm { display: none; }
  .mrs-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .mrs-stats-band__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mrs-values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --mrs-wrap: min(1180px, calc(100% - 32px)); }
  .mrs-hero__watermark {
    width: min(62vw, 360px);
    top: 12%;
    opacity: .12;
  }
  .mrs-manifesto-grid,
  .mrs-work-grid,
  .mrs-studio-grid,
  .mrs-studio-page,
  .mrs-about-intro,
  .mrs-contact-grid,
  .mrs-case,
  .mrs-service-detail__row,
  .single-mors_product .mrs-products {
    grid-template-columns: 1fr;
  }
  .mrs-case:nth-child(even) .mrs-case__media,
  .mrs-service-detail__row:nth-child(even) .mrs-service-detail__media { order: 0; }
  .mrs-products { max-width: none; }
  .mrs-products--page { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-mors_product .mrs-products { max-width: 420px; }
  .mrs-connect__boxes { grid-template-columns: 1fr; }
  .mrs-hero__body,
  .mrs-page-hero__body {
    margin-right: auto;
    margin-left: auto;
    width: var(--mrs-wrap);
  }
  .mrs-page-hero { min-height: min(48vh, 380px); }
  .mrs-page-hero__body { padding: 28px 0 36px; }
  .mrs-page-hero__lead { white-space: normal; }
  .mrs-hero__scroll { left: 16px; }
  .mrs-row__top {
    grid-template-columns: 32px 1fr auto;
  }
  .mrs-row__en,
  .mrs-row-rule { display: none; }
  .mrs-studio-sticky { position: static; }
  .mrs-mid-cta { flex-direction: column; align-items: flex-start; }
  .mrs-section-head { align-items: flex-start; flex-direction: column; }
  .mrs-work-meta { flex-wrap: wrap; gap: 8px 16px; }
}

@media (max-width: 768px) {
  .mrs-service-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mrs-hero__body { padding: calc(var(--mrs-header-h) + 20px) 0 72px; }
  .mrs-hero__ctas { width: 100%; }
  .mrs-hero__ctas .mrs-btn { justify-content: center; flex: 1 1 calc(50% - 6px); }
  .mrs-mid-cta__actions { width: 100%; }
  .mrs-mid-cta__actions .mrs-btn { flex: 1 1 auto; justify-content: center; }
  .mrs-form input,
  .mrs-form textarea { font-size: 16px; }
}

@media (max-width: 640px) {
  :root { --mrs-header-h: 64px; }
  .mrs-service-rail,
  .mrs-products,
  .mrs-products--page,
  .mrs-footer__main,
  .mrs-values-grid { grid-template-columns: 1fr; }
  .mrs-sectors-grid { grid-template-columns: 1fr; }
  .mrs-hero__brand {
    letter-spacing: .02em;
    font-size: clamp(1.55rem, 0.55rem + 6.4vw, 2.6rem);
  }
  .mrs-header__actions { gap: 6px; }
  .mrs-header__cta,
  .mrs-menu-toggle {
    height: 38px;
  }
  .mrs-menu-toggle {
    width: 38px;
    flex-basis: 38px;
  }
  .mrs-header__cta {
    padding: 0 12px;
    font-size: 12.5px;
  }
  .mrs-products,
  .mrs-products--page,
  .single-mors_product .mrs-products { max-width: 420px; margin-inline: auto; }
  .mrs-form button { align-self: stretch; justify-content: center; }
  .mrs-connect__box { align-items: flex-start; }
  .mrs-connect__box .mrs-btn { width: 100%; justify-content: center; }
  .mrs-contact-portals .mrs-btn { width: 100%; justify-content: center; }
  .mrs-chain__row { grid-template-columns: 36px 1fr; }
  .mrs-chain__en { grid-column: 2; }
}

@media (max-width: 480px) {
  :root { --mrs-wrap: min(1180px, calc(100% - 24px)); --mrs-header-h: 60px; }
  .mrs-logo img { height: 36px; max-width: min(132px, 38vw); }
  .mrs-hero { min-height: 100svh; }
  .mrs-hero__scroll { display: none; }
  .mrs-hero__ctas { flex-direction: column; }
  .mrs-hero__ctas .mrs-btn { flex: 1 1 auto; width: 100%; }
  .mrs-btn--lg { padding: 12px 16px; font-size: 14px; }
  .mrs-btn--talk.mrs-btn--lg {
    padding: 14px 22px;
    font-size: 14.5px;
    min-width: 11rem;
  }
  .mrs-mobile { padding: 16px; }
  .mrs-mobile__actions .mrs-btn { width: 100%; justify-content: center; height: 48px; }
  .mrs-header__cta {
    padding: 0 13px;
    font-size: 12.5px;
    min-width: 7.4rem;
    justify-content: center;
  }
  .mrs-stat__n { font-size: 1.55rem; }
  .mrs-footer__social a { letter-spacing: .04em; }
}

.mrs-empty { color: var(--mrs-muted); padding: 24px 0; }
.mrs-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.mrs-form-item { margin: 0 0 12px; color: var(--mrs-muted); }
.mrs-crumbs { font-size: 13px; margin-bottom: 12px; opacity: .75; overflow-wrap: anywhere; }
.mrs-page .entry-content { max-width: 720px; overflow-wrap: anywhere; }
.mrs-page h1 { margin-bottom: 18px; }
.entry-content { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .mrs-ticker__track {
    animation: none !important;
    transform: none;
  }
  .mrs-hero__brand-scan { display: none; }
  .mrs-hero__brand-rule {
    animation: none !important;
    opacity: .55;
    transform: scaleX(.76);
  }
}
