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

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

/* Anonymous systems portfolio */
.portfolio-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -12px 0 42px;
}

.portfolio-tools button {
  min-height: 42px;
  padding: 8px 16px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  transition: 0.2s ease;
}

.portfolio-tools button:hover,
.portfolio-tools button.active {
  color: var(--black);
  background: var(--acid);
  border-color: var(--acid);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px 22px;
}

.case-card {
  min-width: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.case-card[hidden] {
  display: none !important;
}

.case-wide {
  grid-column: 1 / -1;
}

.case-visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.case-wide .case-visual {
  min-height: 590px;
}

.case-number {
  position: absolute;
  z-index: 5;
  inset-block-start: 18px;
  inset-inline-start: 18px;
  padding: 7px 10px;
  color: #fff;
  background: #0a0a0a;
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.case-open {
  position: absolute;
  z-index: 6;
  inset-inline-end: 18px;
  inset-block-end: 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 9px 14px;
  color: #fff;
  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  font-size: 11px;
  backdrop-filter: blur(12px);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.case-open:hover {
  color: var(--black);
  background: var(--acid);
  transform: translateY(-3px);
}

.case-open span {
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.case-preview {
  position: relative;
  z-index: 2;
  width: 82%;
  overflow: hidden;
  box-shadow: 28px 34px 0 rgba(0, 0, 0, 0.16);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.case-card:hover .case-preview {
  transform: translateY(-8px) rotate(0deg);
  box-shadow: 34px 42px 0 rgba(0, 0, 0, 0.2);
}

.case-browser-bar {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 14px;
  color: rgba(255, 255, 255, 0.56);
  background: #17130f;
  direction: ltr;
  font-family: Arial, sans-serif;
  font-size: 8px;
}

.case-browser-bar b {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 500;
  direction: rtl;
}

.case-commerce {
  background: #ab5538;
}

.case-commerce::before,
.case-commerce::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.case-commerce::before {
  inline-size: 620px;
  block-size: 620px;
  inset-inline-end: -210px;
  inset-block-end: -300px;
  border: 110px solid #e9b65b;
}

.case-commerce::after {
  inline-size: 100px;
  block-size: 100px;
  inset-inline-start: 7%;
  inset-block-start: 18%;
  background: #f3ebdc;
  opacity: 0.18;
}

.commerce-preview {
  width: 77%;
  transform: rotate(-1.8deg);
}

.commerce-layout {
  min-height: 410px;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  align-items: center;
  padding: 50px clamp(28px, 5vw, 72px);
  color: #211a13;
  background: #f2eadb;
}

.commerce-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.commerce-copy small {
  padding: 6px 10px;
  border: 1px solid rgba(33, 26, 19, 0.2);
  border-radius: 999px;
  font-size: 9px;
}

.commerce-copy strong {
  margin: 22px 0;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1.08;
}

.commerce-copy span {
  padding-block-end: 5px;
  border-block-end: 1px solid currentColor;
  font-size: 11px;
  font-weight: 800;
}

.commerce-product {
  position: relative;
  min-height: 250px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #573326;
  border-radius: 44% 56% 49% 51% / 37% 40% 60% 63%;
}

.commerce-product i {
  inline-size: 118px;
  block-size: 152px;
  background: linear-gradient(145deg, #f6d89e, #d07a43 55%, #51281e);
  border-radius: 56% 44% 42% 58% / 60% 55% 45% 40%;
  box-shadow: inset -18px -14px 0 rgba(0, 0, 0, 0.12);
  transform: rotate(11deg);
}

.commerce-product b {
  position: absolute;
  inset-inline-end: 18px;
  inset-block-end: 14px;
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.case-ai {
  background: #dce9e4;
}

.case-ai::before {
  content: "";
  position: absolute;
  inline-size: 360px;
  block-size: 360px;
  background: #3db29b;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
}

.ai-workspace,
.ops-workspace,
.finance-workspace {
  display: grid;
  grid-template-columns: 66px 1fr;
  min-height: 320px;
  color: #19332e;
  background: #f8fbf9;
  transform: perspective(800px) rotateY(4deg);
}

.ai-workspace aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 17px 0;
  color: #fff;
  background: #0d3438;
}

.ai-workspace aside b {
  inline-size: 32px;
  block-size: 32px;
  display: grid;
  place-items: center;
  background: #279b88;
  border-radius: 10px;
}

.ai-workspace aside i {
  inline-size: 18px;
  block-size: 5px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 8px;
}

.ai-workarea {
  display: flex;
  flex-direction: column;
  padding: 38px 34px;
}

.ai-workarea small {
  color: #238371;
  font-size: 9px;
}

.ai-workarea > strong {
  margin: 9px 0 28px;
  font-size: clamp(22px, 2.6vw, 36px);
}

.ai-mode {
  display: flex;
  gap: 7px;
  margin-block-end: 16px;
}

.ai-mode span {
  padding: 7px 10px;
  color: #667973;
  border: 1px solid #d5e0dc;
  font-size: 8px;
}

.ai-mode .selected {
  color: #fff;
  background: #0d3438;
}

.ai-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-block-start: auto;
  padding: 14px;
  border: 1px solid #cddbd6;
  font-size: 9px;
}

.ai-message b {
  inline-size: 29px;
  block-size: 29px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #279b88;
  border-radius: 9px;
}

.case-ops {
  background: #e8dfc8;
}

.ops-workspace {
  grid-template-columns: 105px 1fr;
  color: #18352e;
  background: #f8f4e9;
  transform: rotate(-1.3deg);
}

.ops-workspace aside,
.finance-workspace aside {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px 12px;
  color: rgba(255, 255, 255, 0.62);
  background: #123d35;
  font-size: 8px;
}

.ops-workspace aside b,
.finance-workspace aside b {
  margin-block-end: 18px;
  color: #fff;
  font-size: 12px;
}

.ops-workspace aside span,
.finance-workspace aside span {
  padding: 8px;
}

.ops-workspace aside .active {
  color: #123d35;
  background: #f2ead2;
}

.ops-area,
.finance-area {
  padding: 34px 28px;
}

.ops-area small,
.finance-area small {
  color: #84918b;
  font-size: 8px;
}

.ops-area > strong,
.finance-area > strong {
  display: block;
  margin: 4px 0 23px;
  font-size: 22px;
}

.ops-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.ops-kpis i {
  padding: 12px;
  background: #fff;
  border: 1px solid #e4dfd2;
  font-size: 7px;
  font-style: normal;
}

.ops-kpis b {
  display: block;
  font-size: 17px;
}

.ops-chart {
  height: 90px;
  display: flex;
  align-items: end;
  gap: 8px;
  margin-block-start: 18px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e4dfd2;
}

.ops-chart span {
  flex: 1;
  height: 44%;
  background: #d6a965;
}

.ops-chart span:nth-child(2) { height: 68%; }
.ops-chart span:nth-child(3) { height: 52%; }
.ops-chart span:nth-child(4) { height: 82%; }
.ops-chart span:nth-child(5) { height: 61%; }
.ops-chart span:nth-child(6) { height: 94%; background: #17483e; }

.case-flow {
  background: #7064eb;
}

.case-flow::after {
  content: "";
  position: absolute;
  inline-size: 240px;
  block-size: 240px;
  inset-inline-end: -70px;
  inset-block-start: -90px;
  border: 54px solid #fed02d;
  border-radius: 50%;
  opacity: 0.74;
}

.flow-workspace {
  min-height: 320px;
  padding: 28px;
  color: #17171b;
  background: #f2f0eb;
  transform: rotate(1.6deg);
}

.flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 28px;
}

.flow-head b { font-size: 17px; }
.flow-head span { padding: 7px 10px; color: #fff; background: #17171b; font-size: 8px; }

.flow-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.flow-board section {
  min-height: 205px;
  padding: 12px;
  background: #e7e4dd;
}

.flow-board small {
  display: block;
  margin-block-end: 13px;
  font-size: 8px;
}

.flow-board i {
  height: 38px;
  display: block;
  margin-block-end: 7px;
  background: #fff;
  border-inline-start: 3px solid #7064eb;
}

.flow-board section:nth-child(3) i { border-color: #86aa15; }

.case-finance {
  background: #0a121d;
}

.case-finance::before {
  content: "";
  position: absolute;
  inline-size: 320px;
  block-size: 320px;
  background: #41d9d5;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
}

.finance-workspace {
  grid-template-columns: 110px 1fr;
  min-height: 320px;
  color: #eef9fb;
  background: #0a121d;
  border: 1px solid rgba(91, 236, 232, 0.25);
  transform: rotate(-1deg);
}

.finance-workspace aside {
  background: #101c2a;
}

.finance-workspace aside span:first-of-type {
  color: #061014;
  background: #57ded9;
}

.finance-area small { color: #56d8d4; }
.account-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.account-row i { min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; padding: 13px; background: #111e2d; border: 1px solid #243749; font-style: normal; }
.account-row i:first-child { border-color: #57ded9; }
.account-row b { font-size: 12px; }
.account-row span { color: #57ded9; font-size: 7px; }

.case-insurance {
  background: #f2d85b;
}

.insurance-workspace {
  min-height: 320px;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: center;
  gap: 20px;
  padding: 35px;
  color: #142b46;
  background: #eaf5ff;
  transform: rotate(1deg);
}

.insurance-copy small { color: #2674b7; font-size: 9px; }
.insurance-copy strong { display: block; margin: 10px 0 25px; font-size: 26px; line-height: 1.25; }
.insurance-copy div { display: flex; flex-wrap: wrap; gap: 6px; }
.insurance-copy span { padding: 6px 8px; background: #fff; border: 1px solid #c6dce9; font-size: 8px; }

.phone-ui {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 21px 17px;
  color: #f6fbff;
  background: #142b46;
  border: 6px solid #fff;
  border-radius: 28px;
  box-shadow: 12px 15px 0 rgba(20, 43, 70, 0.13);
}

.phone-ui i { width: 42px; height: 4px; margin: -10px auto 28px; background: rgba(255,255,255,.35); border-radius: 8px; }
.phone-ui b { font-size: 13px; }
.phone-ui p { color: rgba(255,255,255,.62); font-size: 9px; }
.phone-ui span { margin-block-start: auto; padding: 9px; color: #142b46; background: #f2d85b; font-size: 8px; text-align: center; }

.case-community {
  background: #172f57;
}

.case-community::before {
  content: "";
  position: absolute;
  inline-size: 350px;
  block-size: 350px;
  inset-inline-start: -100px;
  inset-block-end: -120px;
  background: #12ad92;
  border-radius: 50%;
  filter: blur(10px);
  opacity: .5;
}

.community-workspace {
  min-height: 320px;
  padding: 30px;
  color: #f1f4ff;
  background: #0f1e38;
  border: 1px solid rgba(180,196,255,.2);
  transform: rotate(-1.2deg);
}

.community-head,
.live-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-block-end: 44px;
  font-size: 8px;
}

.community-head b { margin-inline-end: auto; font-size: 12px; }
.community-head span { color: #fed02d; }
.community-workspace > strong { display: block; max-width: 390px; font-size: clamp(24px, 3.1vw, 39px); line-height: 1.2; }
.community-rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-block-start: 35px; }
.community-rooms i { min-height: 82px; display: flex; flex-direction: column; justify-content: space-between; padding: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-style: normal; }
.community-rooms b { font-size: 9px; }
.community-rooms span { color: #a9b5d2; font-size: 7px; }

.case-live {
  background: #c54838;
}

.case-live::after {
  content: "LIVE";
  position: absolute;
  inset-inline-start: -10px;
  inset-block-end: -74px;
  color: rgba(255,255,255,.08);
  font-family: Arial, sans-serif;
  font-size: 170px;
  font-weight: 900;
  letter-spacing: -.08em;
}

.live-workspace {
  min-height: 320px;
  padding: 26px;
  color: #fff4ec;
  background: #181311;
  transform: rotate(1.4deg);
}

.live-top b { margin-inline-end: auto; color: #ff785d; font-family: Arial, sans-serif; letter-spacing: .1em; }
.live-top span { color: rgba(255,255,255,.44); }
.live-main small { color: #ff785d; font-size: 8px; }
.live-main strong { display: block; margin: 8px 0 19px; font-size: clamp(27px, 3.2vw, 42px); line-height: 1.15; }
.live-main > span { display: inline-block; padding-block-end: 3px; border-block-end: 1px solid currentColor; font-size: 9px; }
.live-card { position: absolute; inset-inline-end: 25px; inset-block-end: 25px; width: 145px; min-height: 82px; display: grid; grid-template-columns: auto 1fr; gap: 3px 9px; align-content: center; padding: 13px; background: #c54838; }
.live-card i { grid-row: 1 / 3; align-self: center; color: #fed02d; font-style: normal; }
.live-card b { font-size: 9px; }
.live-card small { color: rgba(255,255,255,.58); font-size: 7px; }

.case-copy {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 0.75fr);
  gap: 26px;
  padding-block-start: 20px;
  border-block-start: 1px solid var(--line);
}

.case-copy > div:first-child > span {
  color: var(--muted);
  font-size: 10px;
}

.case-copy h3 {
  margin: 2px 0 0;
  font-size: 27px;
}

.case-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.case-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-block-start: -10px;
}

.case-tags span {
  padding: 4px 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 8px;
}

.case-dialog {
  position: fixed;
  z-index: 180;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.case-dialog[hidden] { display: none; }
.case-dialog-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.76); border: 0; backdrop-filter: blur(14px); cursor: pointer; }
.case-dialog-panel { position: relative; width: min(1120px, 100%); max-height: min(820px, calc(100vh - 48px)); overflow: auto; color: #f7f5ef; background: #10100f; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.case-dialog-panel > header { position: sticky; z-index: 3; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; background: rgba(16,16,15,.94); border-block-end: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(14px); }
.case-dialog-panel header span { color: #fed02d; font-size: 9px; letter-spacing: .08em; }
.case-dialog-panel header h3 { margin: 0; font-size: 25px; }
.case-dialog-panel header button { width: 44px; height: 44px; color: #10100f; background: #fed02d; border: 0; cursor: pointer; font-family: Arial, sans-serif; font-size: 26px; }
.case-dialog-body { display: grid; grid-template-columns: 1.35fr .65fr; gap: 34px; padding: 34px; }

.case-detail-stage {
  min-height: 485px;
  display: grid;
  grid-template-columns: 76px 1fr;
  color: #eef9fb;
  background: #0d1720;
  border: 1px solid rgba(255,255,255,.13);
  transition: background .25s ease;
}

.case-detail-stage[data-view="website"] { color: #201b14; background: #efe8d9; }
.case-detail-stage[data-view="dashboard"] { color: #effcff; background: #0c1722; }
.case-detail-stage[data-view="mobile"] { color: #1d2134; background: #d9d5ff; }
.case-detail-stage aside { display: flex; flex-direction: column; align-items: center; gap: 21px; padding: 22px 0; color: #fff; background: #151515; }
.case-detail-stage aside b { width: 34px; height: 34px; display: grid; place-items: center; color: #151515; background: #fed02d; }
.case-detail-stage aside i { width: 22px; height: 5px; background: rgba(255,255,255,.26); border-radius: 8px; }
.detail-canvas { display: flex; flex-direction: column; padding: 38px; }
.detail-top { display: flex; gap: 7px; margin-block-end: 58px; direction: ltr; }
.detail-top span { width: 8px; height: 8px; background: currentColor; border-radius: 50%; opacity: .25; }
.detail-canvas > strong { font-size: clamp(29px, 4vw, 48px); line-height: 1.15; }
.detail-canvas > p { max-width: 440px; margin: 10px 0 35px; opacity: .58; font-size: 12px; }
.detail-modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.detail-modules i { height: 74px; background: currentColor; opacity: .08; }
.detail-graph { height: 105px; display: flex; align-items: end; gap: 9px; margin-block-start: 10px; padding: 16px; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 14%, transparent); }
.detail-graph b { flex: 1; height: 38%; background: #12ad92; }
.detail-graph b:nth-child(2) { height: 64%; }.detail-graph b:nth-child(3) { height: 47%; }.detail-graph b:nth-child(4) { height: 80%; }.detail-graph b:nth-child(5) { height: 58%; background: #fed02d; }

.case-detail-copy { display: flex; flex-direction: column; align-items: stretch; }
.case-detail-copy > p { margin: 0 0 24px; color: rgba(255,255,255,.62); font-size: 13px; }
.case-view-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-block-end: 26px; }
.case-view-tabs button { padding: 11px 4px; color: rgba(255,255,255,.55); background: transparent; border: 1px solid rgba(255,255,255,.16); cursor: pointer; font-size: 9px; }
.case-view-tabs button + button { border-inline-start: 0; }
.case-view-tabs button.active { color: #10100f; background: #fed02d; border-color: #fed02d; }
.case-deliverables { display: grid; gap: 0; margin-block-end: 28px; border-block-start: 1px solid rgba(255,255,255,.14); }
.case-deliverables span { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; color: rgba(255,255,255,.7); border-block-end: 1px solid rgba(255,255,255,.14); font-size: 10px; }
.case-deliverables span::after { content: "✓"; color: #fed02d; }
.case-detail-copy .button { margin-block-start: auto; color: #10100f; background: #fed02d; }
body.dialog-open { overflow: hidden; }

/* Economic execution plan */
.economic-section {
  color: #0a0a0a;
  background: #fed02d;
  overflow: hidden;
}

.economic-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.economic-copy { position: sticky; top: calc(var(--header-height) + 32px); }
.economic-copy .eyebrow { color: rgba(10,10,10,.58); }
.economic-copy .eyebrow span { background: #0a0a0a; }
.economic-copy h2 { margin-block-end: 20px; }
.economic-copy h2 em { color: #12ad92; }
.economic-copy > p { max-width: 520px; color: rgba(10,10,10,.67); }
.economic-copy ol { display: grid; gap: 0; margin: 38px 0; padding: 0; list-style: none; border-block-start: 1px solid rgba(10,10,10,.22); }
.economic-copy li { display: grid; grid-template-columns: 45px 1fr; gap: 14px; padding: 16px 0; border-block-end: 1px solid rgba(10,10,10,.22); }
.economic-copy li > span { font-family: Arial, sans-serif; font-size: 10px; }
.economic-copy li div { display: flex; flex-direction: column; }
.economic-copy li strong { font-size: 13px; }
.economic-copy li small { color: rgba(10,10,10,.58); font-size: 10px; }
.economic-note { padding: 17px; background: rgba(255,255,255,.38); border-inline-start: 4px solid #12ad92; font-size: 11px; }
.economic-note b { display: block; color: #0a0a0a; }

.economic-form {
  padding: clamp(24px, 4vw, 48px);
  color: #f7f5ef;
  background: #10100f;
  box-shadow: 24px 24px 0 rgba(109,93,252,.86);
}

.economic-form-head {
  display: grid;
  grid-template-columns: 1fr auto;
  padding-block-end: 25px;
  margin-block-end: 28px;
  border-block-end: 1px solid rgba(255,255,255,.18);
}
.economic-form-head > span { color: #fed02d; font-family: Arial, sans-serif; font-size: 9px; letter-spacing: .13em; }
.economic-form-head > strong { grid-row: 2; font-size: 24px; }
.economic-form-head > small { grid-column: 2; grid-row: 1 / 3; align-self: center; color: rgba(255,255,255,.42); font-size: 9px; }
.economic-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 14px; }
.economic-field { display: flex; flex-direction: column; gap: 7px; }
.economic-field-full { grid-column: 1 / -1; }
.economic-field > span { font-size: 10px; font-weight: 800; }
.economic-field select,
.economic-field textarea { width: 100%; color: #fff; background: #181816; border: 1px solid rgba(255,255,255,.2); border-radius: 0; outline: 0; }
.economic-field select { min-height: 52px; padding: 0 13px; }
.economic-field textarea { min-height: 160px; padding: 13px; resize: vertical; }
.economic-field select:focus,
.economic-field textarea:focus { border-color: #fed02d; box-shadow: 0 0 0 1px #fed02d; }
.economic-field option { color: #fff; background: #181816; }
.economic-hint { color: rgba(255,255,255,.38); font-size: 8px; }
.economic-error { display: none; color: #ff8b63; font-size: 8px; }
.economic-field.invalid .economic-error { display: block; }
.economic-field.invalid select,
.economic-field.invalid textarea { border-color: #ff6934; }
.economic-submit { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-block-start: 30px; padding-block-start: 24px; border-block-start: 1px solid rgba(255,255,255,.18); }
.economic-submit p { max-width: 190px; margin: 0; color: rgba(255,255,255,.42); font-size: 9px; }
.economic-submit .button { color: #0a0a0a; background: #fed02d; border: 0; cursor: pointer; }
.economic-status { margin-block-start: 18px; padding: 13px; color: #0a0a0a; background: #fed02d; font-size: 10px; }

@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-wide { grid-column: auto; }
  .case-wide .case-visual,
  .case-visual { min-height: 500px; }
  .case-wide .case-preview,
  .case-preview { width: 86%; }
  .case-dialog-body { grid-template-columns: 1fr; }
  .case-detail-copy .button { margin-block-start: 0; }
  .economic-layout { grid-template-columns: 1fr; }
  .economic-copy { position: static; }
}

@media (max-width: 620px) {
  .portfolio-tools { flex-wrap: nowrap; margin-inline: -24px; padding-inline: 24px; overflow-x: auto; scrollbar-width: none; }
  .portfolio-tools::-webkit-scrollbar { display: none; }
  .portfolio-tools button { flex: 0 0 auto; }
  .case-grid { gap-block: 52px; }
  .case-wide .case-visual,
  .case-visual { min-height: 400px; }
  .case-preview,
  .case-wide .case-preview { width: calc(100% - 30px); box-shadow: 13px 16px 0 rgba(0,0,0,.16); }
  .commerce-layout { min-height: 310px; grid-template-columns: 1fr; padding: 44px 24px; }
  .commerce-copy strong { font-size: 36px; }
  .commerce-product { display: none; }
  .ai-workspace,
  .ops-workspace,
  .finance-workspace { grid-template-columns: 58px 1fr; min-height: 280px; }
  .ops-workspace aside,
  .finance-workspace aside { width: 58px; padding-inline: 6px; overflow: hidden; }
  .ops-area,
  .finance-area,
  .ai-workarea { padding: 30px 18px; }
  .ops-kpis { grid-template-columns: 1fr 1fr; }
  .ops-kpis i:last-child { display: none; }
  .flow-workspace { padding: 18px; }
  .flow-board { grid-template-columns: 1fr 1fr; }
  .flow-board section:last-child { display: none; }
  .insurance-workspace { grid-template-columns: 1fr; padding: 24px; }
  .insurance-copy { display: none; }
  .phone-ui { width: min(210px, 100%); margin-inline: auto; }
  .community-workspace,
  .live-workspace { padding: 24px 18px; }
  .community-rooms { grid-template-columns: 1fr 1fr; }
  .community-rooms i:last-child { display: none; }
  .live-top span { display: none; }
  .live-card { width: 128px; }
  .case-copy { grid-template-columns: 1fr; gap: 10px; }
  .case-tags { grid-column: auto; margin-block-start: 4px; }
  .case-open { inset-inline: 12px; justify-content: space-between; }
  .case-dialog { padding: 0; }
  .case-dialog-panel { width: 100%; max-height: 100dvh; min-height: 100dvh; border: 0; }
  .case-dialog-panel > header { padding: 14px 18px; }
  .case-dialog-body { padding: 18px; gap: 22px; }
  .case-detail-stage { min-height: 350px; grid-template-columns: 50px 1fr; }
  .detail-canvas { padding: 24px 18px; }
  .detail-top { margin-block-end: 36px; }
  .detail-modules i { height: 48px; }
  .economic-form { padding: 24px 18px; box-shadow: 10px 10px 0 rgba(109,93,252,.86); }
  .economic-fields { grid-template-columns: 1fr; }
  .economic-field-full { grid-column: auto; }
  .economic-submit { align-items: stretch; flex-direction: column; }
  .economic-submit p { max-width: none; }
  .economic-submit .button { justify-content: center; }
}

:root {
  --black: #0a0a0a;
  --ink: #f2f0e9;
  --ink-soft: #f7f5ef;
  --paper: #10100f;
  --paper-deep: #171715;
  --acid: #c8ff42;
  --purple: #12ad92;
  --orange: #ff6934;
  --line: rgba(255, 255, 255, 0.17);
  --line-dark: rgba(255, 255, 255, 0.18);
  --muted: #a5a39d;
  --max-width: 1240px;
  --header-height: 84px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="light"] {
  --paper: #f7f5ef;
  --paper-deep: #ebe8df;
  --ink: #11110f;
  --ink-soft: #1b1b18;
  --line: rgba(10, 10, 10, 0.16);
  --muted: #66635d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--black);
  background: var(--acid);
}

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

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

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 200;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  padding: 10px 16px;
  color: var(--black);
  background: var(--acid);
  transform: translateY(-160%);
  transition: transform 0.2s;
}

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

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

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

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

.site-header {
  position: fixed;
  z-index: 90;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--header-height);
  color: #fff;
  border-block-end: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.site-header.scrolled,
.site-header.solid {
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.brand-mark {
  position: relative;
  inline-size: 38px;
  block-size: 38px;
  display: inline-block;
  transform: rotate(-4deg);
}

.brand-mark span {
  position: absolute;
  display: block;
  inline-size: 22px;
  block-size: 9px;
  background: currentColor;
}

.brand-mark span:first-child {
  inset-block-start: 3px;
  inset-inline-start: 3px;
}

.brand-mark span:nth-child(2) {
  inset-block-start: 14px;
  inset-inline-start: 10px;
  inline-size: 25px;
}

.brand-mark span:last-child {
  inset-block-start: 25px;
  inset-inline-start: 3px;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inline-size: 8px;
  block-size: 8px;
  inset-inline-end: 0;
  inset-block-start: 2px;
  background: var(--acid);
  border-radius: 50%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 17px;
  font-weight: 900;
}

.brand-copy small {
  margin-block-start: 4px;
  font-size: 7px;
  letter-spacing: 0.14em;
  direction: ltr;
  opacity: 0.6;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  position: relative;
  display: grid;
  min-height: 44px;
  place-items: center;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 50%;
  inset-block-end: 6px;
  height: 2px;
  background: var(--acid);
  transition: inset-inline 0.25s var(--ease);
}

.desktop-nav a:hover::after {
  inset-inline: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn,
.menu-toggle {
  inline-size: 44px;
  block-size: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
}

.theme-toggle svg {
  inline-size: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.moon-icon {
  display: none;
}

html[data-theme="light"] .sun-icon {
  display: none;
}

html[data-theme="light"] .moon-icon {
  display: block;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  color: var(--black);
  background: var(--acid);
  border: 1px solid var(--acid);
  font-weight: 800;
  cursor: pointer;
  transition: color 0.25s, background 0.25s, transform 0.25s;
}

.button svg {
  inline-size: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.25s;
}

.button:hover {
  color: var(--paper);
  background: transparent;
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(-4px);
}

.button-small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 13px;
}

.site-header.scrolled .button-small,
.site-header.solid .button-small {
  color: var(--black);
}

.site-header.scrolled .button-small:hover,
.site-header.solid .button-small:hover {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.menu-toggle {
  display: none;
}

.menu-toggle span {
  inline-size: 20px;
  block-size: 1px;
  display: block;
  background: currentColor;
  transition: transform 0.25s;
}

.menu-toggle span + span {
  transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(1px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(0) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 800px;
  padding-block-start: var(--header-height);
  color: #fff;
  background: var(--black);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inline-size: 460px;
  block-size: 460px;
  inset-block-start: 100px;
  inset-inline-start: -220px;
  background: var(--purple);
  filter: blur(180px);
  opacity: 0.25;
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 48px;
  padding-block: 76px 58px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.eyebrow span {
  inline-size: 24px;
  block-size: 2px;
  background: var(--purple);
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.62);
}

.eyebrow.light span,
.hero .eyebrow span {
  background: var(--acid);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(54px, 6.2vw, 94px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.accent-title {
  position: relative;
  display: inline-block;
  color: var(--acid);
}

.accent-title::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 4px;
  block-size: 4px;
  background: currentColor;
  transform: rotate(-1.5deg);
}

.hero-lead {
  max-width: 580px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
  line-height: 1.9;
}

.hero-lead strong {
  color: #fff;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-block-start: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 800;
}

.text-link span {
  color: var(--purple);
  font-size: 22px;
  transition: transform 0.2s;
}

.hero .text-link span {
  color: var(--acid);
}

.text-link:hover span {
  transform: translate(-4px, 4px);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-block-start: 42px;
}

.hero-proof p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.55;
}

.hero-proof strong {
  color: #fff;
}

.avatar-stack {
  display: flex;
  direction: ltr;
}

.avatar-stack span {
  inline-size: 37px;
  block-size: 37px;
  display: grid;
  place-items: center;
  margin-inline-start: -8px;
  color: var(--black);
  background: var(--acid);
  border: 3px solid var(--black);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}

.avatar-stack span:nth-child(2) {
  background: #fff;
}

.avatar-stack span:nth-child(3) {
  color: #fff;
  background: var(--purple);
}

.hero-visual {
  position: relative;
  min-height: 540px;
  direction: ltr;
}

.visual-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.orbit {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  inline-size: 420px;
  block-size: 420px;
}

.orbit-two {
  inline-size: 330px;
  block-size: 330px;
  border-style: dashed;
  animation: spin 28s linear infinite;
}

.orbit-one::after,
.orbit-two::after {
  content: "";
  position: absolute;
  inline-size: 12px;
  block-size: 12px;
  inset-block-start: 18%;
  inset-inline-start: 4%;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(254, 208, 45, 0.1);
}

.orbit-two::after {
  inset-block-start: auto;
  inset-block-end: 10%;
  inset-inline-start: auto;
  inset-inline-end: 9%;
  background: var(--purple);
  box-shadow: 0 0 0 7px rgba(18, 173, 146, 0.12);
}

.visual-core {
  position: absolute;
  inset: 50%;
  inline-size: 240px;
  block-size: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 32px;
  color: var(--black);
  background: var(--acid);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 90px rgba(254, 208, 45, 0.11);
}

.visual-core::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 50%;
}

.core-label {
  position: relative;
  font-size: 9px;
  letter-spacing: 0.18em;
}

.visual-core strong {
  position: relative;
  margin-block-start: 10px;
  font-size: 41px;
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.core-arrow {
  position: absolute;
  inset-inline-end: 35px;
  inset-block-end: 28px;
  font-size: 30px;
}

.floating-tag {
  position: absolute;
  z-index: 2;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  color: #fff;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 9px;
  letter-spacing: 0.14em;
  box-shadow: 8px 8px 0 rgba(255, 255, 255, 0.05);
}

.floating-tag span {
  inline-size: 7px;
  block-size: 7px;
  background: var(--acid);
  border-radius: 50%;
}

.tag-web {
  inset-block-start: 22%;
  inset-inline-start: 2%;
  transform: rotate(-4deg);
  animation: float 5s ease-in-out infinite;
}

.tag-ai {
  inset-block-end: 21%;
  inset-inline-end: 1%;
  transform: rotate(5deg);
  animation: float 6s 1s ease-in-out infinite;
}

.tag-ai span {
  background: var(--purple);
}

.floating-card {
  position: absolute;
  z-index: 2;
  inset-inline-start: 7%;
  inset-block-end: 11%;
  inline-size: 165px;
  padding: 16px;
  color: var(--black);
  background: #fff;
  transform: rotate(3deg);
  box-shadow: 12px 12px 0 rgba(18, 173, 146, 0.5);
}

.floating-card > span {
  font-size: 8px;
  letter-spacing: 0.12em;
}

.floating-card strong {
  display: block;
  margin-block-start: 10px;
  font-size: 13px;
}

.mini-bars {
  height: 45px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-block-start: 8px;
  direction: ltr;
}

.mini-bars i {
  flex: 1;
  height: 25%;
  background: var(--black);
}

.mini-bars i:nth-child(2) {
  height: 45%;
}

.mini-bars i:nth-child(3) {
  height: 38%;
}

.mini-bars i:nth-child(4) {
  height: 72%;
  background: var(--purple);
}

.mini-bars i:nth-child(5) {
  height: 92%;
  background: var(--acid);
  border: 1px solid var(--black);
}

.coordinate {
  position: absolute;
  color: rgba(255, 255, 255, 0.3);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.coordinate-a {
  inset-block-start: 11%;
  inset-inline-end: 9%;
}

.coordinate-b {
  inset-block-end: 5%;
  inset-inline-end: 25%;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes float {
  50% {
    translate: 0 -9px;
  }
}

.hero-marquee {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  padding-block: 13px;
  color: var(--black);
  background: var(--acid);
  border-block: 1px solid var(--black);
  overflow: hidden;
}

.hero-marquee > div {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 900;
  animation: marquee 28s linear infinite;
}

.hero-marquee i {
  font-style: normal;
  font-size: 10px;
}

@keyframes marquee {
  to {
    transform: translateX(50%);
  }
}

.section {
  padding-block: 120px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
  gap: 70px;
  margin-block-end: 72px;
}

.section-heading h2,
.team-copy h2,
.testimonial-top h2,
.calculator-intro h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

h2 em {
  color: var(--purple);
  font-style: normal;
}

.section-heading > p {
  max-width: 480px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 17px;
}

.service-list {
  border-block-start: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 60px 110px 1fr 62px;
  align-items: center;
  gap: 24px;
  min-height: 220px;
  border-block-end: 1px solid var(--line);
  transition: padding 0.3s var(--ease), background 0.3s;
}

.service-row:hover {
  padding-inline: 20px;
  background: var(--paper-deep);
}

.service-number {
  align-self: start;
  padding-block-start: 36px;
  color: var(--muted);
  font-size: 11px;
}

.service-icon {
  inline-size: 92px;
  block-size: 92px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: color 0.3s, background 0.3s, border-radius 0.3s;
}

.service-row:hover .service-icon {
  color: var(--paper);
  background: var(--purple);
  border-radius: 4px;
}

.service-icon svg {
  inline-size: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}

.service-copy h3 {
  margin: 0;
  font-size: 27px;
}

.service-copy p {
  max-width: 580px;
  margin: 6px 0 14px;
  color: var(--muted);
}

.service-copy ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-copy li {
  position: relative;
  padding-inline-start: 12px;
  font-size: 11px;
  font-weight: 800;
}

.service-copy li::before {
  content: "";
  position: absolute;
  inline-size: 5px;
  block-size: 5px;
  inset-inline-start: 0;
  inset-block-start: 8px;
  background: var(--purple);
  border-radius: 50%;
}

.circle-link {
  inline-size: 56px;
  block-size: 56px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 21px;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.circle-link:hover {
  color: var(--black);
  background: var(--acid);
  transform: rotate(-45deg);
}

.stats-section {
  padding-block: 95px;
  color: #fff;
  background: var(--purple);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 0.6fr);
  align-items: stretch;
}

.stats-intro {
  position: relative;
  padding-inline-end: 55px;
}

.stats-intro h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.2;
}

.stats-intro > p:last-child {
  max-width: 350px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.crosshair {
  position: absolute;
  inline-size: 34px;
  block-size: 34px;
  inset-block-start: -55px;
  inset-inline-start: -10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  inset: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
}

.crosshair::before {
  inline-size: 48px;
  block-size: 1px;
}

.crosshair::after {
  inline-size: 1px;
  block-size: 48px;
}

.stat {
  min-height: 190px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  padding-inline: 30px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.26);
}

.stat strong {
  font-family: Arial, sans-serif;
  font-size: clamp(50px, 5.5vw, 78px);
  line-height: 1;
  letter-spacing: -0.07em;
}

.stat sup {
  color: var(--acid);
  font-family: Arial, sans-serif;
  font-size: 26px;
  font-weight: 900;
}

.stat span {
  inline-size: 100%;
  margin-block-start: 15px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.stat-wide {
  display: none;
}

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

.work-heading {
  align-items: end;
}

.work-heading .text-link,
.journal-heading .text-link {
  justify-self: end;
}

.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px 24px;
}

.project-featured {
  grid-column: 1 / -1;
}

.project-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
}

.project-featured .project-visual {
  min-height: 590px;
}

.project-index {
  position: absolute;
  z-index: 3;
  inset-block-start: 20px;
  inset-inline-start: 20px;
  padding: 7px 10px;
  color: #fff;
  background: var(--black);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.legacy-commerce {
  display: grid;
  place-items: center;
  background: #e1552f;
}

.legacy-commerce::before {
  content: "";
  position: absolute;
  inline-size: 480px;
  block-size: 480px;
  inset-inline-end: -150px;
  inset-block-end: -210px;
  border: 80px solid #f4c653;
  border-radius: 50%;
}

.browser-mock {
  position: relative;
  z-index: 1;
  width: 74%;
  box-shadow: 30px 35px 0 rgba(73, 20, 6, 0.24);
  transform: rotate(-2deg);
  transition: transform 0.55s var(--ease);
}

.project:hover .browser-mock {
  transform: rotate(0deg) scale(1.025);
}

.browser-bar {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-inline: 14px;
  color: rgba(255, 255, 255, 0.5);
  background: #18120f;
  direction: ltr;
  font-size: 8px;
}

.browser-bar i {
  inline-size: 7px;
  block-size: 7px;
  background: #e1552f;
  border-radius: 50%;
}

.browser-bar i:nth-child(2) {
  background: #f4c653;
}

.browser-bar i:nth-child(3) {
  background: #7bab63;
}

.browser-bar span {
  margin-inline: auto;
}

.mock-page {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  color: #21140d;
  background: #f7e6ca;
}

.mock-logo {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.mock-product {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.mock-product strong {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.1;
}

.product-orb {
  position: relative;
  inline-size: 155px;
  block-size: 155px;
  background: #f4c653;
  border-radius: 52% 48% 40% 60% / 46% 35% 65% 54%;
  box-shadow: inset -20px -10px 0 rgba(225, 85, 47, 0.35);
  transform: rotate(-20deg);
}

.product-orb::before,
.product-orb::after {
  content: "";
  position: absolute;
  background: #f7e6ca;
  border: 8px solid #21140d;
  border-radius: 50%;
}

.product-orb::before {
  inline-size: 35px;
  block-size: 35px;
  inset: 45px;
}

.product-orb::after {
  inline-size: 14px;
  block-size: 14px;
  inset-inline-end: 20px;
  inset-block-start: 21px;
}

.mock-footer {
  display: flex;
  justify-content: space-between;
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.project-sticker {
  position: absolute;
  z-index: 2;
  inset-inline-end: 7%;
  inset-block-start: 11%;
  inline-size: 90px;
  block-size: 90px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--acid);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  transform: rotate(12deg);
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: start;
  padding-block-start: 22px;
}

.project-meta span {
  color: var(--muted);
  font-size: 11px;
}

.project-meta h3 {
  margin: 4px 0 0;
  font-size: 30px;
}

.project-meta p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.project-meta .project-year {
  color: var(--ink);
  font-family: Arial, sans-serif;
}

.honar {
  display: grid;
  place-items: center;
  background: #d2c9ff;
}

.honar::before {
  content: "";
  position: absolute;
  inline-size: 270px;
  block-size: 270px;
  inset-inline-start: -80px;
  inset-block-start: -90px;
  background: var(--purple);
  border-radius: 50%;
  filter: blur(2px);
}

.poster-stack {
  position: relative;
  inline-size: 240px;
  block-size: 330px;
}

.poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.poster-back {
  color: #fff;
  background: var(--purple);
  font-size: 70px;
  font-weight: 900;
  transform: rotate(9deg) translate(28px, -8px);
}

.poster-front {
  color: #fff;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 20px 20px 0 rgba(10, 10, 10, 0.15);
  transform: rotate(-4deg);
  transition: transform 0.5s var(--ease);
}

.project:hover .poster-front {
  transform: rotate(0deg) translateY(-8px);
}

.poster-front span {
  font-size: 10px;
}

.poster-front strong {
  margin-block: auto;
  font-size: 48px;
  line-height: 1.1;
}

.poster-front i {
  color: var(--acid);
  font-size: 50px;
  font-style: normal;
}

.roshd {
  display: grid;
  place-items: center;
  background: #1b1b1b;
}

.roshd::before {
  content: "";
  position: absolute;
  inline-size: 330px;
  block-size: 330px;
  background: var(--acid);
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}

.ai-panel {
  position: relative;
  z-index: 1;
  inline-size: 76%;
  padding: 28px;
  color: #fff;
  background: rgba(8, 8, 8, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 22px 22px 0 rgba(254, 208, 45, 0.1);
  transform: perspective(800px) rotateY(-7deg);
  transition: transform 0.5s var(--ease);
}

.project:hover .ai-panel {
  transform: perspective(800px) rotateY(0);
}

.ai-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.ai-top i {
  inline-size: 9px;
  block-size: 9px;
  background: var(--acid);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--acid);
}

.ai-panel p {
  margin: 60px 0 20px;
  font-size: 23px;
  font-weight: 800;
}

.ai-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  color: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11px;
}

.ai-input b {
  inline-size: 28px;
  block-size: 28px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--acid);
  border-radius: 50%;
}

.ai-lines {
  display: grid;
  gap: 8px;
  margin-block-start: 24px;
}

.ai-lines i {
  inline-size: 82%;
  block-size: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.ai-lines i:nth-child(2) {
  inline-size: 65%;
}

.ai-lines i:nth-child(3) {
  inline-size: 38%;
}

.project-meta.compact {
  grid-template-columns: 1fr auto;
}

.content-note {
  margin: 40px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-line::before {
  content: "";
  position: absolute;
  inset-block-start: 35px;
  inset-inline: 8%;
  height: 1px;
  background: var(--line);
}

.process-line li {
  position: relative;
  padding-inline: 18px;
  text-align: center;
}

.process-dot {
  position: relative;
  inline-size: 70px;
  block-size: 70px;
  display: grid;
  place-items: center;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 21px;
  transition: color 0.3s, background 0.3s, transform 0.3s;
}

.process-line li:hover .process-dot {
  color: var(--black);
  background: var(--acid);
  transform: rotate(-8deg) scale(1.08);
}

.process-copy > span {
  display: block;
  margin-block-start: 24px;
  color: var(--purple);
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.process-copy h3 {
  margin: 8px 0;
  font-size: 20px;
}

.process-copy p {
  max-width: 235px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 13px;
}

.calculator-section {
  color: #fff;
  background: var(--black);
}

.calculator-shell {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
}

.calculator-intro {
  position: relative;
}

.calculator-intro h2 em {
  color: var(--acid);
}

.calculator-intro > p:not(.eyebrow) {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.58);
}

.calc-decoration {
  position: relative;
  width: 200px;
  height: 160px;
  margin-block-start: 45px;
  color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.calc-decoration span {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.calc-decoration strong {
  position: absolute;
  inset: 50%;
  color: var(--acid);
  font-family: Arial, sans-serif;
  font-size: 95px;
  font-weight: 400;
  transform: translate(-50%, -52%);
}

.calc-decoration i {
  position: absolute;
  inline-size: 24px;
  block-size: 24px;
  inset-inline-end: -12px;
  inset-block-end: -12px;
  background: var(--purple);
}

.calculator fieldset {
  margin: 0 0 46px;
  padding: 0;
  border: 0;
}

.calculator legend {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-block-end: 20px;
  font-size: 17px;
  font-weight: 800;
}

.calculator legend span {
  inline-size: 28px;
  block-size: 28px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--acid);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.choice-grid label {
  position: relative;
  cursor: pointer;
}

.choice-grid input {
  position: absolute;
  opacity: 0;
}

.choice-grid label > span {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 15px 18px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.choice-grid label > span::after {
  content: "";
  position: absolute;
  inline-size: 9px;
  block-size: 9px;
  inset-inline-end: 16px;
  inset-block-start: 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

.choice-grid small {
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
}

.choice-grid input:checked + span {
  color: var(--black);
  background: var(--acid);
  border-color: var(--acid);
}

.choice-grid input:checked + span small {
  color: rgba(0, 0, 0, 0.55);
}

.choice-grid input:checked + span::after {
  background: var(--black);
  border-color: var(--black);
  box-shadow: inset 0 0 0 2px var(--acid);
}

.choice-grid input:focus-visible + span {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-block-end: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

.range-labels strong {
  color: var(--acid);
}

input[type="range"] {
  width: 100%;
  height: 3px;
  appearance: none;
  background: linear-gradient(to left, var(--acid) 50%, rgba(255, 255, 255, 0.2) 50%);
  border-radius: 0;
}

input[type="range"]::-webkit-slider-thumb {
  inline-size: 24px;
  block-size: 24px;
  appearance: none;
  background: var(--acid);
  border: 6px solid var(--black);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--acid);
  cursor: pointer;
}

.addons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.addons label {
  position: relative;
}

.addons input {
  position: absolute;
  opacity: 0;
}

.addons span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-inline: 18px;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
  cursor: pointer;
}

.addons input:checked + span {
  color: #fff;
  background: rgba(18, 173, 146, 0.2);
  border-color: var(--purple);
}

.addons input:checked + span::before {
  content: "✓";
  margin-inline-end: 8px;
  color: var(--acid);
}

.addons input:focus-visible + span {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}

.estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block-start: 30px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.2);
}

.estimate span {
  display: block;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
}

.estimate strong {
  font-size: 21px;
}

.estimate b {
  color: var(--acid);
  font-family: Arial, sans-serif;
  font-size: 30px;
}

.button-inverse {
  color: var(--paper);
  background: var(--purple);
  border-color: var(--purple);
}

.button-inverse:hover {
  color: var(--paper);
  border-color: var(--paper);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 110px;
}

.team-art {
  position: relative;
  min-height: 560px;
  color: #fff;
  background: var(--purple);
  overflow: hidden;
}

.team-art::before,
.team-art::after {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.team-art::after {
  inset: 50%;
  inline-size: 1px;
  block-size: calc(100% - 52px);
  background: rgba(255, 255, 255, 0.2);
  border: 0;
  transform: translate(-50%, -50%);
}

.team-type {
  position: absolute;
  z-index: 2;
  inset-inline-start: 55px;
  inset-block-start: 45px;
  font-family: Arial, sans-serif;
  font-size: 100px;
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.08em;
}

.team-type span {
  color: var(--acid);
}

.team-circle {
  position: absolute;
  inline-size: 280px;
  block-size: 280px;
  inset-inline-end: -90px;
  inset-block-end: -60px;
  background: var(--acid);
  border-radius: 50%;
}

.team-role {
  position: absolute;
  z-index: 3;
  padding: 7px 10px;
  color: var(--black);
  background: #fff;
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.role-one {
  inset-inline-end: 42px;
  inset-block-start: 90px;
  transform: rotate(7deg);
}

.role-two {
  inset-inline-end: 110px;
  inset-block-end: 170px;
  color: #fff;
  background: var(--black);
  transform: rotate(-8deg);
}

.role-three {
  inset-inline-start: 55px;
  inset-block-end: 50px;
  background: var(--acid);
  transform: rotate(4deg);
}

.team-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
}

.team-values {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-block-start: 32px;
  padding-block-start: 25px;
  border-block-start: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
}

.team-values i {
  color: var(--purple);
  font-size: 8px;
  font-style: normal;
}

.testimonials-section {
  padding-block: 110px;
  color: #fff;
  background: var(--purple);
}

.testimonial-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.testimonial-top h2 em {
  color: var(--acid);
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.slider-controls button {
  inline-size: 48px;
  block-size: 48px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.slider-controls button:hover {
  color: var(--black);
  background: var(--acid);
}

.slider-controls span {
  min-width: 48px;
  direction: ltr;
  color: rgba(255, 255, 255, 0.5);
  font-family: Arial, sans-serif;
  font-size: 10px;
  text-align: center;
}

.slider-controls b {
  color: #fff;
}

.testimonial-slider {
  position: relative;
  min-height: 330px;
  margin-block-start: 50px;
  padding-block-start: 45px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.25);
}

.testimonial {
  position: absolute;
  inset: 45px 0 auto;
  display: grid;
  grid-template-columns: 80px 1fr 240px;
  align-items: start;
  gap: 45px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-30px);
  transition: opacity 0.4s, transform 0.45s var(--ease), visibility 0.4s;
}

.testimonial.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.quote-mark {
  color: var(--acid);
  font-family: Georgia, serif;
  font-size: 110px;
  line-height: 0.8;
}

.stars {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 100px;
  color: var(--acid);
  direction: ltr;
  font-size: 11px;
  letter-spacing: 3px;
}

.testimonial blockquote {
  max-width: 750px;
  margin: 0;
  font-size: clamp(25px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.65;
}

.quote-author {
  padding-inline-start: 25px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.3);
}

.quote-author span,
.quote-author small {
  display: block;
}

.quote-author span {
  font-weight: 800;
}

.quote-author small {
  margin-block-start: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.article a {
  display: block;
}

.article-art {
  position: relative;
  height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.article-art b {
  position: absolute;
  inline-size: 48px;
  block-size: 48px;
  display: grid;
  place-items: center;
  inset-inline-end: 16px;
  inset-block-start: 16px;
  color: #fff;
  background: var(--black);
  border-radius: 50%;
  font-size: 17px;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.article:hover .article-art b {
  color: var(--black);
  background: var(--acid);
  transform: rotate(-45deg);
}

.article-art > span {
  position: relative;
  z-index: 1;
  font-family: Arial, sans-serif;
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -0.07em;
  transition: transform 0.5s var(--ease);
}

.article:hover .article-art > span {
  transform: scale(1.08) rotate(-2deg);
}

.art-one {
  color: #fff;
  background: var(--purple);
}

.art-one i {
  position: absolute;
  inline-size: 230px;
  block-size: 230px;
  border: 40px solid var(--acid);
  border-radius: 50%;
  transform: translate(-55%, 30%);
}

.art-two {
  color: var(--black);
  background: var(--acid);
}

.art-two i {
  position: absolute;
  inline-size: 140%;
  block-size: 35px;
  background: var(--black);
  transform: rotate(-12deg);
}

.art-three {
  color: #fff;
  background: #eb6437;
}

.art-three span {
  font-family: Georgia, serif;
}

.art-three i {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.article-meta {
  display: flex;
  justify-content: space-between;
  margin-block-start: 20px;
  color: var(--purple);
  font-size: 10px;
  font-weight: 800;
}

.article-meta time {
  color: var(--muted);
}

.article h3 {
  min-height: 74px;
  margin: 10px 0;
  font-size: 19px;
  line-height: 1.65;
}

.read-time {
  color: var(--muted);
  font-size: 10px;
}

.start-section {
  padding-block: 120px;
  color: #fff;
  background: var(--black);
}

.start-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}

.start-copy h2 {
  margin: 0;
  font-size: clamp(44px, 5.4vw, 73px);
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.start-copy h2 em {
  color: var(--acid);
  font-style: normal;
}

.start-copy > p:not(.eyebrow) {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.55);
}

.contact-line {
  display: inline-block;
  margin-block-start: 20px;
  padding-block-end: 5px;
  border-block-end: 1px solid var(--acid);
  font-family: Arial, sans-serif;
  font-size: 21px;
}

.project-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
  scroll-margin-block-start: calc(var(--header-height) + 18px);
}

.field {
  position: relative;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  display: flex;
  justify-content: space-between;
  margin-block-end: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
}

.field label span {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.field textarea {
  min-height: 100px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.6) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.6) 50%, transparent 50%);
  background-position: 18px 50%, 13px 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field select option {
  color: #fff;
  background: var(--black);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: var(--acid);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #ff6b6b;
}

.error {
  display: none;
  margin-block-start: 5px;
  color: #ff8a8a;
  font-size: 10px;
}

.field.invalid .error {
  display: block;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block-start: 10px;
}

.form-footer p {
  max-width: 260px;
  margin: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
}

.form-status {
  padding: 15px 18px;
  color: var(--black);
  background: var(--acid);
}

.form-status strong,
.form-status span {
  display: block;
}

.form-status span {
  font-size: 11px;
}

.site-footer {
  color: #fff;
  background: #050505;
  border-block-start: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 90px;
  padding-block: 75px;
}

.footer-brand {
  align-self: start;
}

.footer-brand .brand-mark {
  inline-size: 52px;
  block-size: 52px;
  transform: scale(1.3);
  transform-origin: right center;
  margin-inline-end: 10px;
}

.footer-brand .brand-copy strong {
  font-size: 25px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-links strong {
  margin-block-end: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

.footer-links a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--acid);
}

.footer-bottom {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.35);
  border-block-start: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 9px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Contact page */
.contact-page {
  color: #fff;
  background: var(--black);
}

.contact-page .site-header {
  color: var(--ink);
}

.back-home {
  margin-inline-start: auto;
  margin-inline-end: 20px;
}

.contact-main {
  min-height: 100dvh;
  padding-block-start: var(--header-height);
}

.contact-hero {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: end;
  padding-block: 100px 70px;
  background: var(--purple);
  overflow: hidden;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inline-size: 260px;
  block-size: 260px;
  inset-inline-end: 10%;
  inset-block-start: 40px;
  border: 55px solid var(--acid);
  border-radius: 50%;
  opacity: 0.9;
}

.contact-hero-type {
  position: absolute;
  inset-inline-start: -25px;
  inset-block-start: -10px;
  color: rgba(255, 255, 255, 0.08);
  font-family: Arial, sans-serif;
  font-size: clamp(130px, 22vw, 330px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.09em;
}

.contact-heading {
  position: relative;
  z-index: 2;
}

.contact-heading h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(52px, 7vw, 98px);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.contact-heading h1 em {
  color: var(--acid);
  font-style: normal;
}

.contact-heading > p:last-child {
  max-width: 570px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.contact-content {
  padding-block: 110px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.58fr 1.42fr;
  gap: 100px;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-block {
  padding-block: 24px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-block > span {
  display: block;
  margin-block-end: 8px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
}

.contact-block a,
.contact-block p {
  margin: 0;
  font-size: 16px;
}

.social-row {
  display: flex;
  gap: 20px;
}

.contact-form {
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.form-head {
  margin-block-end: 12px;
}

.form-head span {
  color: var(--acid);
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.form-head h2 {
  margin: 8px 0 0;
  font-size: 34px;
}

.compact-footer .footer-bottom {
  border: 0;
}

@media (max-width: 1050px) {
  .desktop-nav {
    gap: 18px;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 18px;
  }

  .hero-visual {
    transform: scale(0.88);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
  }

  .stats-intro {
    grid-column: 1 / -1;
    padding-block-end: 45px;
  }

  .stat {
    border-inline-start: 0;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.26);
  }

  .calculator-shell,
  .start-grid {
    gap: 55px;
  }

  .team-grid {
    gap: 55px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: absolute;
    z-index: 85;
    inset-block-start: 100%;
    inset-inline: 0;
    height: calc(100vh - var(--header-height));
    display: block;
    color: #fff;
    background: var(--black);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.35s var(--ease);
  }

  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu nav {
    display: grid;
    padding: 34px 24px;
  }

  .mobile-menu a {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-block-end: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 23px;
    font-weight: 800;
  }

  .mobile-menu a span {
    color: var(--acid);
    font-family: Arial, sans-serif;
    font-size: 9px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-block-start: 70px;
    padding-block-end: 110px;
  }

  .hero-visual {
    min-height: 490px;
    transform: none;
  }

  .section {
    padding-block: 90px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-block-end: 52px;
  }

  .service-row {
    grid-template-columns: 45px 90px 1fr 55px;
  }

  .service-icon {
    inline-size: 78px;
    block-size: 78px;
  }

  .projects {
    gap-block: 55px;
  }

  .project-featured .project-visual {
    min-height: 480px;
  }

  .project-visual {
    min-height: 400px;
  }

  .browser-mock {
    width: 86%;
  }

  .process-line {
    grid-template-columns: 1fr 1fr;
    gap: 50px 0;
  }

  .process-line::before {
    display: none;
  }

  .calculator-shell,
  .team-grid,
  .start-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .calc-decoration {
    display: none;
  }

  .team-art {
    min-height: 500px;
  }

  .testimonial {
    grid-template-columns: 60px 1fr;
  }

  .quote-author {
    grid-column: 2;
    margin-block-start: 20px;
  }

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

  .article:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 11px);
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .contact-content {
    padding-block: 80px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-mark {
    transform: scale(0.9) rotate(-4deg);
  }

  .hero-grid {
    padding-block-start: 52px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .text-link {
    justify-content: center;
  }

  .hero-visual {
    min-height: 390px;
    margin-inline: -15px;
  }

  .orbit-one {
    inline-size: 330px;
    block-size: 330px;
  }

  .orbit-two {
    inline-size: 270px;
    block-size: 270px;
  }

  .visual-core {
    inline-size: 190px;
    block-size: 190px;
    padding: 25px;
  }

  .visual-core strong {
    font-size: 32px;
  }

  .floating-card {
    inset-inline-start: 4%;
    inline-size: 135px;
  }

  .tag-ai {
    inset-inline-end: 2%;
  }

  .section {
    padding-block: 74px;
  }

  .section-heading h2,
  .team-copy h2,
  .testimonial-top h2,
  .calculator-intro h2 {
    font-size: 40px;
  }

  .service-row {
    grid-template-columns: 34px 1fr 46px;
    gap: 12px;
    padding-block: 28px;
  }

  .service-number {
    padding-block-start: 8px;
  }

  .service-icon {
    display: none;
  }

  .service-copy h3 {
    font-size: 20px;
  }

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

  .service-copy ul {
    flex-wrap: wrap;
    gap: 5px 14px;
  }

  .circle-link {
    inline-size: 44px;
    block-size: 44px;
  }

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

  .stats-intro {
    grid-column: 1 / -1;
  }

  .stat {
    min-height: 155px;
    padding-inline: 15px;
    border-block-start: 1px solid rgba(255, 255, 255, 0.2);
  }

  .stat:nth-of-type(3) {
    grid-column: 1 / -1;
  }

  .stat strong {
    font-size: 56px;
  }

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

  .project-featured {
    grid-column: auto;
  }

  .project-featured .project-visual,
  .project-visual {
    min-height: 380px;
  }

  .project-meta,
  .project-meta.compact {
    grid-template-columns: 1fr auto;
  }

  .project-meta p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .browser-mock {
    width: 90%;
  }

  .mock-page {
    min-height: 270px;
  }

  .mock-product {
    gap: 15px;
  }

  .product-orb {
    inline-size: 100px;
    block-size: 100px;
  }

  .mock-product strong {
    font-size: 28px;
  }

  .project-sticker {
    inline-size: 65px;
    block-size: 65px;
    font-size: 8px;
  }

  .process-line {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-line li {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding-block: 20px;
    text-align: start;
  }

  .process-line li:not(:last-child)::after {
    content: "";
    position: absolute;
    inline-size: 1px;
    block-size: 40px;
    inset-inline-start: 30px;
    inset-block-end: -20px;
    background: var(--line);
  }

  .process-dot {
    inline-size: 60px;
    block-size: 60px;
  }

  .process-copy > span {
    margin-block-start: 0;
  }

  .process-copy p {
    margin-inline: 0;
  }

  .choice-grid,
  .project-form {
    grid-template-columns: 1fr;
  }

  .estimate,
  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .estimate .button,
  .form-footer .button {
    width: 100%;
  }

  .team-art {
    min-height: 430px;
  }

  .team-type {
    font-size: 78px;
  }

  .testimonial-top {
    align-items: start;
    flex-direction: column;
  }

  .testimonial-slider {
    min-height: 440px;
  }

  .testimonial {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .quote-mark {
    font-size: 80px;
  }

  .stars {
    inset-inline-start: auto;
    inset-inline-end: 0;
    inset-block-start: 24px;
  }

  .quote-author {
    grid-column: auto;
    padding-inline-start: 0;
    padding-block-start: 20px;
    border-inline: 0;
    border-block-start: 1px solid rgba(255, 255, 255, 0.25);
  }

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

  .article:last-child {
    grid-column: auto;
    max-width: none;
  }

  .article-art {
    height: 240px;
  }

  .start-grid {
    gap: 55px;
  }

  .field-full {
    grid-column: auto;
  }

  .footer-top {
    gap: 50px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap-block: 40px;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .contact-hero {
    min-height: 520px;
  }

  .contact-hero::after {
    inline-size: 150px;
    block-size: 150px;
    inset-inline-end: -20px;
    border-width: 35px;
  }

  .contact-heading h1 {
    font-size: 49px;
  }

  .contact-layout {
    gap: 50px;
  }

  .contact-form {
    margin-inline: -12px;
    padding: 25px 18px;
  }

  .back-home {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* High-fidelity anonymized portfolio */
.case-shot,
.commerce-preview.case-shot,
.ai-workspace.case-shot,
.ops-workspace.case-shot,
.flow-workspace.case-shot,
.finance-workspace.case-shot,
.insurance-workspace.case-shot,
.community-workspace.case-shot,
.live-workspace.case-shot {
  width: 84%;
  min-height: 0;
  display: block;
  padding: 0;
  color: #fff;
  background: #0d0d0c;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0;
}

.case-wide .case-shot,
.case-wide .commerce-preview.case-shot {
  width: min(1040px, 82%);
}

.case-shot .case-browser-bar {
  position: relative;
  z-index: 2;
  height: 40px;
  color: rgba(255, 255, 255, 0.54);
  background: linear-gradient(180deg, #1c1c1a, #11110f);
  border-block-end: 1px solid rgba(255, 255, 255, 0.1);
}

.case-shot .case-browser-bar b {
  color: rgba(255, 255, 255, 0.78);
}

.case-shot > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 1000;
  display: block;
  object-fit: cover;
  object-position: top center;
  background: #0d0d0c;
  filter: saturate(0.96) contrast(1.015);
  transform: scale(1.001);
  transition: transform 0.6s var(--ease), filter 0.6s ease;
}

.case-card:hover .case-shot > img {
  filter: saturate(1.04) contrast(1.025);
  transform: scale(1.018);
}

.case-shot-meta {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-inline: 13px;
  color: rgba(255, 255, 255, 0.5);
  background: #11110f;
  border-block-start: 1px solid rgba(255, 255, 255, 0.1);
  direction: ltr;
  font-family: Arial, sans-serif;
  font-size: 7px;
  letter-spacing: 0.13em;
}

.case-shot-meta b {
  color: var(--acid);
  font-family: "Vazirmatn", sans-serif;
  font-size: 10px;
  letter-spacing: 0;
}

.case-card:nth-child(2n) .case-shot { --base-z: 0.8deg; }
.case-card:nth-child(3n) .case-shot { --base-z: -0.7deg; }
.case-card:nth-child(4n) .case-shot { --base-z: 0.45deg; }

.detail-canvas {
  min-width: 0;
  gap: 14px;
  padding: 18px;
}

.detail-top {
  align-items: center;
  margin-block-end: 0;
}

.detail-top em {
  margin-inline-start: auto;
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.14em;
  opacity: 0.46;
}

.detail-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #080808;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.22);
  transition: width 0.28s var(--ease), border-radius 0.28s var(--ease), transform 0.28s var(--ease);
}

.detail-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1440 / 1000;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.32s var(--ease), object-position 0.32s ease;
}

.detail-caption {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: 18px;
  padding-block-start: 4px;
}

.detail-caption strong {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.18;
}

.detail-caption p {
  margin: 0;
  opacity: 0.62;
  font-size: 11px;
}

.case-detail-stage[data-view="dashboard"] .detail-media img {
  transform: scale(1.08);
  transform-origin: top right;
}

.case-detail-stage[data-view="mobile"] .detail-media {
  width: min(250px, 58%);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  border: 8px solid #17171a;
  border-radius: 26px;
  box-shadow: 0 26px 48px rgba(37, 31, 77, 0.24);
}

.case-detail-stage[data-view="mobile"] .detail-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  inline-size: 56px;
  block-size: 6px;
  inset-block-start: 9px;
  inset-inline-start: 50%;
  background: #17171a;
  border-radius: 999px;
  transform: translateX(-50%);
}

.case-detail-stage[data-view="mobile"] .detail-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 88% top;
}

@media (max-width: 900px) {
  .case-shot,
  .commerce-preview.case-shot,
  .ai-workspace.case-shot,
  .ops-workspace.case-shot,
  .flow-workspace.case-shot,
  .finance-workspace.case-shot,
  .insurance-workspace.case-shot,
  .community-workspace.case-shot,
  .live-workspace.case-shot,
  .case-wide .case-shot,
  .case-wide .commerce-preview.case-shot {
    width: min(760px, calc(100% - 34px));
  }

  .case-shot .case-browser-bar { height: 36px; }
  .case-shot-meta { min-height: 30px; }
}

@media (max-width: 560px) {
  .case-shot,
  .commerce-preview.case-shot,
  .ai-workspace.case-shot,
  .ops-workspace.case-shot,
  .flow-workspace.case-shot,
  .finance-workspace.case-shot,
  .insurance-workspace.case-shot,
  .community-workspace.case-shot,
  .live-workspace.case-shot,
  .case-wide .case-shot,
  .case-wide .commerce-preview.case-shot {
    width: calc(100% - 22px);
  }

  .case-shot .case-browser-bar b { font-size: 7px; }
  .case-shot .case-browser-bar i { display: none; }
  .case-shot-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .detail-caption { grid-template-columns: 1fr; gap: 6px; }
}

/* Refined bilingual typography */
:root {
  --font-display: "Estedad", "Vazirmatn", Tahoma, sans-serif;
  --font-text: "Vazirmatn", "Estedad", Tahoma, sans-serif;
}

body,
input,
select,
textarea {
  font-family: var(--font-text);
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

:is(
  h1,
  h2,
  h3,
  h4,
  .brand-copy strong,
  .desktop-nav,
  .mobile-menu a,
  .button,
  .text-link,
  .portfolio-tools button,
  .case-open,
  .stat,
  .estimate,
  .quote-author strong
) {
  font-family: var(--font-display);
  font-synthesis: none;
}

.brand-copy strong {
  font-weight: 720;
  letter-spacing: -0.012em;
}

.desktop-nav,
.button,
.text-link,
.portfolio-tools button,
.case-open {
  font-weight: 620;
}

.hero h1 {
  font-weight: 760;
  line-height: 1.15;
  letter-spacing: -0.018em;
}

.section-heading h2,
.team-copy h2,
.testimonial-top h2,
.calculator-intro h2,
.economic-copy h2 {
  font-weight: 730;
  line-height: 1.21;
  letter-spacing: -0.014em;
}

.start-copy h2,
.contact-heading h1 {
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -0.018em;
}

.service-copy h3,
.case-copy h3,
.article-body h3,
.process-copy h3,
.form-head h2 {
  font-weight: 660;
  line-height: 1.42;
  letter-spacing: -0.008em;
}

.hero-lead,
.section-heading > p,
.team-copy > p,
.start-copy > p,
.contact-heading > p:last-child,
.case-copy p,
.service-copy p {
  font-weight: 400;
  letter-spacing: 0;
}

/* Signature depth system */
.hero-visual,
.case-visual {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-x-soft: 0deg;
  --tilt-y-soft: 0deg;
  --pointer-x: 50%;
  --pointer-y: 50%;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  inline-size: 360px;
  block-size: 360px;
  inset: 50%;
  background: conic-gradient(from 210deg, rgba(18, 173, 146, 0.55), rgba(254, 208, 45, 0.32), transparent 62%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 42% 58% 63% 37% / 52% 41% 59% 48%;
  filter: blur(0.2px);
  transform: translate(-50%, -50%) translateZ(-65px) rotateX(64deg) rotateZ(-16deg);
  opacity: 0.68;
}

.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  inline-size: 340px;
  block-size: 86px;
  inset-inline-start: 50%;
  inset-block-end: 7%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.72), transparent 68%);
  filter: blur(18px);
  transform: translateX(-50%) translateZ(-80px) rotateX(70deg);
  opacity: 0.72;
}

.hero-visual .visual-grid {
  transform: translateZ(-105px) rotateX(calc(3deg + var(--tilt-x-soft))) rotateY(var(--tilt-y-soft)) scale(1.04);
  transition: transform 0.5s var(--ease);
}

.hero-visual .orbit-one {
  transform: translate(-50%, -50%) translateZ(-20px) rotateX(calc(8deg + var(--tilt-x-soft))) rotateY(var(--tilt-y-soft));
  box-shadow: 0 0 55px rgba(254, 208, 45, 0.06), inset 0 0 55px rgba(18, 173, 146, 0.06);
  transition: transform 0.45s var(--ease);
}

.hero-visual .visual-core {
  transform: translate(-50%, -50%) translateZ(78px) rotateX(var(--tilt-x-soft)) rotateY(var(--tilt-y-soft));
  box-shadow:
    inset -22px -20px 35px rgba(74, 96, 0, 0.22),
    inset 12px 12px 24px rgba(255, 255, 255, 0.34),
    10px 14px 0 #83a900,
    28px 42px 75px rgba(0, 0, 0, 0.44),
    0 0 100px rgba(254, 208, 45, 0.16);
  transition: transform 0.38s var(--ease), box-shadow 0.38s var(--ease);
}

.hero-visual .visual-core::after {
  content: "";
  position: absolute;
  inset: 10% 18% auto;
  block-size: 24%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.34), transparent);
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.hero-visual .floating-tag {
  backdrop-filter: blur(12px);
  transform-style: preserve-3d;
  box-shadow: 9px 11px 0 rgba(0, 0, 0, 0.34), 0 22px 42px rgba(0, 0, 0, 0.24);
  transition: transform 0.42s var(--ease);
}

.hero-visual .tag-web {
  transform: translateZ(118px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(-4deg);
}

.hero-visual .tag-ai {
  transform: translateZ(98px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(5deg);
}

.hero-visual .floating-card {
  transform: translateZ(130px) rotateX(var(--tilt-x-soft)) rotateY(var(--tilt-y-soft)) rotateZ(3deg);
  box-shadow: 10px 11px 0 rgba(18, 173, 146, 0.78), 24px 35px 60px rgba(0, 0, 0, 0.34);
  transition: transform 0.42s var(--ease), box-shadow 0.42s var(--ease);
}

.hero-visual .coordinate {
  transform: translateZ(40px);
}

.case-card {
  perspective: 1500px;
}

.case-visual {
  background-image: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.2), transparent 30%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 -90px 120px rgba(0, 0, 0, 0.08);
}

.case-visual::selection {
  background: transparent;
}

.case-preview {
  --base-x: 0deg;
  --base-y: 0deg;
  --base-z: 0deg;
  --lift: 0px;
  overflow: hidden;
  transform: translate3d(0, var(--lift), 42px)
    rotateX(calc(var(--tilt-x) + var(--base-x)))
    rotateY(calc(var(--tilt-y) + var(--base-y)))
    rotateZ(var(--base-z));
  transform-style: preserve-3d;
  box-shadow:
    1px 1px 0 rgba(255, 255, 255, 0.42),
    8px 10px 0 rgba(0, 0, 0, 0.16),
    22px 28px 0 rgba(0, 0, 0, 0.1),
    38px 46px 70px rgba(0, 0, 0, 0.3);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
  will-change: transform;
}

.case-preview::after {
  content: "";
  position: absolute;
  z-index: 12;
  inset: -40%;
  background: linear-gradient(108deg, transparent 36%, rgba(255, 255, 255, 0.16) 48%, transparent 60%);
  pointer-events: none;
  transform: translateX(-72%) rotate(5deg);
  transition: transform 0.9s var(--ease);
}

.case-card:hover .case-preview {
  --lift: -11px;
  box-shadow:
    1px 1px 0 rgba(255, 255, 255, 0.5),
    10px 13px 0 rgba(0, 0, 0, 0.15),
    28px 34px 0 rgba(0, 0, 0, 0.09),
    46px 58px 90px rgba(0, 0, 0, 0.38);
}

.case-card:hover .case-preview::after {
  transform: translateX(72%) rotate(5deg);
}

.commerce-preview { --base-z: -1.8deg; }
.ai-workspace { --base-y: -3deg; --base-z: 0.6deg; }
.ops-workspace { --base-y: 2deg; --base-z: -1.2deg; }
.flow-workspace { --base-x: 1deg; --base-z: 1.4deg; }
.finance-workspace { --base-y: -2deg; --base-z: -0.8deg; }
.insurance-workspace { --base-y: 2deg; --base-z: 1deg; }
.community-workspace { --base-y: -2deg; --base-z: -1deg; }
.live-workspace { --base-y: 2deg; --base-z: 1.3deg; }

.case-number,
.case-open {
  transform: translateZ(112px);
  box-shadow: 8px 10px 22px rgba(0, 0, 0, 0.2);
}

.case-open:hover {
  transform: translateZ(124px) translateY(-3px);
}

.case-copy h3 {
  position: relative;
  display: inline-block;
  font-size: clamp(27px, 3vw, 36px);
}

.case-copy h3::after {
  content: "";
  position: absolute;
  inline-size: 22px;
  block-size: 4px;
  inset-inline-start: 0;
  inset-block-end: -7px;
  background: var(--purple);
  transform: skewX(-22deg);
}

.economic-form {
  transform: perspective(1200px) rotateY(-1.6deg) translateZ(0);
  transform-origin: center right;
}

@media (hover: hover) and (pointer: fine) {
  .service-card {
    transform: perspective(900px) translateZ(0);
    transform-style: preserve-3d;
    transition: transform 0.4s var(--ease), background 0.3s ease, color 0.3s ease;
  }

  .service-card:hover {
    transform: perspective(900px) translateY(-7px) rotateX(1.4deg) rotateY(-1deg);
  }

  .service-card:hover > * {
    transform: translateZ(12px);
  }
}

@media (max-width: 900px) {
  .hero-visual .visual-core {
    transform: translate(-50%, -50%) translateZ(40px);
  }

  .case-preview {
    --base-x: 0deg;
    --base-y: 0deg;
    transform: translate3d(0, 0, 18px) rotateZ(var(--base-z));
    box-shadow: 8px 11px 0 rgba(0, 0, 0, 0.14), 18px 24px 42px rgba(0, 0, 0, 0.24);
  }

  .case-card:hover .case-preview {
    --lift: 0px;
    box-shadow: 8px 11px 0 rgba(0, 0, 0, 0.14), 18px 24px 42px rgba(0, 0, 0, 0.24);
  }

  .case-number,
  .case-open,
  .case-open:hover {
    transform: none;
  }

  .economic-form {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual .visual-grid,
  .hero-visual .orbit-one,
  .hero-visual .visual-core,
  .hero-visual .floating-tag,
  .hero-visual .floating-card,
  .case-preview,
  .case-card:hover .case-preview {
    transform: none !important;
  }
}

/* Responsive resilience: fluid gutters, safe areas and touch ergonomics */
.nav-wrap,
.brand,
.brand-copy,
.hero-grid > *,
.section-heading > *,
.case-copy > *,
.calculator-shell > *,
.start-grid > *,
.contact-layout > * {
  min-inline-size: 0;
}

.service-copy,
.case-copy,
.case-detail-copy,
.economic-copy,
.calculator-intro,
.start-copy,
.contact-details,
.article-body {
  overflow-wrap: anywhere;
}

.mobile-menu {
  overscroll-behavior: contain;
}

.case-dialog-panel {
  overscroll-behavior: contain;
}

.case-view-tabs button,
.footer-links a,
.social-row a {
  min-block-size: 44px;
}

.footer-links a,
.social-row a {
  display: inline-flex;
  align-items: center;
}

input[type="range"] {
  block-size: 44px;
  margin-block: -10px 8px;
  background: linear-gradient(to left, var(--acid) 50%, rgba(255, 255, 255, 0.2) 50%) center / 100% 3px no-repeat;
}

@media (max-width: 860px) {
  .mobile-menu {
    block-size: calc(100dvh - var(--header-height));
    padding-block-end: env(safe-area-inset-bottom, 0px);
  }
}

@media (min-width: 901px) {
  .case-open {
    inset-inline-end: clamp(36px, 3.2vw, 48px);
    transform: translateZ(78px);
  }

  .case-open:hover {
    transform: translateZ(92px) translateY(-3px);
  }
}

@media (max-width: 620px) {
  .portfolio-tools {
    margin-inline: -12px;
    padding-inline: 12px;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 12px;
  }

  .section-heading h2,
  .team-copy h2,
  .testimonial-top h2,
  .calculator-intro h2 {
    font-size: clamp(30px, 10.5vw, 40px);
  }

  .case-dialog-panel {
    min-block-size: 100dvh;
    max-block-size: 100dvh;
  }

  .case-dialog-panel > header {
    padding-block-start: max(14px, env(safe-area-inset-top, 0px));
  }

  .case-dialog-body {
    padding-block-end: max(24px, env(safe-area-inset-bottom, 0px));
  }

  .case-view-tabs button {
    min-block-size: 44px;
  }
}

@media (max-width: 340px) {
  .nav-wrap {
    gap: 6px;
  }

  .brand {
    gap: 6px;
  }

  .brand-mark {
    inline-size: 34px;
    block-size: 34px;
    flex: 0 0 34px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    overflow: hidden;
    max-inline-size: 105px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 6px;
  }

  .hero h1 {
    font-size: clamp(42px, 15vw, 52px);
  }

  .hero-visual {
    margin-inline: -8px;
  }

  .floating-card {
    inset-inline-start: 2%;
    inline-size: 126px;
  }

  .project-meta,
  .project-meta.compact {
    grid-template-columns: 1fr;
  }

  .project-meta p {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* First-visit guidance: fewer choices, clearer outcomes */
.hero-service-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 22px;
}

.hero-service-line span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding-inline: 11px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 650;
}

.hero-assurance {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.hero-assurance span {
  inline-size: 19px;
  block-size: 19px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--black);
  background: var(--acid);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
}

.quick-start-section {
  position: relative;
  padding-block: 86px 96px;
  background: var(--paper);
  border-block-end: 1px solid var(--line);
  overflow: hidden;
}

.quick-start-section::before {
  content: "START / 01";
  position: absolute;
  inset-inline-start: -22px;
  inset-block-start: 10px;
  color: color-mix(in srgb, var(--ink) 7%, transparent);
  font-family: Arial, sans-serif;
  font-size: clamp(66px, 10vw, 150px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
}

.quick-start-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 430px);
  align-items: end;
  gap: 48px;
  margin-block-end: 36px;
}

.quick-start-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 730;
  line-height: 1.12;
  letter-spacing: -0.014em;
}

.quick-start-head h2 em {
  color: var(--purple);
}

.quick-start-head > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.quick-start-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block-start: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
}

.quick-path {
  position: relative;
  min-height: 226px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 22px;
  background: var(--paper);
  border-inline-end: 1px solid var(--line);
  border-block-end: 1px solid var(--line);
  transition: color 0.28s ease, background 0.28s ease, transform 0.28s var(--ease);
}

.quick-path::before {
  content: "";
  position: absolute;
  inline-size: 54px;
  block-size: 54px;
  inset-inline-end: 20px;
  inset-block-start: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.12;
  transition: transform 0.35s var(--ease), border-radius 0.35s var(--ease);
}

.quick-path:hover {
  color: var(--paper);
  background: var(--black);
  transform: translateY(-7px);
}

.quick-path:hover::before {
  border-radius: 10px;
  transform: rotate(28deg) scale(1.12);
}

.quick-path-help,
.quick-path-help:hover {
  color: #fff;
  background: var(--purple);
}

.quick-path-number {
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.quick-path-help .quick-path-number {
  color: rgba(255, 255, 255, 0.58);
}

.quick-path-copy {
  display: grid;
  gap: 9px;
}

.quick-path-copy strong {
  max-width: 230px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 680;
  line-height: 1.45;
}

.quick-path-copy small {
  max-width: 230px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.quick-path:hover .quick-path-copy small,
.quick-path-help .quick-path-copy small {
  color: rgba(255, 255, 255, 0.62);
}

.quick-path-arrow {
  position: absolute;
  inset-inline-end: 24px;
  inset-block-end: 20px;
  font-size: 22px;
  transition: transform 0.25s var(--ease);
}

.quick-path:hover .quick-path-arrow {
  transform: translate(-5px, 5px);
}

.service-row {
  grid-template-columns: 60px 110px minmax(0, 1fr) auto;
}

.service-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid var(--ink);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.service-cta b {
  color: var(--purple);
  font-size: 18px;
  transition: transform 0.2s;
}

.service-cta:hover {
  color: var(--black);
  background: var(--acid);
  transform: translateY(-3px);
}

.service-cta:hover b {
  color: var(--black);
  transform: translate(-3px, 3px);
}

.start-steps {
  display: grid;
  gap: 0;
  max-width: 470px;
  margin: 30px 0 0;
  padding: 0;
  border-block-start: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.start-steps li {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.16);
}

.start-steps span {
  color: var(--acid);
  font-family: Arial, sans-serif;
  font-size: 9px;
}

.start-steps strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 580;
}

.form-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  color: var(--black);
  background: var(--acid);
}

.form-intro strong {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 13px;
}

.form-intro span {
  padding-inline-start: 16px;
  border-inline-start: 1px solid rgba(0, 0, 0, 0.28);
  font-size: 10px;
  line-height: 1.7;
}

.mobile-assist {
  display: none;
}

@media (max-width: 1040px) and (min-width: 861px) {
  .desktop-nav {
    gap: 17px;
    font-size: 12px;
  }

  .quick-start-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  body {
    padding-block-end: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  body.menu-open .mobile-assist {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
  }

  body.start-visible .mobile-assist {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
  }

  .mobile-menu nav {
    padding-block-end: 14px;
  }

  .mobile-menu nav a {
    min-height: 58px;
    font-size: 19px;
  }

  .mobile-menu-help {
    margin: 0 24px 34px;
    padding: 18px;
    color: var(--black);
    background: var(--acid);
  }

  .mobile-menu-help > span {
    display: block;
    margin-block-end: 12px;
    font-size: 12px;
    font-weight: 700;
  }

  .mobile-menu-help .button {
    min-height: 48px;
    display: flex;
    padding-inline: 14px;
    color: #fff;
    background: var(--black);
    border: 1px solid var(--black);
    font-size: 13px;
  }

  .mobile-assist {
    position: fixed;
    z-index: 84;
    inset-inline: 0;
    inset-block-end: 0;
    min-height: calc(68px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    padding: 7px max(8px, env(safe-area-inset-right, 0px)) max(7px, env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--black) 92%, transparent);
    border-block-start: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.25s var(--ease);
  }

  .mobile-assist a {
    min-width: 0;
    display: grid;
    align-content: center;
    padding-inline: 13px;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .mobile-assist a + a {
    color: var(--black);
    background: var(--acid);
    border-color: var(--acid);
  }

  .mobile-assist span,
  .mobile-assist strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-assist span {
    font-size: 8px;
  }

  .mobile-assist strong {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 680;
  }

  .quick-start-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .quick-start-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quick-path {
    min-height: 205px;
  }

  .service-row {
    grid-template-columns: 45px 90px minmax(0, 1fr);
  }

  .service-cta {
    grid-column: 3;
    justify-self: start;
    margin-block-end: 22px;
  }
}

@media (max-width: 620px) {
  .hero-grid {
    gap: 54px;
    padding-block-end: 74px;
  }

  .hero-service-line {
    gap: 6px;
    margin-block-start: 17px;
  }

  .hero-service-line span {
    min-height: 28px;
    padding-inline: 8px;
    font-size: 9px;
  }

  .hero-actions {
    margin-block-start: 24px;
  }

  .hero-proof {
    margin-block-start: 30px;
  }

  .quick-start-section {
    padding-block: 68px 74px;
  }

  .quick-start-section::before {
    inset-inline-start: -8px;
    font-size: 72px;
  }

  .quick-start-head {
    margin-block-end: 26px;
  }

  .quick-start-head h2 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .quick-start-head > p {
    font-size: 13px;
  }

  .quick-start-grid {
    grid-template-columns: 1fr;
  }

  .quick-path {
    min-height: 144px;
    gap: 18px;
    padding: 18px;
  }

  .quick-path-copy strong {
    font-size: 18px;
  }

  .quick-path::before {
    inline-size: 44px;
    block-size: 44px;
    inset-inline-end: 16px;
    inset-block-start: 16px;
  }

  .quick-path-arrow {
    inset-inline-end: 18px;
    inset-block-end: 16px;
  }

  .service-row {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .service-cta {
    grid-column: 2;
    min-height: 42px;
    margin: 4px 0 0;
    font-size: 10px;
  }

  .start-section {
    padding-block: 84px 92px;
  }

  .start-steps {
    margin-block-start: 24px;
  }

  .form-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .form-intro span {
    padding: 8px 0 0;
    border-inline-start: 0;
    border-block-start: 1px solid rgba(0, 0, 0, 0.28);
  }
}

@media (max-width: 340px) {
  .mobile-assist a {
    padding-inline: 9px;
  }

  .mobile-assist strong {
    font-size: 11px;
  }

  .quick-path {
    min-height: 136px;
  }
}

@supports (padding: max(0px)) {
  .site-header {
    padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
  }
}

/* Brand system — derived from the official logo */
:root {
  --black: #111733;
  --paper: #0b1028;
  --paper-deep: #111733;
  --ink: #f8f7f0;
  --ink-soft: #ffffff;
  --acid: #c8ff42;
  --purple: #12ad92;
  --navy: #242a61;
  --navy-deep: #0b1028;
  --teal: #12ad92;
  --gold: #c8ff42;
  --gold-shadow: #6f941f;
  --line: rgba(255, 255, 255, 0.16);
  --muted: #b5b7c9;
}

html[data-theme="light"] {
  --paper: #fbfaf5;
  --paper-deep: #f1efe5;
  --ink: #111733;
  --ink-soft: #242a61;
  --line: rgba(36, 42, 97, 0.17);
  --muted: #626682;
}

::selection { color: var(--navy-deep); background: var(--gold); }
:focus-visible { outline-color: var(--teal); }

.sr-only {
  position: absolute !important;
  inline-size: 1px !important;
  block-size: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.brand-logo {
  inline-size: 48px;
  block-size: 48px;
  min-inline-size: 0;
  min-block-size: 0;
  max-inline-size: 48px;
  max-block-size: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  overflow: hidden;
  contain: layout paint;
  padding: 2px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 9px 25px rgba(6, 10, 35, 0.28), inset 0 0 0 1px rgba(36, 42, 97, 0.1);
  transform: rotate(-3deg);
}

.brand-logo img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: 100%;
  max-block-size: 100%;
  object-fit: contain;
}

.footer-brand .brand-logo { inline-size: 62px; block-size: 62px; max-inline-size: 62px; max-block-size: 62px; flex-basis: 62px; }

.site-header.scrolled,
.site-header.solid {
  background: color-mix(in srgb, var(--paper) 91%, transparent);
  box-shadow: 0 12px 40px rgba(4, 8, 30, 0.12);
}

.hero {
  background:
    radial-gradient(circle at 76% 24%, rgba(18, 173, 146, 0.18), transparent 24rem),
    radial-gradient(circle at 16% 84%, rgba(254, 208, 45, 0.1), transparent 28rem),
    linear-gradient(145deg, #080d24 0%, #111733 54%, #20275b 100%);
}

.accent-title { color: var(--gold); }
.hero-visual::before {
  background: conic-gradient(from 210deg, rgba(18, 173, 146, 0.66), rgba(254, 208, 45, 0.42), rgba(36, 42, 97, 0.18), transparent 70%);
}
.hero-visual .orbit-one { box-shadow: 0 0 55px rgba(254, 208, 45, 0.1), inset 0 0 55px rgba(18, 173, 146, 0.12); }
.hero-visual .visual-core {
  padding: 29px;
  background: linear-gradient(145deg, #ffffff 0%, #effcf8 70%, #c7f1e7 100%);
  box-shadow:
    inset -18px -18px 30px rgba(18, 173, 146, 0.16),
    inset 12px 12px 24px rgba(255, 255, 255, 0.8),
    10px 14px 0 var(--gold-shadow),
    28px 42px 75px rgba(0, 0, 0, 0.42),
    0 0 100px rgba(18, 173, 146, 0.18);
}
.hero-visual .visual-core::after { display: none; }
.hero-visual { isolation: isolate; contain: layout paint; overflow: hidden; overflow: clip; }
.hero-visual .visual-core { overflow: hidden; }
.hero-brand-logo {
  display: block;
  inline-size: 78%;
  block-size: auto;
  max-inline-size: 78%;
  max-block-size: 78%;
  margin: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(36, 42, 97, 0.16));
}
.visual-core .core-label,
.visual-core .core-arrow { color: var(--navy); }
.hero-visual .floating-card { box-shadow: 10px 11px 0 rgba(18, 173, 146, 0.82), 24px 35px 60px rgba(0, 0, 0, 0.34); }

.button,
.mobile-assist a + a,
.portfolio-tools button:hover,
.portfolio-tools button.active,
.case-open:hover { color: var(--navy-deep); }

.economic-section { color: var(--navy-deep); background: var(--gold); }
.economic-copy h2 em { color: var(--teal); }
.economic-note { border-inline-start-color: var(--teal); }
.economic-form { box-shadow: 18px 18px 0 rgba(18, 173, 146, 0.88); }

/* Fluid portfolio cards and honest device previews */
.case-visual,
.case-wide .case-visual {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.case-wide .case-visual { aspect-ratio: 16 / 9; }
.case-preview { max-inline-size: calc(100% - 22px); }

.case-dialog-panel {
  background: #0b1028;
  border-color: rgba(255, 255, 255, 0.18);
}
.case-dialog-panel > header { background: rgba(11, 16, 40, 0.94); }
.case-dialog-panel header span { color: var(--gold); }
.case-dialog-panel header button { color: var(--navy-deep); background: var(--gold); }
.case-dialog-body { grid-template-columns: minmax(0, 1.35fr) minmax(265px, 0.65fr); }
.case-detail-stage {
  min-width: 0;
  min-height: 500px;
  grid-template-columns: 58px minmax(0, 1fr);
  color: #effcf9;
  background: #111733;
  border-color: rgba(255, 255, 255, 0.15);
}
.case-detail-stage[data-view="website"] { color: #17204c; background: #f5f1df; }
.case-detail-stage[data-view="dashboard"] { color: #ecfffb; background: #10183c; }
.case-detail-stage[data-view="mobile"] { color: #112f35; background: #d9f5ee; }
.case-detail-stage aside { background: var(--navy-deep); }
.case-detail-stage aside b { color: var(--navy-deep); background: var(--gold); }

.case-detail-stage .detail-media,
.case-detail-stage[data-view="mobile"] .detail-media {
  inline-size: 100%;
  aspect-ratio: 1440 / 1000;
  margin-inline: auto;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  border-radius: 3px;
  background: #080b1c;
  box-shadow: 0 22px 52px rgba(5, 8, 28, 0.3);
}

.case-detail-stage .detail-media::before,
.case-detail-stage[data-view="mobile"] .detail-media::before { display: none; }

.case-detail-stage .detail-media img,
.case-detail-stage[data-view="dashboard"] .detail-media img,
.case-detail-stage[data-view="mobile"] .detail-media img {
  inline-size: 100%;
  block-size: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: top center;
  transform: none;
}

.case-detail-stage[data-device="tablet"] .detail-media {
  inline-size: min(72%, 600px);
  aspect-ratio: 4 / 3;
  border: 8px solid #242a61;
  border-radius: 18px;
}

.case-detail-stage[data-device="mobile"] .detail-media {
  inline-size: min(42%, 290px);
  aspect-ratio: 9 / 16;
  border: 8px solid #111733;
  border-radius: 28px;
}

.case-detail-stage[data-device="mobile"] .detail-media::before {
  position: absolute;
  z-index: 2;
  inset-block-start: 8px;
  inset-inline-start: 50%;
  inline-size: 52px;
  block-size: 6px;
  display: block;
  border-radius: 999px;
  background: #111733;
  content: "";
  transform: translateX(-50%);
}

.case-detail-stage[data-device="mobile"] .detail-media img { object-position: 82% top; }
.case-detail-copy > p { margin-block-end: 18px; }

.case-device-control {
  display: grid;
  gap: 11px;
  margin-block-end: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.035);
}
.case-device-control > div:first-child { display: grid; gap: 3px; }
.case-device-control strong { font-size: 11px; }
.case-device-control span { color: rgba(255, 255, 255, 0.5); font-size: 9px; }
.case-device-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.case-device-switch button {
  min-block-size: 44px;
  padding-inline: 5px;
  color: rgba(255, 255, 255, 0.66);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  font-size: 9px;
}
.case-device-switch button.active { color: var(--navy-deep); background: var(--teal); border-color: var(--teal); font-weight: 800; }
.case-view-tabs button.active { color: var(--navy-deep); background: var(--gold); border-color: var(--gold); }
.case-deliverables span::after { color: var(--teal); }
.case-detail-copy .button { color: var(--navy-deep); background: var(--gold); }

/* Telegram-connected support chat */
.chat-widget { position: fixed; z-index: 160; inset-inline-end: 22px; inset-block-end: 22px; direction: rtl; }
.chat-launcher {
  min-inline-size: 224px;
  min-block-size: 64px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 8px;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  color: #fff;
  background: linear-gradient(135deg, #242a61, #111733);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  box-shadow: 0 18px 55px rgba(5, 8, 30, 0.38), 6px 7px 0 rgba(18, 173, 146, 0.78);
  cursor: pointer;
  text-align: right;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.chat-launcher:hover { transform: translateY(-3px); box-shadow: 0 22px 65px rgba(5, 8, 30, 0.46), 7px 9px 0 rgba(18, 173, 146, 0.88); }
.chat-launcher-mark { inline-size: 44px; block-size: 44px; display: grid; place-items: center; overflow: hidden; contain: layout paint; padding: 3px; border-radius: 14px; background: #fff; }
.chat-launcher-mark img { display: block; inline-size: 100%; block-size: 100%; max-inline-size: 100%; max-block-size: 100%; object-fit: contain; }
.chat-launcher > span:nth-child(2) { min-width: 0; display: grid; line-height: 1.35; }
.chat-launcher strong { font-family: var(--font-display); font-size: 13px; }
.chat-launcher small { color: rgba(255, 255, 255, 0.58); font-size: 9px; }
.chat-launcher i { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(18, 173, 146, 0.14); }

.chat-panel {
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: 82px;
  inline-size: min(390px, calc(100vw - 28px));
  block-size: min(650px, calc(100dvh - 125px));
  display: grid;
  grid-template-rows: auto auto minmax(120px, 1fr) auto;
  overflow: hidden;
  color: #f9f9f4;
  background: #0b1028;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 32px 100px rgba(3, 7, 29, 0.58), 12px 14px 0 rgba(254, 208, 45, 0.85);
  transform-origin: bottom right;
}
.chat-panel[hidden] { display: none; }
.chat-header {
  min-block-size: 74px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  background: linear-gradient(120deg, #242a61, #171e4b);
  border-block-end: 1px solid rgba(255, 255, 255, 0.12);
}
.chat-brand { inline-size: 46px; block-size: 46px; display: grid; place-items: center; overflow: hidden; contain: layout paint; padding: 3px; border-radius: 15px; background: #fff; }
.chat-brand img { display: block; inline-size: 100%; block-size: 100%; max-inline-size: 100%; max-block-size: 100%; object-fit: contain; }
.chat-header > div { min-width: 0; display: grid; line-height: 1.5; }
.chat-header strong { font-family: var(--font-display); font-size: 14px; }
.chat-header span { overflow: hidden; color: rgba(255, 255, 255, 0.58); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.chat-header [data-chat-connection].is-online { color: #7debd5; }
.chat-header [data-chat-connection].is-offline { color: #ffd866; }
.chat-header button { inline-size: 44px; block-size: 44px; display: grid; place-items: center; color: var(--navy-deep); background: var(--gold); border: 0; border-radius: 13px; cursor: pointer; font-family: Arial, sans-serif; font-size: 23px; }
.chat-intro { padding: 17px 17px 15px; background: rgba(18, 173, 146, 0.08); border-block-end: 1px solid rgba(255, 255, 255, 0.1); }
.chat-intro strong { font-family: var(--font-display); font-size: 15px; }
.chat-intro p { margin: 4px 0 0; color: rgba(255, 255, 255, 0.58); font-size: 10px; }
.chat-messages { min-width: 0; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; padding: 16px; overscroll-behavior: contain; scrollbar-width: thin; }
.chat-empty { margin: auto; padding: 22px 15px; text-align: center; }
.chat-empty span { display: inline-block; margin-block-end: 7px; color: var(--gold); font-size: 10px; }
.chat-empty p { max-inline-size: 260px; margin: 0; color: rgba(255, 255, 255, 0.48); font-size: 10px; }
.chat-message { max-inline-size: 84%; display: grid; gap: 4px; align-self: flex-start; padding: 10px 12px; background: #202759; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 15px 15px 4px 15px; }
.chat-message.is-user { align-self: flex-end; color: var(--navy-deep); background: var(--gold); border-color: transparent; border-radius: 15px 15px 15px 4px; }
.chat-message p { margin: 0; overflow-wrap: anywhere; font-size: 12px; white-space: pre-wrap; }
.chat-message time { opacity: 0.55; font-family: Arial, sans-serif; font-size: 8px; direction: ltr; }
.chat-form { display: grid; gap: 9px; padding: 12px; background: rgba(255, 255, 255, 0.035); border-block-start: 1px solid rgba(255, 255, 255, 0.12); }
.chat-name { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 9px; }
.chat-name > span { color: rgba(255, 255, 255, 0.52); font-size: 9px; }
.chat-name input { min-width: 0; min-block-size: 44px; padding-inline: 11px; color: #fff; background: rgba(255, 255, 255, 0.065); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px; font-size: 11px; }
.chat-compose { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 8px; }
.chat-compose textarea { min-width: 0; min-block-size: 48px; max-block-size: 110px; resize: none; padding: 12px; color: #fff; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 13px; font-size: 12px; }
.chat-compose textarea::placeholder,
.chat-name input::placeholder { color: rgba(255, 255, 255, 0.38); }
.chat-compose button { inline-size: 48px; block-size: 48px; display: grid; place-items: center; align-self: end; color: var(--navy-deep); background: var(--teal); border: 0; border-radius: 13px; cursor: pointer; font-size: 21px; }
.chat-compose button:disabled { cursor: wait; opacity: 0.55; }
.chat-status { min-block-size: 16px; margin: 0; color: rgba(255, 255, 255, 0.48); font-size: 9px; }
.chat-status.is-error { color: #ffd866; }

@media (max-width: 900px) {
  .case-visual,
  .case-wide .case-visual { min-height: 0; aspect-ratio: 4 / 3; }
  .case-dialog-body { grid-template-columns: 1fr; }
  .case-detail-stage { min-height: 460px; }
}

@media (max-width: 620px) {
  .brand-logo { inline-size: 42px; block-size: 42px; max-inline-size: 42px; max-block-size: 42px; flex-basis: 42px; border-radius: 13px; }
  .hero-visual .visual-core { inline-size: clamp(150px, 50vw, 190px); block-size: clamp(150px, 50vw, 190px); }
  .case-visual,
  .case-wide .case-visual { min-height: 0; aspect-ratio: 1 / 1; }
  .case-preview { transform: none; box-shadow: 8px 10px 0 rgba(6, 9, 29, 0.18), 18px 24px 48px rgba(5, 8, 28, 0.22); }
  .case-dialog-body { padding: 14px; }
  .case-detail-stage { min-height: 430px; grid-template-columns: 38px minmax(0, 1fr); }
  .case-detail-stage aside { gap: 16px; padding-block: 15px; }
  .case-detail-stage aside b { inline-size: 28px; block-size: 28px; }
  .case-detail-stage aside i { inline-size: 16px; }
  .detail-canvas { padding: 12px; }
  .case-detail-stage[data-device="tablet"] .detail-media { inline-size: 92%; border-width: 6px; border-radius: 14px; }
  .case-detail-stage[data-device="mobile"] .detail-media { inline-size: min(210px, 82%); border-width: 7px; border-radius: 24px; }
  .case-device-control { padding: 12px; }
  .chat-widget { inset-inline: 8px; inset-block-end: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .chat-launcher { min-inline-size: 0; inline-size: 64px; min-block-size: 60px; grid-template-columns: 44px 8px; margin-inline-start: auto; padding: 8px; border-radius: 18px; }
  .chat-launcher > span:nth-child(2) { display: none; }
  .chat-panel { position: fixed; inset-inline: 8px; inset-block-start: max(8px, env(safe-area-inset-top, 0px)); inset-block-end: calc(78px + env(safe-area-inset-bottom, 0px)); inline-size: auto; block-size: auto; border-radius: 20px; box-shadow: 0 24px 80px rgba(3, 7, 29, 0.64), 7px 8px 0 rgba(254, 208, 45, 0.82); }
}

@media (max-width: 340px) {
  .brand-logo { inline-size: 38px; block-size: 38px; max-inline-size: 38px; max-block-size: 38px; flex-basis: 38px; }
  .brand-copy strong { max-inline-size: 112px; }
  .chat-panel { inset-inline: 4px; border-radius: 16px; }
  .chat-header { grid-template-columns: 40px minmax(0, 1fr) 44px; padding-inline: 9px; }
  .chat-brand { inline-size: 40px; block-size: 40px; }
}

/* ALOOSEO — unified digital design and organic growth system */
.quick-start-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.quick-path-seo,
.quick-path-seo:hover { color: #fff; background: var(--teal); }
.quick-path-seo .quick-path-number,
.quick-path-seo .quick-path-copy small { color: rgba(255, 255, 255, 0.68); }
.service-row-seo { background: color-mix(in srgb, var(--teal) 7%, transparent); }
.service-icon-brand { padding: 14px; background: #fff; border-radius: 18px; }
.service-icon-brand img { inline-size: 100%; block-size: 100%; object-fit: contain; }
.service-row-seo:hover .service-icon-brand { color: inherit; background: #fff; border-radius: 50%; }

.seo-hub {
  position: relative;
  color: #f7f7f2;
  background:
    radial-gradient(circle at 8% 16%, rgba(18, 173, 146, 0.19), transparent 28%),
    linear-gradient(155deg, #11183c 0%, var(--navy-deep) 58%, #070a1b 100%);
  overflow: hidden;
}

.seo-hub::before {
  content: "ALOOSEO";
  position: absolute;
  inset-inline-end: -0.04em;
  inset-block-start: 0.05em;
  color: rgba(255, 255, 255, 0.025);
  font-family: Arial, sans-serif;
  font-size: clamp(82px, 17vw, 250px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  direction: ltr;
  pointer-events: none;
}

.seo-hub > .container { position: relative; z-index: 1; }

.seo-identity {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(42px, 8vw, 120px);
  align-items: center;
  padding-block-end: clamp(56px, 8vw, 100px);
  border-block-end: 1px solid rgba(255, 255, 255, 0.16);
}

.seo-lockup {
  min-block-size: 310px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  padding: 34px;
  color: var(--navy-deep);
  background: var(--gold);
  box-shadow: 18px 18px 0 rgba(18, 173, 146, 0.82);
  text-align: center;
  transform: rotate(1.5deg);
}

.seo-mark {
  inline-size: 116px;
  block-size: 116px;
  display: grid;
  place-items: center;
  padding: 13px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 14px 32px rgba(11, 16, 40, 0.18);
}

.seo-mark img { inline-size: 100%; block-size: 100%; object-fit: contain; }
.seo-lockup > div { display: grid; gap: 7px; }
.seo-lockup strong { font-family: var(--font-display); font-size: clamp(34px, 4vw, 54px); line-height: 1; }
.seo-lockup small { font-family: Arial, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: 0.12em; direction: ltr; }
.seo-intro { min-inline-size: 0; }
.seo-intro h2 { margin: 0; font-size: clamp(44px, 5.4vw, 76px); line-height: 1.16; letter-spacing: -0.025em; }
.seo-intro h2 em { color: var(--gold); font-style: normal; }
.seo-intro > p:not(.eyebrow) { max-width: 680px; margin: 24px 0 0; color: rgba(255, 255, 255, 0.66); font-size: 16px; line-height: 2; }
.seo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-block-start: 32px; }
.seo-actions .text-link { color: #fff; }

.seo-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block-start: clamp(56px, 8vw, 100px);
  border-block-start: 1px solid rgba(255, 255, 255, 0.16);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.16);
}

.seo-card {
  min-inline-size: 0;
  min-block-size: 340px;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 34px);
  background: rgba(255, 255, 255, 0.025);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.16);
  border-block-end: 1px solid rgba(255, 255, 255, 0.16);
  transition: color 0.25s, background 0.25s, transform 0.25s var(--ease);
}

.seo-card:hover { color: var(--navy-deep); background: var(--gold); transform: translateY(-6px); }
.seo-card-accent { color: var(--navy-deep); background: var(--teal); }
.seo-card > span { color: var(--gold); font-family: Arial, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; }
.seo-card:hover > span,
.seo-card-accent > span { color: var(--navy-deep); }
.seo-card h3 { min-block-size: 86px; margin: 32px 0 12px; font-size: 21px; line-height: 1.5; }
.seo-card p { margin: 0; color: rgba(255, 255, 255, 0.58); font-size: 12px; line-height: 1.9; }
.seo-card:hover p,
.seo-card-accent p { color: rgba(11, 16, 40, 0.7); }
.seo-card ul { display: flex; flex-wrap: wrap; gap: 8px 13px; margin: auto 0 0; padding: 26px 0 0; list-style: none; }
.seo-card li { position: relative; padding-inline-start: 10px; font-size: 9px; font-weight: 700; }
.seo-card li::before { content: ""; position: absolute; inline-size: 4px; block-size: 4px; inset-inline-start: 0; inset-block-start: 0.65em; background: var(--teal); border-radius: 50%; }
.seo-card:hover li::before,
.seo-card-accent li::before { background: var(--navy-deep); }

.seo-specialties {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 24px 0;
  border-block-end: 1px solid rgba(255, 255, 255, 0.16);
}
.seo-specialties strong { margin-inline-end: auto; color: var(--gold); font-size: 11px; }
.seo-specialties span { padding: 8px 12px; color: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.16); font-size: 9px; }

.seo-audit {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: start;
  margin-block-start: clamp(72px, 10vw, 130px);
  padding: clamp(30px, 6vw, 76px);
  color: var(--navy-deep);
  background: var(--gold);
}

.seo-audit-copy { position: sticky; inset-block-start: calc(var(--header-height) + 28px); }
.seo-audit-copy .eyebrow { color: rgba(11, 16, 40, 0.58); }
.seo-audit-copy .eyebrow span { background: var(--navy-deep); }
.seo-audit-copy h3 { margin: 0; font-size: clamp(36px, 4.3vw, 62px); line-height: 1.22; }
.seo-audit-copy h3 em { color: var(--teal); font-style: normal; }
.seo-audit-copy > p:not(.eyebrow) { max-width: 510px; color: rgba(11, 16, 40, 0.7); line-height: 1.9; }
.seo-audit-copy ol { display: grid; gap: 0; margin: 30px 0 0; padding: 0; border-block-start: 1px solid rgba(11, 16, 40, 0.2); list-style: none; }
.seo-audit-copy li { display: flex; align-items: center; gap: 14px; min-block-size: 48px; border-block-end: 1px solid rgba(11, 16, 40, 0.2); font-size: 11px; font-weight: 700; }
.seo-audit-copy b { inline-size: 26px; block-size: 26px; display: grid; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; }

.seo-audit-form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 44px); color: #fff; background: var(--navy-deep); box-shadow: 16px 16px 0 rgba(18, 173, 146, 0.82); }
.seo-field { display: grid; gap: 8px; }
.seo-field > span,
.seo-audit-form legend { color: rgba(255, 255, 255, 0.78); font-size: 10px; font-weight: 750; }
.seo-field small { color: rgba(255, 255, 255, 0.44); font-weight: 400; }
.seo-field input,
.seo-field select { inline-size: 100%; min-block-size: 52px; padding: 10px 13px; color: #fff; background: rgba(255, 255, 255, 0.055); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 0; outline: 0; }
.seo-field select option { color: #fff; background: var(--navy-deep); }
.seo-field input:focus,
.seo-field select:focus { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.seo-audit-form fieldset { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; padding: 0; border: 0; }
.seo-audit-form legend { grid-column: 1 / -1; margin-block-end: 2px; }
.seo-audit-form fieldset label { position: relative; cursor: pointer; }
.seo-audit-form fieldset input { position: absolute; opacity: 0; }
.seo-audit-form fieldset label span { min-block-size: 54px; display: flex; align-items: center; padding: 10px 12px; color: rgba(255, 255, 255, 0.66); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 9px; line-height: 1.6; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.seo-audit-form fieldset input:checked + span { color: var(--navy-deep); background: var(--gold); border-color: var(--gold); }
.seo-audit-form fieldset input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.seo-error { display: none; color: #ffd36c; font-size: 9px; }
.seo-field.invalid .seo-error,
.seo-audit-form fieldset.invalid > .seo-error { display: block; }
.seo-field.invalid input,
.seo-field.invalid select,
.seo-audit-form fieldset.invalid label span { border-color: #ff8b63; }
.seo-audit-form .button { justify-content: space-between; border: 0; }
.seo-microcopy { margin: -6px 0 0; color: rgba(255, 255, 255, 0.42); font-size: 9px; text-align: center; }
.seo-audit-result { padding: 18px; color: var(--navy-deep); background: #fff; border-inline-start: 5px solid var(--teal); }
.seo-audit-result[hidden] { display: none; }
.seo-audit-result > span { color: var(--teal); font-size: 9px; font-weight: 800; }
.seo-audit-result h4 { margin: 7px 0; font-size: 18px; }
.seo-audit-result p { margin: 0 0 12px; color: rgba(11, 16, 40, 0.68); font-size: 10px; line-height: 1.8; }
.seo-audit-result .text-link { color: var(--navy-deep); font-size: 10px; }

.seo-operation { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block-start: clamp(72px, 10vw, 130px); border-block-start: 1px solid rgba(255, 255, 255, 0.16); border-inline-start: 1px solid rgba(255, 255, 255, 0.16); }
.seo-operation > div { min-block-size: 230px; padding: 26px; border-inline-end: 1px solid rgba(255, 255, 255, 0.16); border-block-end: 1px solid rgba(255, 255, 255, 0.16); }
.seo-operation span { color: var(--gold); font-family: Arial, sans-serif; font-size: 9px; letter-spacing: 0.08em; }
.seo-operation h3 { margin: 45px 0 9px; font-size: 18px; }
.seo-operation p { margin: 0; color: rgba(255, 255, 255, 0.55); font-size: 10px; line-height: 1.8; }

.seo-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px); margin-block-start: clamp(72px, 10vw, 130px); }
.seo-models > h3,
.seo-faq > h3 { margin: 0 0 30px; font-size: clamp(34px, 4vw, 56px); line-height: 1.25; }
.seo-models > h3 em { color: var(--gold); font-style: normal; }
.seo-models article { display: grid; grid-template-columns: 88px minmax(0, 0.72fr) minmax(0, 1.28fr); align-items: center; gap: 16px; min-block-size: 90px; border-block-start: 1px solid rgba(255, 255, 255, 0.16); }
.seo-models article:last-child { border-block-end: 1px solid rgba(255, 255, 255, 0.16); }
.seo-models article b { color: var(--gold); font-family: Arial, sans-serif; font-size: 8px; letter-spacing: 0.08em; }
.seo-models article strong { font-size: 12px; }
.seo-models article span { color: rgba(255, 255, 255, 0.5); font-size: 9px; line-height: 1.7; }
.seo-faq details { border-block-start: 1px solid rgba(255, 255, 255, 0.16); }
.seo-faq details:last-child { border-block-end: 1px solid rgba(255, 255, 255, 0.16); }
.seo-faq summary { min-block-size: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-size: 11px; font-weight: 700; list-style: none; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary span { inline-size: 32px; block-size: 32px; display: grid; place-items: center; flex: 0 0 auto; color: var(--navy-deep); background: var(--gold); border-radius: 50%; font-family: Arial, sans-serif; font-size: 18px; transition: transform 0.2s; }
.seo-faq details[open] summary span { transform: rotate(45deg); }
.seo-faq details p { margin: -4px 0 22px; padding-inline-end: 48px; color: rgba(255, 255, 255, 0.58); font-size: 10px; line-height: 1.9; }

@media (max-width: 1180px) {
  .quick-start-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seo-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-card { min-block-size: 310px; }
}

@media (max-width: 900px) {
  .quick-start-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-identity,
  .seo-audit,
  .seo-bottom-grid { grid-template-columns: 1fr; }
  .seo-lockup { min-block-size: 260px; transform: none; }
  .seo-audit-copy { position: static; }
  .seo-operation { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .quick-start-grid,
  .seo-services,
  .seo-operation { grid-template-columns: 1fr; }
  .quick-path { min-height: 190px; }
  .seo-hub { padding-block: 78px; }
  .seo-lockup { min-block-size: 230px; padding: 25px 18px; box-shadow: 10px 10px 0 rgba(18, 173, 146, 0.82); }
  .seo-mark { inline-size: 96px; block-size: 96px; }
  .seo-intro h2 { font-size: 42px; }
  .seo-card { min-block-size: auto; }
  .seo-card h3 { min-block-size: 0; margin-block-start: 24px; }
  .seo-specialties { align-items: stretch; flex-direction: column; }
  .seo-specialties strong { margin-inline-end: 0; }
  .seo-specialties span { inline-size: 100%; }
  .seo-audit { margin-inline: -16px; padding: 30px 18px; }
  .seo-audit-form { padding: 22px 16px; box-shadow: 8px 8px 0 rgba(18, 173, 146, 0.82); }
  .seo-audit-form fieldset { grid-template-columns: 1fr; }
  .seo-operation > div { min-block-size: 190px; }
  .seo-models article { grid-template-columns: 70px 1fr; padding-block: 15px; }
  .seo-models article span { grid-column: 2; }
  .seo-faq details p { padding-inline-end: 0; }
  .choice-services label:last-child { grid-column: 1 / -1; }
}

@media (forced-colors: active) {
  .seo-card,
  .seo-audit-form,
  .seo-lockup { border: 1px solid ButtonText; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .seo-lockup,
  .seo-card,
  .seo-card:hover { transform: none; }
}
