@font-face {
  font-family: "Rokh";
  src: url("../fonts/Rokh-HairLine.woff2") format("woff2");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Rokh";
  src: url("../fonts/Rokh-Thin.woff2") format("woff2");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Rokh";
  src: url("../fonts/Rokh-ExtraLight.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Rokh";
  src: url("../fonts/Rokh-Light.woff2") format("woff2");
  font-weight: 350;
  font-display: swap;
}

@font-face {
  font-family: "Rokh";
  src: url("../fonts/Rokh-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Rokh";
  src: url("../fonts/Rokh-Normal.woff2") format("woff2");
  font-weight: 450;
  font-display: swap;
}

@font-face {
  font-family: "Rokh";
  src: url("../fonts/Rokh-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Rokh";
  src: url("../fonts/Rokh-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Rokh";
  src: url("../fonts/Rokh-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Rokh";
  src: url("../fonts/Rokh-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Rokh";
  src: url("../fonts/Rokh-UltraBold.woff2") format("woff2");
  font-weight: 850;
  font-display: swap;
}

@font-face {
  font-family: "Rokh";
  src: url("../fonts/Rokh-Black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "RokhFaNum";
  src: url("../fonts/RokhFaNum-HairLine.woff2") format("woff2");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "RokhFaNum";
  src: url("../fonts/RokhFaNum-Thin.woff2") format("woff2");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "RokhFaNum";
  src: url("../fonts/RokhFaNum-ExtraLight.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "RokhFaNum";
  src: url("../fonts/RokhFaNum-Light.woff2") format("woff2");
  font-weight: 350;
  font-display: swap;
}

@font-face {
  font-family: "RokhFaNum";
  src: url("../fonts/RokhFaNum-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "RokhFaNum";
  src: url("../fonts/RokhFaNum-Normal.woff2") format("woff2");
  font-weight: 450;
  font-display: swap;
}

@font-face {
  font-family: "RokhFaNum";
  src: url("../fonts/RokhFaNum-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "RokhFaNum";
  src: url("../fonts/RokhFaNum-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "RokhFaNum";
  src: url("../fonts/RokhFaNum-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "RokhFaNum";
  src: url("../fonts/RokhFaNum-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "RokhFaNum";
  src: url("../fonts/RokhFaNum-UltraBold.woff2") format("woff2");
  font-weight: 850;
  font-display: swap;
}

@font-face {
  font-family: "RokhFaNum";
  src: url("../fonts/RokhFaNum-Black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "RokhNoEng";
  src: url("../fonts/RokhNoEng-HairLine.woff2") format("woff2");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "RokhNoEng";
  src: url("../fonts/RokhNoEng-Thin.woff2") format("woff2");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "RokhNoEng";
  src: url("../fonts/RokhNoEng-ExtraLight.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "RokhNoEng";
  src: url("../fonts/RokhNoEng-Light.woff2") format("woff2");
  font-weight: 350;
  font-display: swap;
}

@font-face {
  font-family: "RokhNoEng";
  src: url("../fonts/RokhNoEng-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "RokhNoEng";
  src: url("../fonts/RokhNoEng-Normal.woff2") format("woff2");
  font-weight: 450;
  font-display: swap;
}

@font-face {
  font-family: "RokhNoEng";
  src: url("../fonts/RokhNoEng-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "RokhNoEng";
  src: url("../fonts/RokhNoEng-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "RokhNoEng";
  src: url("../fonts/RokhNoEng-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "RokhNoEng";
  src: url("../fonts/RokhNoEng-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "RokhNoEng";
  src: url("../fonts/RokhNoEng-UltraBold.woff2") format("woff2");
  font-weight: 850;
  font-display: swap;
}

@font-face {
  font-family: "RokhNoEng";
  src: url("../fonts/RokhNoEng-Black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Abar";
  src: url("../fonts/Abar-VF.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Pinar";
  src: url("../fonts/Pinar-FD-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Sadu";
  src: url("../fonts/Sadu-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Sadu";
  src: url("../fonts/Sadu-Bold.ttf") format("truetype");
  font-weight: 800 900;
  font-display: swap;
}

@font-face {
  font-family: "Tamam";
  src: url("../fonts/Tamam.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Karesto";
  src: url("../fonts/Karesto.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Dalino";
  src: url("../fonts/Dalino.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Sorena";
  src: url("../fonts/Sorena.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Tizi";
  src: url("../fonts/Tizi-Black.ttf") format("truetype");
  font-display: swap;
}

:root {
  --font-main: "RokhFaNum", Tahoma, Arial, sans-serif;
  --font-body-weight: 700;
  --font-heading-weight: 800;
  --font-heavy-weight: 900;
  --black: #201d19;
  --white: #fffaf0;
  --paper: #fffef8;
  --smoke: #eee5d4;
  --smoke-deep: #d4c5a7;
  --text: #3f372c;
  --accent: #f3c316;
  --accent-soft: #ffe78a;
  --border: 2px solid var(--black);
  --shadow: -8px 8px 0 var(--black);
  --container: min(1180px, calc(100vw - 36px));
}

html[data-font="rokh-fanum"] {
  --font-main: "RokhFaNum", Tahoma, Arial, sans-serif;
}

html[data-font="rokh"] {
  --font-main: "Rokh", Tahoma, Arial, sans-serif;
}

html[data-font="rokh-noeng"] {
  --font-main: "RokhNoEng", Tahoma, Arial, sans-serif;
}

html[data-font="abar"] {
  --font-main: "Abar", Tahoma, Arial, sans-serif;
  --font-body-weight: 650;
  --font-heading-weight: 760;
  --font-heavy-weight: 850;
}

html[data-font="pinar"] {
  --font-main: "Pinar", Tahoma, Arial, sans-serif;
  --font-body-weight: 650;
  --font-heading-weight: 760;
  --font-heavy-weight: 850;
}

html[data-font="sadu"] {
  --font-main: "Sadu", Tahoma, Arial, sans-serif;
  --font-body-weight: 700;
  --font-heading-weight: 850;
  --font-heavy-weight: 900;
}

html[data-font="tamam"] {
  --font-main: "Tamam", Tahoma, Arial, sans-serif;
  --font-body-weight: 700;
  --font-heading-weight: 800;
  --font-heavy-weight: 900;
}

html[data-font="karesto"] {
  --font-main: "Karesto", Tahoma, Arial, sans-serif;
  --font-body-weight: 650;
  --font-heading-weight: 800;
  --font-heavy-weight: 900;
}

html[data-font="dalino"] {
  --font-main: "Dalino", Tahoma, Arial, sans-serif;
  --font-body-weight: 700;
  --font-heading-weight: 800;
  --font-heavy-weight: 900;
}

html[data-font="sorena"] {
  --font-main: "Sorena", Tahoma, Arial, sans-serif;
  --font-body-weight: 700;
  --font-heading-weight: 800;
  --font-heavy-weight: 900;
}

html[data-font="tizi"] {
  --font-main: "Tizi", Tahoma, Arial, sans-serif;
  --font-body-weight: 700;
  --font-heading-weight: 800;
  --font-heavy-weight: 900;
}

html[data-font="rokh-fanum-light"],
html[data-font="rokh-noeng-light"] {
  --font-body-weight: 400;
  --font-heading-weight: 600;
  --font-heavy-weight: 700;
}

html[data-font="rokh-fanum-medium"],
html[data-font="rokh-noeng-medium"] {
  --font-body-weight: 500;
  --font-heading-weight: 700;
  --font-heavy-weight: 800;
}

html[data-font="rokh-fanum-semibold"] {
  --font-body-weight: 600;
  --font-heading-weight: 800;
  --font-heavy-weight: 850;
}

html[data-font="rokh-fanum-bold"],
html[data-font="rokh-noeng-bold"] {
  --font-body-weight: 700;
  --font-heading-weight: 850;
  --font-heavy-weight: 900;
}

html[data-font^="rokh-fanum-"] {
  --font-main: "RokhFaNum", Tahoma, Arial, sans-serif;
}

html[data-font^="rokh-noeng-"] {
  --font-main: "RokhNoEng", Tahoma, Arial, sans-serif;
}

html[data-theme="warm-gray"] {
  --black: #1f1f1d;
  --white: #fbfaf6;
  --paper: #ffffff;
  --smoke: #eeeeea;
  --smoke-deep: #cfcfc7;
  --text: #383832;
  --accent: #b9b8ad;
  --accent-soft: #e5e3dc;
}

html[data-theme="silver-smoke"] {
  --black: #20201f;
  --white: #fafafa;
  --paper: #ffffff;
  --smoke: #eeeeee;
  --smoke-deep: #c7c7c1;
  --text: #3d3d39;
  --accent: #9b9b93;
  --accent-soft: #deded8;
}

html[data-theme="mono-soft"] {
  --black: #111111;
  --white: #fbfbfb;
  --paper: #ffffff;
  --smoke: #f0f0f0;
  --smoke-deep: #c9c9c9;
  --text: #2d2d2d;
  --accent: #d7d7d2;
  --accent-soft: #eeeeeb;
}

html[data-theme="mustard"] {
  --black: #201d19;
  --white: #fffaf0;
  --paper: #fffef8;
  --smoke: #eee5d4;
  --smoke-deep: #d4c5a7;
  --text: #3f372c;
  --accent: #f3c316;
  --accent-soft: #ffe78a;
}

html[data-theme="leaf-ink"] {
  --black: #18201a;
  --white: #fbfcf3;
  --paper: #ffffff;
  --smoke: #edf3df;
  --smoke-deep: #bfd2a3;
  --text: #34402e;
  --accent: #9fcf59;
  --accent-soft: #dff0b9;
}

html[data-theme="forest-paper"] {
  --black: #16251d;
  --white: #f8f8ef;
  --paper: #fffdf4;
  --smoke: #e8eddd;
  --smoke-deep: #a8be98;
  --text: #314032;
  --accent: #5f8f54;
  --accent-soft: #cfe0bd;
}

html[data-theme="mint-pop"] {
  --black: #172321;
  --white: #f7fffb;
  --paper: #ffffff;
  --smoke: #e5f5ee;
  --smoke-deep: #a6d8c5;
  --text: #2d4039;
  --accent: #5fd6a7;
  --accent-soft: #c9f4df;
}

html[data-theme="teal-grid"] {
  --black: #112426;
  --white: #f4fbfb;
  --paper: #ffffff;
  --smoke: #e2f0f0;
  --smoke-deep: #9cc9c9;
  --text: #294246;
  --accent: #35b6b4;
  --accent-soft: #bdeceb;
}

html[data-theme="blue-pencil"] {
  --black: #151d2b;
  --white: #f7f9ff;
  --paper: #ffffff;
  --smoke: #e8edf8;
  --smoke-deep: #aebbd7;
  --text: #2c3548;
  --accent: #5f86e8;
  --accent-soft: #d4defa;
}

html[data-theme="cobalt-cream"] {
  --black: #111827;
  --white: #fffaf0;
  --paper: #fffef8;
  --smoke: #e8ecf6;
  --smoke-deep: #aab6d9;
  --text: #273149;
  --accent: #3157d5;
  --accent-soft: #cfd8ff;
}

html[data-theme="sky-ink"] {
  --black: #14202a;
  --white: #f5fbff;
  --paper: #ffffff;
  --smoke: #e2f2fb;
  --smoke-deep: #9ccce7;
  --text: #2a3c4b;
  --accent: #62bcea;
  --accent-soft: #cfedfb;
}

html[data-theme="lavender-ink"] {
  --black: #201b2d;
  --white: #fbf8ff;
  --paper: #ffffff;
  --smoke: #ede8f8;
  --smoke-deep: #c1b0de;
  --text: #3b314c;
  --accent: #9b7be5;
  --accent-soft: #e2d7fb;
}

html[data-theme="violet-paper"] {
  --black: #25172f;
  --white: #fff8ff;
  --paper: #ffffff;
  --smoke: #f0e4f4;
  --smoke-deep: #c79ed2;
  --text: #43294e;
  --accent: #b35cd0;
  --accent-soft: #eccbf5;
}

html[data-theme="rose-ink"] {
  --black: #2d1820;
  --white: #fff8fa;
  --paper: #ffffff;
  --smoke: #f5e4e9;
  --smoke-deep: #daa6b8;
  --text: #4c2b36;
  --accent: #e06f94;
  --accent-soft: #f8cfda;
}

html[data-theme="raspberry-paper"] {
  --black: #2b141d;
  --white: #fff7fa;
  --paper: #ffffff;
  --smoke: #f6e3ea;
  --smoke-deep: #d99bb4;
  --text: #4a2633;
  --accent: #cf3f72;
  --accent-soft: #f3c6d7;
}

html[data-theme="coral-clay"] {
  --black: #2b1b18;
  --white: #fff8f3;
  --paper: #fffefb;
  --smoke: #f3e4db;
  --smoke-deep: #d9a995;
  --text: #4b332b;
  --accent: #f07355;
  --accent-soft: #ffd1c4;
}

html[data-theme="terracotta"] {
  --black: #2c1c16;
  --white: #fff7ef;
  --paper: #fffdf7;
  --smoke: #f0dfd1;
  --smoke-deep: #c99a7d;
  --text: #4b3428;
  --accent: #c9673f;
  --accent-soft: #edc4ad;
}

html[data-theme="apricot-ink"] {
  --black: #2a2118;
  --white: #fffaf0;
  --paper: #fffef8;
  --smoke: #f2e7d4;
  --smoke-deep: #dbbd8d;
  --text: #473828;
  --accent: #f2a640;
  --accent-soft: #ffdfaa;
}

html[data-theme="olive-cream"] {
  --black: #202113;
  --white: #fffdf0;
  --paper: #ffffff;
  --smoke: #eeedd8;
  --smoke-deep: #c4c08b;
  --text: #3c3d25;
  --accent: #a5a832;
  --accent-soft: #e3e5a8;
}

html[data-theme="lime-ink"] {
  --black: #1c2217;
  --white: #fbfff2;
  --paper: #ffffff;
  --smoke: #edf6df;
  --smoke-deep: #c1dd8e;
  --text: #35422b;
  --accent: #b8e15a;
  --accent-soft: #e5f6bd;
}

html[data-theme="cyan-ink"] {
  --black: #102025;
  --white: #f4fdff;
  --paper: #ffffff;
  --smoke: #ddf4f8;
  --smoke-deep: #98d5df;
  --text: #284047;
  --accent: #45d0e0;
  --accent-soft: #bdf2f7;
}

html[data-theme="indigo-mist"] {
  --black: #171b30;
  --white: #f8f9ff;
  --paper: #ffffff;
  --smoke: #e6e8f5;
  --smoke-deep: #a6acd3;
  --text: #30364d;
  --accent: #626bd9;
  --accent-soft: #d6d9fa;
}

html[data-theme="peach-graphite"] {
  --black: #242120;
  --white: #fff8f2;
  --paper: #ffffff;
  --smoke: #f2e3d9;
  --smoke-deep: #d7ad96;
  --text: #443831;
  --accent: #ff9f73;
  --accent-soft: #ffd8c5;
}

html[data-theme="red-pencil"] {
  --black: #291818;
  --white: #fff8f6;
  --paper: #ffffff;
  --smoke: #f3e1de;
  --smoke-deep: #d99a91;
  --text: #4a2c2a;
  --accent: #e05243;
  --accent-soft: #f7c6bf;
}

* {
  box-sizing: border-box;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(32, 29, 25, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(32, 29, 25, .045) 1px, transparent 1px),
    var(--white);
  background-size: 44px 44px;
  color: var(--black);
  font-family: var(--font-main);
  line-height: 1.75;
  direction: rtl;
  text-align: right;
}

body.settings-page {
  min-height: 100svh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  direction: rtl;
  text-align: right;
}

body * {
  direction: rtl;
  text-align: right;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: var(--container);
  margin: 18px auto 0;
  padding: 12px;
  border: var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  min-width: 148px;
  height: 72px;
  padding: 10px 14px;
  overflow: hidden;
  border: var(--border);
  background: var(--paper);
  line-height: 1;
}

.logo img {
  display: block;
  width: 100%;
  max-width: 118px;
  max-height: 50px;
  height: auto;
  object-fit: contain;
}

.logo.small {
  width: 86px;
  min-width: 86px;
  height: 86px;
  padding: 12px;
}

.logo.small img {
  width: 100%;
  max-width: 62px;
  max-height: 62px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.nav ul,
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav li {
  display: contents;
}

.nav a,
.header-action {
  padding: 10px 14px;
  font-weight: 800;
}

.nav a:hover {
  background: var(--accent-soft);
}

.header-action {
  border: var(--border);
  background: var(--accent);
  color: var(--black);
}

.mobile-menu-toggle {
  display: none;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: var(--border);
  background: var(--accent);
  box-shadow: -4px 4px 0 var(--black);
  color: var(--black);
  cursor: pointer;
}

.mobile-menu-toggle span {
  position: relative;
  display: block;
  width: 26px;
  height: 3px;
  background: currentColor;
}

.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
  content: "";
  position: absolute;
  right: 0;
  width: 26px;
  height: 3px;
  background: currentColor;
}

.mobile-menu-toggle span::before {
  top: -8px;
}

.mobile-menu-toggle span::after {
  top: 8px;
}

.site-header.menu-open .mobile-menu-toggle span {
  background: transparent;
}

.site-header.menu-open .mobile-menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.menu-open .mobile-menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .42fr);
  grid-template-areas:
    "copy visual"
    "pills pills";
  gap: 22px 34px;
  width: var(--container);
  min-height: auto;
  margin: 46px auto 70px;
  padding: 42px 38px 30px;
  align-items: center;
  border: var(--border);
  background:
    linear-gradient(135deg, var(--accent-soft) 0 34%, var(--paper) 34% 100%);
  box-shadow: var(--shadow);
}

.hero-copy {
  grid-area: copy;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: center;
  padding: 42px 0 0;
}

.hero-copy h1 {
  width: fit-content;
  margin-inline: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: none;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 800;
  line-height: 1.18;
  padding-block: .08em .03em;
  white-space: nowrap;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.22;
  padding-block: .08em .03em;
}

h3 {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.32;
  padding-block: .06em .02em;
}

.lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: fit-content;
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: var(--border);
  box-shadow: -4px 4px 0 var(--black);
  font-weight: 900;
  cursor: pointer;
}

.btn-dark {
  background: var(--black);
  color: var(--accent);
}

.hero-actions .btn-dark,
.header-action {
  background: var(--accent);
  color: var(--black);
}

.btn-light {
  background: var(--paper);
}

.hero-visual {
  position: relative;
  grid-area: visual;
  display: grid;
  min-height: 260px;
  place-items: center;
  border: var(--border);
  background: var(--paper);
  box-shadow: -5px 5px 0 var(--black);
  overflow: hidden;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(260px, 78%);
  height: auto;
}

.hero-pills {
  grid-area: pills;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
}

.hero-pills a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: var(--border);
  background: var(--paper);
  font-size: 17px;
  font-weight: 800;
}

.hero-pills a:nth-child(even) {
  background: var(--smoke);
}

.band,
.section,
.split-section,
.contact,
.footer {
  width: var(--container);
  margin: 78px auto;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.band p,
.dark-panel p,
.contact p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
}

.section-title {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  margin-bottom: 24px;
  border-bottom: var(--border);
}

.section-title h2 {
  max-width: 100%;
  margin-inline: 0;
  margin-bottom: 8px;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 275px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px;
  border: var(--border);
  background: var(--paper);
  box-shadow: -5px 5px 0 var(--black);
  transition: transform .16s ease, box-shadow .16s ease;
}

.service-card:hover {
  transform: translate(-3px, 3px);
  box-shadow: -2px 2px 0 var(--black);
}

.service-card.large {
  grid-row: span 2;
  background: var(--accent);
  color: var(--black);
}

.service-card:nth-child(3),
.service-card:nth-child(5) {
  background: var(--accent-soft);
}

.service-card:nth-child(2),
.service-card:nth-child(4) {
  background: var(--smoke);
  color: var(--black);
}

.service-card p {
  margin-bottom: 0;
  color: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.card-cta {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  padding-top: 0;
  border-bottom: 2px solid currentColor;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(480px, .95fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.dark-panel {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  border: var(--border);
  background: var(--black);
  color: var(--accent);
  box-shadow: var(--shadow);
}

.dark-panel h2 {
  width: 100%;
  margin: 0;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.18;
  white-space: nowrap;
}

.dark-panel p,
.contact p {
  color: var(--white);
}

.landing-list {
  display: grid;
  gap: 12px;
}

.landing-list a {
  display: flex;
  min-height: 68px;
  align-items: center;
  padding: 14px 18px;
  border: var(--border);
  background: var(--paper);
  font-size: 20px;
  font-weight: 900;
}

.landing-list a:nth-child(even) {
  background: var(--accent-soft);
}

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

.portfolio-row a {
  min-height: 185px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: var(--border);
  background: var(--paper);
  box-shadow: -5px 5px 0 var(--black);
  transition: transform .16s ease, box-shadow .16s ease;
}

.portfolio-row a:hover {
  transform: translate(-3px, 3px);
  box-shadow: -2px 2px 0 var(--black);
}

.portfolio-row a:nth-child(2) {
  background: var(--accent-soft);
}

.portfolio-row strong {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
}

.portfolio-home-action {
  display: flex;
  margin-top: 22px;
}

.trust-carousel,
.testimonial-carousel {
  overflow: hidden;
}

.carousel-frame {
  position: relative;
}

.carousel-shell {
  padding: 8px 56px 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-shell::-webkit-scrollbar {
  display: none;
}

.carousel-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  transform: translateY(-50%);
  border: var(--border);
  border-radius: 0;
  background: var(--accent);
  color: var(--black);
  box-shadow: -4px 4px 0 var(--black);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  direction: ltr !important;
  unicode-bidi: isolate;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}

.carousel-control:hover {
  transform: translate(-2px, calc(-50% + 2px));
  box-shadow: -2px 2px 0 var(--black);
}

.carousel-control-right {
  right: 0;
}

.carousel-control-left {
  left: 0;
}

.logo-track,
.testimonial-track {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  min-width: max-content;
  padding: 0 0 6px 10px;
  scroll-snap-type: x mandatory;
}

.client-logo,
.testimonial-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border: var(--border);
  background: var(--paper);
  box-shadow: -5px 5px 0 var(--black);
}

.client-logo {
  display: grid;
  width: 260px;
  min-height: 210px;
  grid-template-rows: auto 1fr;
  gap: 18px;
  align-content: start;
  justify-items: center;
  padding: 22px;
}

.client-logo.accent,
.testimonial-card.featured {
  background: var(--accent-soft);
}

.client-logo.smoke,
.testimonial-card.smoke {
  background: var(--smoke);
}

.client-logo strong {
  justify-self: center;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.24;
}

.client-logo-frame {
  display: grid;
  width: min(150px, 100%);
  min-height: 92px;
  place-items: center;
  align-self: stretch;
  justify-self: center;
  border: var(--border);
  background: var(--paper);
}

.client-logo small,
.testimonial-card small {
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.testimonial-card {
  position: relative;
  display: grid;
  width: min(430px, calc(100vw - 44px));
  min-height: 285px;
  align-content: space-between;
  justify-items: start;
  gap: 18px;
  padding: 24px;
}

.testimonial-card p {
  position: relative;
  z-index: 1;
  max-width: 340px;
  margin: 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.75;
}

.testimonial-card strong {
  font-size: 22px;
  font-weight: 800;
}

.category-track {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  min-width: max-content;
  padding: 0 0 6px 10px;
  scroll-snap-type: x mandatory;
}

.category-card {
  display: grid;
  flex: 0 0 295px;
  min-height: 175px;
  align-content: space-between;
  justify-items: start;
  gap: 18px;
  padding: 22px;
  scroll-snap-align: start;
  border: var(--border);
  background: var(--paper);
  box-shadow: -5px 5px 0 var(--black);
  transition: transform .16s ease, box-shadow .16s ease;
}

.category-card:hover {
  transform: translate(-3px, 3px);
  box-shadow: -2px 2px 0 var(--black);
}

.category-card.accent {
  background: var(--accent-soft);
}

.category-card.smoke {
  background: var(--smoke);
}

.category-card strong {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.26;
}

.category-card span {
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: var(--border);
  background:
    linear-gradient(135deg, var(--black) 0 62%, var(--accent) 62% 100%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact > div {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 34px;
}

.contact > div h2 {
  width: 100%;
  margin: 0;
  text-align: center !important;
}

form {
  display: grid;
  gap: 13px;
  padding: 18px;
  border: var(--border);
  background: var(--paper);
  color: var(--black);
}

label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  border: var(--border);
  border-radius: 0;
  background: var(--paper);
  color: var(--black);
}

textarea {
  min-height: 118px;
  resize: vertical;
}

.service-contact,
.portfolio-contact {
  width: 100%;
  margin: 42px 0 0;
}

.contact-landing {
  width: var(--container);
  margin: 58px auto 78px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr);
  gap: 24px;
  align-items: stretch;
  padding: 30px;
  border: var(--border);
  background:
    linear-gradient(135deg, var(--accent-soft) 0 42%, var(--paper) 42% 100%);
  box-shadow: var(--shadow);
}

.contact-hero h1 {
  max-width: 980px;
}

.contact-hero p {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-status {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 24px;
  border: var(--border);
  background: var(--black);
  color: var(--white);
  box-shadow: -5px 5px 0 var(--black);
}

.contact-status strong {
  color: var(--accent);
  font-size: 42px;
  line-height: 1.2;
}

.contact-status span {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.75;
}

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

.contact-channel-card {
  display: grid;
  min-height: 250px;
  align-content: space-between;
  gap: 16px;
  padding: 22px;
  border: var(--border);
  background: var(--paper);
  box-shadow: -5px 5px 0 var(--black);
}

.contact-channel-card.accent {
  background: var(--accent-soft);
}

.contact-channel-card.smoke {
  background: var(--smoke);
}

.contact-channel-card strong {
  font-size: 32px;
  line-height: 1.24;
}

.contact-channel-card p {
  margin: 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.75;
}

.contact-channel-card a,
.contact-channel-card span {
  width: fit-content;
  border-bottom: 2px solid currentColor;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
}

.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .46fr);
  gap: 24px;
  margin-top: 44px;
}

.contact-page-form,
.contact-guide section {
  border: var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-page-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 26px;
}

.contact-page-form h2,
.contact-page-form .wide,
.contact-page-form button {
  grid-column: 1 / -1;
}

.contact-page-form h2 {
  margin-bottom: 4px;
  font-size: clamp(36px, 4vw, 64px);
}

.contact-page-form textarea {
  min-height: 180px;
}

.contact-page-form button {
  width: fit-content;
}

.contact-guide {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-guide section {
  padding: 22px;
}

.contact-guide section.accent {
  background: var(--accent-soft);
}

.contact-guide h2 {
  margin-bottom: 10px;
  font-size: 32px;
}

.contact-guide p {
  margin: 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.8;
}

.footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(0, .75fr));
  gap: 22px;
  align-items: start;
  padding: 26px;
  border: var(--border);
  background:
    linear-gradient(135deg, var(--paper) 0 64%, var(--accent-soft) 64% 100%);
  box-shadow: var(--shadow);
}

.footer p {
  margin: 14px 0 0;
  max-width: 360px;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-col {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.footer-col ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col h2 {
  margin: 0 0 7px;
  padding-bottom: 8px;
  border-bottom: var(--border);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.footer-col a {
  display: inline-flex;
  width: fit-content;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}

.footer-col a:hover {
  color: var(--black);
  background: var(--accent-soft);
}

.footer-cta {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: var(--border);
  background: var(--black);
  color: var(--white);
}

.footer-cta strong {
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.footer-cta span {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
}

.footer-cta .btn {
  width: fit-content;
  min-height: 44px;
  padding: 8px 13px;
  background: var(--accent);
  color: var(--black);
  font-weight: 900;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: var(--border);
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.settings-hero {
  width: var(--container);
  margin: 58px auto 40px;
  padding: 32px;
  border: var(--border);
  background:
    linear-gradient(135deg, var(--accent-soft) 0 42%, var(--paper) 42% 100%);
  box-shadow: var(--shadow);
}

.settings-hero h1 {
  max-width: 820px;
}

.settings-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  width: var(--container);
  margin: 0 auto 78px;
  align-items: stretch;
}

.settings-title {
  width: var(--container);
  margin: 0 auto 24px;
}

.font-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  width: var(--container);
  margin: 0 auto 78px;
}

.theme-card {
  display: grid;
  grid-template-rows: auto minmax(88px, auto) auto auto;
  gap: 16px;
  min-height: 390px;
  padding: 20px;
  overflow: hidden;
  border: var(--border);
  background: var(--paper);
  box-shadow: -5px 5px 0 var(--black);
  color: var(--black);
  cursor: pointer;
}

.theme-card[aria-pressed="true"] {
  background: var(--accent-soft);
  box-shadow: -8px 8px 0 var(--black);
}

.font-card {
  grid-template-rows: auto minmax(76px, auto) 1fr;
  min-height: 300px;
  align-content: stretch;
}

.font-card .font-sample {
  display: grid;
  min-height: 118px;
  margin-top: 0;
  padding: 18px;
  align-items: center;
  justify-items: center;
  border: var(--border);
  background: var(--accent-soft);
  color: var(--black);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 800;
  line-height: 1.45;
  text-align: center !important;
}

.font-card[data-font-option="rokh-fanum"] .font-sample {
  font-family: "RokhFaNum", Tahoma, Arial, sans-serif;
}

.font-card[data-font-option="rokh-noeng"] .font-sample {
  font-family: "RokhNoEng", Tahoma, Arial, sans-serif;
}

.theme-card strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
}

.theme-card span {
  display: block;
  min-height: 88px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(4, 52px);
  justify-content: start;
  gap: 10px;
  margin: 0;
}

.swatches i {
  display: block;
  width: 52px;
  height: 52px;
  border: var(--border);
}

.preview-box {
  align-self: end;
  margin-top: auto;
  border: var(--border);
  background: var(--paper);
}

.preview-box b {
  display: block;
  padding: 10px 12px;
  border-bottom: var(--border);
  background: var(--black);
  color: var(--white);
  font-weight: 800;
}

.preview-box em {
  display: block;
  padding: 12px;
  background: var(--accent);
  color: var(--black);
  font-style: normal;
  font-weight: 800;
}

.theme-note {
  width: var(--container);
  margin: 0 auto 78px;
  padding: 22px;
  border: var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.theme-note p {
  margin: 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
}

.service-landing {
  width: var(--container);
  margin: 58px auto 78px;
}

.service-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: stretch;
  padding: 30px;
  border: var(--border);
  background:
    linear-gradient(135deg, var(--accent-soft) 0 44%, var(--paper) 44% 100%);
  box-shadow: var(--shadow);
}

.service-hero h1 {
  max-width: 820px;
}

.service-hero p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
}

.service-body {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 32px;
}

.service-process-title {
  margin: 42px 0 18px;
}

.service-content {
  margin-top: 32px;
}

.service-content-card {
  display: grid;
  grid-template-columns: minmax(260px, .58fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 28px;
  border: var(--border);
  background:
    linear-gradient(135deg, var(--paper) 0 72%, var(--accent-soft) 72% 100%);
  box-shadow: var(--shadow);
}

.service-content-card h2 {
  margin-bottom: 0;
  max-width: 620px;
  font-size: 38px;
  line-height: 1.26;
}

.service-content-copy {
  display: grid;
  gap: 16px;
}

.service-content-copy p {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.85;
}

.service-process-title h2 {
  max-width: none;
  font-size: 44px;
  line-height: 1.22;
  white-space: nowrap;
}

.service-panel,
.service-list-panel {
  padding: 24px;
  border: var(--border);
  background: var(--paper);
  box-shadow: -5px 5px 0 var(--black);
}

.service-panel.dark {
  background: var(--black);
  color: var(--white);
}

.service-panel.dark p {
  color: var(--white);
}

.service-panel p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
}

.service-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  padding: 14px 16px;
  border: var(--border);
  background: var(--smoke);
  font-size: 18px;
  font-weight: 800;
}

.service-list li:nth-child(even) {
  background: var(--accent-soft);
}

.services-directory {
  width: 100%;
  margin: 42px 0;
}

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

.service-directory-card {
  display: flex;
  min-height: 265px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px;
  border: var(--border);
  background: var(--paper);
  box-shadow: -5px 5px 0 var(--black);
  transition: transform .16s ease, box-shadow .16s ease;
}

.service-directory-card:hover {
  transform: translate(-3px, 3px);
  box-shadow: -2px 2px 0 var(--black);
}

.service-directory-card.accent {
  background: var(--accent-soft);
}

.service-directory-card.smoke {
  background: var(--smoke);
}

.service-directory-card strong {
  margin-bottom: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
}

.service-directory-card p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
}

.service-directory-card b {
  width: fit-content;
  margin-top: 4px;
  padding-top: 0;
  border-bottom: 2px solid currentColor;
  font-weight: 900;
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.service-step {
  min-height: 190px;
  padding: 20px;
  border: var(--border);
  background: var(--paper);
}

.service-step span {
  display: inline-flex;
  margin-bottom: 26px;
  padding: 7px 10px;
  border: var(--border);
  background: var(--accent);
  font-weight: 900;
}

.service-step p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.service-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.portfolio-landing {
  width: var(--container);
  margin: 58px auto 78px;
}

.portfolio-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: stretch;
  padding: 30px;
  border: var(--border);
  background:
    linear-gradient(135deg, var(--accent-soft) 0 42%, var(--paper) 42% 100%);
  box-shadow: var(--shadow);
}

.portfolio-hero.compact {
  grid-template-columns: 1fr;
  margin-bottom: 30px;
}

.portfolio-hero h1 {
  max-width: 900px;
}

.portfolio-hero p {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
}

.portfolio-fields,
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-field-card,
.work-card {
  display: flex;
  flex-direction: column;
  min-height: 275px;
  padding: 22px;
  border: var(--border);
  background: var(--paper);
  box-shadow: -5px 5px 0 var(--black);
}

.portfolio-field-card {
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.portfolio-field-card:nth-child(3n + 2),
.work-card:nth-child(3n + 2) {
  background: var(--smoke);
}

.portfolio-field-card:nth-child(3n),
.work-card.featured,
.work-card:nth-child(3n) {
  background: var(--accent-soft);
}

.portfolio-field-card strong {
  margin-bottom: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.28;
}

.portfolio-field-card p,
.work-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.portfolio-field-card p {
  text-align: center;
}

.portfolio-field-card b {
  width: fit-content;
  margin-top: 4px;
  padding-top: 0;
  border-bottom: 2px solid currentColor;
  font-weight: 900;
}

.work-media {
  display: grid;
  min-height: 170px;
  margin-bottom: 16px;
  place-items: center;
  border: var(--border);
  background:
    linear-gradient(90deg, rgba(32, 29, 25, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(32, 29, 25, .08) 1px, transparent 1px),
    var(--paper);
  background-size: 18px 18px;
}

.work-media span {
  display: inline-flex;
  min-width: 84px;
  min-height: 48px;
  align-items: center;
  justify-content: flex-end;
  border: var(--border);
  background: var(--black);
  color: var(--accent);
  font-size: 19px;
  font-weight: 900;
  text-align: right;
  direction: rtl;
}

.media-video span {
  border-radius: 999px;
}

.media-image {
  background:
    linear-gradient(135deg, var(--accent) 0 30%, transparent 30% 100%),
    linear-gradient(45deg, transparent 0 55%, var(--smoke) 55% 100%),
    var(--paper);
}

.media-file {
  background:
    linear-gradient(135deg, var(--smoke) 0 28%, transparent 28% 100%),
    var(--paper);
}

.type-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 7px 10px;
  border: var(--border);
  background: var(--accent);
  color: var(--black);
  font-weight: 900;
  line-height: 1;
}

.portfolio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.portfolio-actions .btn {
  min-height: 46px;
  padding: 9px 14px;
  font-weight: 800;
}

.download-note {
  display: grid;
  gap: 16px;
  margin-top: 64px;
  padding: 26px;
  border: var(--border);
  background:
    linear-gradient(135deg, var(--black) 0 64%, var(--accent) 64% 100%);
  box-shadow: var(--shadow);
  color: var(--white);
}

.download-note h2 {
  margin-bottom: 0;
  color: var(--white);
}

.download-note p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}

.download-note .btn {
  width: fit-content;
  background: var(--paper);
  color: var(--black);
}

.case-page {
  width: var(--container);
  margin: 58px auto 78px;
}

.case-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 30px;
  border: var(--border);
  background:
    linear-gradient(135deg, var(--accent-soft) 0 42%, var(--paper) 42% 100%);
  box-shadow: var(--shadow);
}

.case-hero h1 {
  white-space: normal;
}

.case-hero p {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.case-view {
  margin-top: 34px;
}

.case-media {
  display: grid;
  min-height: 440px;
  align-items: end;
  padding: 28px;
  border: var(--border);
  box-shadow: -5px 5px 0 var(--black);
  overflow: hidden;
}

.case-media strong {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 12px 16px;
  border: var(--border);
  background: var(--paper);
  color: var(--black);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.22;
}

.case-file {
  background:
    linear-gradient(90deg, rgba(32, 29, 25, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(32, 29, 25, .08) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
}

.case-doc-lines {
  display: grid;
  gap: 18px;
  align-self: start;
  width: min(680px, 100%);
  padding: 24px;
  border: var(--border);
  background: var(--accent-soft);
}

.case-doc-lines span {
  display: block;
  height: 22px;
  border: var(--border);
  background: var(--paper);
}

.case-doc-lines span:nth-child(even) {
  width: 72%;
}

.case-video {
  position: relative;
  background:
    linear-gradient(135deg, var(--black) 0 68%, var(--accent) 68% 100%);
  color: var(--white);
}

.case-play {
  display: inline-flex;
  width: 112px;
  height: 112px;
  align-items: center;
  justify-content: center;
  align-self: start;
  border: var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--black);
  font-size: 22px;
  font-weight: 900;
}

.case-video-bars {
  position: absolute;
  right: 26px;
  bottom: 150px;
  left: 26px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr .7fr;
  gap: 10px;
}

.case-video-bars span {
  height: 18px;
  border: var(--border);
  background: var(--paper);
}

.case-image {
  background:
    linear-gradient(135deg, var(--accent) 0 26%, transparent 26% 100%),
    linear-gradient(45deg, transparent 0 60%, var(--smoke) 60% 100%),
    var(--paper);
}

.case-image-frame {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-self: start;
  width: min(720px, 100%);
  padding: 20px;
  border: var(--border);
  background: var(--paper);
}

.case-image-frame span {
  min-height: 130px;
  border: var(--border);
  background: var(--accent-soft);
}

.case-image-frame span:first-child {
  grid-row: span 2;
  min-height: 280px;
  background: var(--black);
}

.case-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .5fr);
  gap: 22px;
  margin-top: 34px;
}

.case-about article,
.case-about aside {
  padding: 24px;
  border: var(--border);
  background: var(--paper);
  box-shadow: -5px 5px 0 var(--black);
}

.case-about article p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
}

.case-about ul {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.case-about li {
  padding: 11px 13px;
  border: var(--border);
  background: var(--smoke);
  font-weight: 800;
}

.case-about li:nth-child(even) {
  background: var(--accent-soft);
}

.case-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.case-meta-strip article {
  min-height: 130px;
  padding: 18px;
  border: var(--border);
  background: var(--paper);
  box-shadow: -4px 4px 0 var(--black);
}

.case-meta-strip article:nth-child(even) {
  background: var(--smoke);
}

.case-meta-strip span {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.case-meta-strip strong {
  display: block;
  font-size: 24px;
  line-height: 1.35;
}

.case-section,
.case-quote,
.case-next {
  margin-top: 34px;
  padding: 26px;
  border: var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.case-section:nth-of-type(even) {
  background: var(--smoke);
}

.case-section-dark {
  display: grid;
  grid-template-columns: minmax(270px, .42fr) minmax(0, 1fr);
  gap: 22px;
  background: var(--black);
  color: var(--white);
}

.case-section-dark p,
.case-section-dark .case-mini-card p {
  color: var(--white);
}

.case-section-dark .case-mini-card {
  background: transparent;
  border-color: var(--white);
}

.section-head {
  margin-bottom: 20px;
}

.section-head h2,
.case-section h2,
.case-next h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.25;
}

.case-section p,
.case-next p {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
}

.case-card-grid,
.case-results-grid,
.case-process-grid,
.case-gallery-grid {
  display: grid;
  gap: 16px;
}

.case-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-results-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-mini-card,
.case-process-step,
.case-gallery-item {
  padding: 20px;
  border: var(--border);
  background: var(--paper);
}

.case-mini-card:nth-child(even),
.case-process-step:nth-child(even),
.case-gallery-item:nth-child(even) {
  background: var(--accent-soft);
}

.case-mini-card strong,
.case-process-step strong,
.case-gallery-item strong {
  display: block;
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.3;
}

.case-mini-card p,
.case-process-step p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
}

.case-process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-process-step {
  min-height: 250px;
}

.case-process-step span {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 10px;
  border: var(--border);
  background: var(--accent);
  color: var(--black);
  font-size: 18px;
  font-weight: 900;
}

.case-split {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(280px, .42fr);
  gap: 22px;
  align-items: start;
}

.case-split article,
.case-split aside,
.case-split ol {
  padding: 22px;
  border: var(--border);
  background: var(--paper);
}

.case-split article h2 {
  margin-bottom: 16px;
}

.case-output-list,
.case-timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-output-list li,
.case-timeline li {
  padding: 14px 16px;
  border: var(--border);
  background: var(--smoke);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.6;
}

.case-output-list li:nth-child(even),
.case-timeline li:nth-child(even) {
  background: var(--accent-soft);
}

.case-timeline li span {
  display: inline-flex;
  margin-left: 12px;
  padding: 4px 8px;
  border: var(--border);
  background: var(--accent);
  color: var(--black);
  font-weight: 900;
}

.case-gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-gallery-item {
  min-height: 260px;
}

.case-gallery-item.large {
  grid-column: span 2;
}

.case-gallery-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-height: 150px;
  margin-bottom: 16px;
  padding: 12px;
  border: var(--border);
  background:
    linear-gradient(90deg, rgba(32, 29, 25, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(32, 29, 25, .08) 1px, transparent 1px),
    var(--paper);
  background-size: 18px 18px;
}

.case-gallery-preview span {
  display: block;
  min-height: 48px;
  border: var(--border);
  background: var(--accent-soft);
}

.case-gallery-preview span:first-child {
  grid-row: span 2;
  background: var(--black);
}

.case-tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.case-tool-list span {
  display: inline-flex;
  padding: 12px 15px;
  border: var(--border);
  background: var(--paper);
  color: var(--black);
  font-weight: 900;
}

.case-tool-list span:nth-child(even) {
  background: var(--accent-soft);
}

.case-quote {
  background: var(--black);
  color: var(--white);
}

.case-quote blockquote {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 900;
  line-height: 1.45;
}

.case-quote span {
  display: block;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.case-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  background:
    linear-gradient(135deg, var(--accent-soft) 0 38%, var(--paper) 38% 100%);
}

.blog-landing,
.article-page {
  width: var(--container);
  margin: 58px auto 78px;
}

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

.blog-track {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  min-width: max-content;
  padding: 0 0 6px 10px;
  scroll-snap-type: x mandatory;
}

.blog-track .blog-card {
  flex: 0 0 390px;
  scroll-snap-align: start;
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 22px;
  border: var(--border);
  background: var(--paper);
  box-shadow: -5px 5px 0 var(--black);
  transition: transform .16s ease, box-shadow .16s ease;
}

.blog-card:hover {
  transform: translate(-3px, 3px);
  box-shadow: -2px 2px 0 var(--black);
}

.blog-card.featured,
.blog-card:nth-child(2n) {
  background: var(--accent-soft);
}

.article-thumb,
.article-featured-image {
  position: relative;
  display: grid;
  min-height: 168px;
  margin-bottom: 18px;
  overflow: hidden;
  border: var(--border);
  background:
    linear-gradient(90deg, rgba(32, 29, 25, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(32, 29, 25, .08) 1px, transparent 1px),
    var(--paper);
  background-size: 22px 22px;
}

.article-featured-image {
  min-height: 330px;
  margin: 8px 0 26px;
  box-shadow: -5px 5px 0 var(--black);
}

.article-thumb span,
.article-featured-image span {
  position: absolute;
  display: block;
  border: var(--border);
  background: var(--black);
}

.article-thumb span:first-child,
.article-featured-image span:first-child {
  inset: 0 auto auto 0;
  width: 58%;
  height: 58%;
  border-top: 0;
  border-left: 0;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.article-thumb span:nth-child(2),
.article-featured-image span:nth-child(2) {
  right: 12%;
  bottom: 22%;
  width: 33%;
  height: 28%;
}

.article-thumb span:nth-child(3),
.article-featured-image span:nth-child(3) {
  left: 11%;
  bottom: 18%;
  width: 25%;
  height: 18%;
  background: var(--accent-soft);
}

.article-thumb-linkedin span:nth-child(2),
.article-thumb-linkedin.article-featured-image span:nth-child(2) {
  right: 33%;
  width: 28%;
  border-radius: 999px;
}

.article-thumb-brand span:nth-child(2),
.article-thumb-brand.article-featured-image span:nth-child(2) {
  right: 18%;
  bottom: 28%;
  width: 40%;
  height: 22%;
}

.article-thumb-strategy span:nth-child(2),
.article-thumb-strategy.article-featured-image span:nth-child(2) {
  right: 20%;
  bottom: 18%;
  width: 18%;
  height: 48%;
}

.article-thumb-strategy span:nth-child(3),
.article-thumb-strategy.article-featured-image span:nth-child(3) {
  left: 18%;
  bottom: 18%;
  width: 18%;
  height: 34%;
}

.blog-card h3 {
  font-size: 30px;
}

.blog-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.blog-card b {
  width: fit-content;
  margin-top: auto;
  padding-top: 24px;
  border-bottom: 2px solid currentColor;
  font-weight: 900;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}

.article-shell {
  grid-column: 1;
  max-width: none;
  margin: 0;
  padding: 34px;
  border: var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.article-shell h1 {
  white-space: normal;
}

.article-shell h2 {
  margin-top: 34px;
  font-size: clamp(28px, 3.2vw, 42px);
}

.article-shell p {
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.article-meta span {
  padding: 8px 11px;
  border: var(--border);
  background: var(--smoke);
  color: var(--text);
  font-weight: 900;
}

.article-lead {
  padding: 20px;
  border: var(--border);
  background: var(--accent-soft);
}

.article-cta {
  display: grid;
  gap: 14px;
  margin-top: 36px;
  padding: 20px;
  border: var(--border);
  background: var(--black);
  color: var(--white);
}

.article-cta strong {
  color: var(--accent);
  font-size: 25px;
  font-weight: 800;
}

.article-cta .btn {
  width: fit-content;
  background: var(--accent);
  color: var(--black);
}

.article-sidebar {
  grid-column: 2;
  position: sticky;
  top: 110px;
  display: grid;
  gap: 16px;
}

.sidebar-box {
  display: grid;
  gap: 13px;
  padding: 20px;
  border: var(--border);
  background: var(--paper);
  box-shadow: -5px 5px 0 var(--black);
}

.sidebar-box.dark {
  background: var(--black);
  color: var(--white);
}

.sidebar-box.accent {
  background: var(--accent-soft);
}

.sidebar-box h2 {
  margin: 0;
  font-size: 27px;
}

.sidebar-box p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.sidebar-box.dark p {
  color: var(--white);
}

.sidebar-box a:not(.btn) {
  padding: 11px 0;
  border-bottom: 2px solid var(--black);
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
}

.sidebar-box.dark a:not(.btn) {
  border-color: var(--white);
  color: var(--white);
}

.sidebar-box .btn {
  width: fit-content;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero,
  .band,
  .split-section,
  .contact,
  .contact-hero,
  .contact-main,
  .service-hero,
  .service-body,
  .service-content-card,
  .portfolio-hero,
  .article-layout,
  .case-hero,
  .case-about,
  .case-section-dark,
  .case-split,
  .case-next {
    grid-template-columns: 1fr;
  }

  .article-shell,
  .article-sidebar {
    grid-column: auto;
  }

  .article-sidebar {
    position: static;
  }

  .hero {
    grid-template-areas:
      "copy"
      "visual"
      "pills";
  }

  h1 {
    white-space: normal;
  }

  .services-grid,
  .service-directory-grid,
  .portfolio-row,
  .theme-grid,
  .font-grid,
  .hero-pills,
  .service-steps,
  .portfolio-fields,
  .work-grid,
  .blog-grid,
  .footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-meta-strip,
  .case-card-grid,
  .case-results-grid,
  .case-process-grid,
  .case-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-channel-grid,
  .contact-page-form {
    grid-template-columns: 1fr;
  }

  .service-card.large {
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
  }

  .site-header .logo {
    width: 132px;
    min-width: 132px;
    height: 58px;
    padding: 9px 14px;
    justify-self: start;
  }

  .site-header .logo img {
    max-width: 106px;
    max-height: 38px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    grid-column: 2;
    justify-self: end;
  }

  .site-header .nav {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 8px;
    padding-top: 10px;
  }

  .site-header.menu-open .nav {
    display: grid;
  }

  .site-header .nav ul,
  .site-header .nav-menu {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .site-header .nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: var(--border);
    background: var(--paper);
    text-align: center !important;
  }

  .site-header .nav a[aria-current="page"] {
    background: var(--accent-soft);
  }

  .header-action {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --container: calc(100vw - 22px);
    --shadow: -4px 4px 0 var(--black);
  }

  .site-header {
    top: 10px;
    gap: 10px;
  }

  .hero {
    min-height: auto;
    margin-top: 44px;
    padding: 24px 18px;
    grid-template-areas:
      "copy"
      "pills";
  }

  .hero-copy {
    min-height: auto;
    padding-top: 18px;
  }

  .hero-visual {
    display: none;
  }

  h1 {
    font-size: 48px;
  }

  .hero-copy h1 {
    width: 100%;
    margin-inline: auto;
    text-align: center !important;
  }

  h2 {
    font-size: 34px;
  }

  .dark-panel h2 {
    font-size: clamp(22px, 7vw, 30px);
  }

  .service-process-title h2 {
    font-size: 24px;
  }

  .service-content-card {
    padding: 20px;
  }

  .service-content-card h2 {
    font-size: 28px;
  }

  .service-content-copy p {
    font-size: 18px;
  }

  .lead {
    font-size: 19px;
  }

  .services-grid,
  .service-directory-grid,
  .portfolio-row,
  .theme-grid,
  .font-grid,
  .hero-pills,
  .service-steps,
  .portfolio-fields,
  .work-grid,
  .blog-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .case-meta-strip,
  .case-card-grid,
  .case-results-grid,
  .case-process-grid,
  .case-gallery-grid {
    grid-template-columns: 1fr;
  }

  .case-gallery-item.large {
    grid-column: auto;
  }

  .case-section,
  .case-quote,
  .case-next {
    padding: 20px;
  }

  .contact-hero,
  .contact-page-form {
    padding: 20px;
  }

  .contact-channel-grid,
  .contact-main {
    grid-template-columns: 1fr;
  }

  .carousel-shell {
    padding-inline: 44px;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
    font-size: 29px;
  }

  .article-featured-image {
    min-height: 220px;
  }

  .band,
  .contact {
    padding-inline: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .service-process-title h2 {
    font-size: 19px;
  }
}

.font-card .font-sample {
  font-weight: inherit;
}

body,
p,
li,
label,
input,
textarea,
select,
option,
small,
em,
span:not(.font-sample):not(.swatches):not(.preview-box) {
  font-weight: var(--font-body-weight) !important;
}

a,
button,
.btn,
.nav a,
.header-action,
h2,
h3,
strong,
b,
.card-cta,
.theme-card strong,
.preview-box b,
.preview-box em,
.type-badge {
  font-weight: var(--font-heading-weight) !important;
}

h1,
.hero-copy h1,
.service-hero h1,
.portfolio-hero h1,
.case-hero h1,
.settings-hero h1 {
  font-weight: var(--font-heavy-weight) !important;
}

/* RTL lock: every visible text surface in the prototype must stay Persian-first. */
html,
body,
body *,
input,
textarea,
select,
button,
option,
optgroup,
[contenteditable="true"] {
  direction: rtl !important;
  text-align: right !important;
}

input::placeholder,
textarea::placeholder {
  direction: rtl !important;
  text-align: right !important;
}

.hero-pills a {
  text-align: center !important;
}

.dark-panel h2 {
  text-align: center !important;
}

.service-card,
.service-card *,
.service-directory-card,
.service-directory-card *,
.portfolio-field-card,
.portfolio-field-card * {
  text-align: center !important;
}
