@font-face {
  font-family: "Vazirmatn";
  src: url("assets/fonts/Vazirmatn.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 #c6ff00;
  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: #6d5dfc;
  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: #c6ff00; }
.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: #c6ff00; 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: #c6ff00; 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: #c6ff00; 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: #c6ff00; }
.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: #6d5dfc; }
.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: #c6ff00; }

.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: #c6ff00; border-color: #c6ff00; }
.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: #c6ff00; }
.case-detail-copy .button { margin-block-start: auto; color: #10100f; background: #c6ff00; }
body.dialog-open { overflow: hidden; }

/* Economic execution plan */
.economic-section {
  color: #0a0a0a;
  background: #c6ff00;
  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: #6d5dfc; }
.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 #6d5dfc; 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: #c6ff00; 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: #c6ff00; box-shadow: 0 0 0 1px #c6ff00; }
.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: #c6ff00; border: 0; cursor: pointer; }
.economic-status { margin-block-start: 18px; padding: 13px; color: #0a0a0a; background: #c6ff00; 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: 100vh; min-height: 100vh; 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: #c6ff00;
  --purple: #6d5dfc;
  --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(198, 255, 0, 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(109, 93, 252, 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(198, 255, 0, 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(109, 93, 252, 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(198, 255, 0, 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(109, 93, 252, 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;
}

.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: 100vh;
  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;
  }
}
