@font-face {
  font-family: Vazirmatn;
  src: url("../fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f3ed;
  --white: #fffdf9;
  --ink: #292321;
  --muted: #716560;
  --accent: #8b263e;
  --line: #dfd4cc;
  --soft: #eee5dd;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: Arial, Vazirmatn, sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
}
img,
svg {
  display: block;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: #efd5cc;
  color: #512235;
}
body:has(dialog[open]),
body.menu-open {
  overflow: hidden;
}
.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.container {
  width: min(1320px, calc(100% - 100px));
  margin-inline: auto;
}
.section {
  padding-block: 120px;
}
h2 {
  font-size: clamp(36px, 4.3vw, 62px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.055em;
  white-space: pre-line;
}
h3 {
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.eyebrow {
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}
.section-number {
  color: var(--accent);
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 100%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  letter-spacing: 0;
}
.multiline {
  white-space: pre-line;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--accent);
  color: #fffdf9;
  min-height: 56px;
  padding: 15px 23px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.25s,
    transform 0.3s var(--ease),
    box-shadow 0.3s;
}
.button:hover {
  background: #681e30;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px #8b263e1c;
}
.button .icon,
.text-link .icon {
  transition: transform 0.3s;
}
.button:hover .icon,
.text-link:hover .icon {
  transform: translate(3px, -3px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 9px 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
}
.skip {
  position: fixed;
  inset-block-start: -100px;
  inset-inline-start: 20px;
  background: var(--ink);
  color: white;
  padding: 14px;
  z-index: 100;
}
.skip:focus {
  inset-block-start: 10px;
}
.preview-banner {
  text-align: center;
  background: #eee3da;
  color: #67564d;
  font-size: 11px;
  padding: 5px 12px;
}
.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 90;
  pointer-events: none;
}
.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.site-header {
  position: sticky;
  top: 0;
  background: #f7f3edf5;
  backdrop-filter: blur(14px);
  z-index: 40;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  font-weight: 600;
}
.brand-mark {
  font-size: 36px;
  letter-spacing: -0.1em;
  line-height: 1;
  font-weight: 800;
}
.brand-mark > span {
  color: var(--accent);
}
.main-nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
}
.main-nav a {
  position: relative;
  padding: 13px 0;
}
.main-nav a:after {
  content: "";
  position: absolute;
  bottom: 5px;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.main-nav a:hover:after,
.main-nav a.active:after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.language-button {
  background: none;
  min-width: 44px;
  min-height: 44px;
  font-size: 13px;
}
.small-button {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 12px;
  gap: 24px;
}
.menu-button,
.nav-contact {
  display: none;
}
.hero {
  padding-top: 44px;
}
.hero-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 5px #8b263e0c;
}
.edition {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 7%;
  align-items: center;
  padding: 58px 0 64px;
}
.hero-content h1 {
  font-size: clamp(58px, 6.6vw, 96px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.075em;
  white-space: pre-line;
}
.hero-content h1 .headline-line {
  display: block;
  overflow: clip;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.headline-line > span {
  display: block;
  animation: headline-in 1.1s var(--ease) both;
}
.headline-line:nth-child(2) > span {
  animation-delay: 0.14s;
  color: var(--accent);
  font-family: Georgia, serif;
  font-style: italic;
  letter-spacing: -0.06em;
}
.headline-line:nth-child(3) > span {
  animation-delay: 0.28s;
}
.hero-description {
  max-width: 470px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-actions .text-link {
  font-size: 12px;
}
.hero-note {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 34px;
  color: var(--muted);
  font-size: 11px;
}
.tiny-rule {
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.hero-studio {
  background: #e9ded4;
  padding: 21px 22px 17px;
  box-shadow: 0 20px 60px #4230220a;
  transform: rotate(2deg);
  border: 1px solid #dfcfc3;
  animation: studio-in 1.3s var(--ease) both;
  animation-delay: 0.2s;
  min-width: 0;
}
.studio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 19px;
}
.studio-top .eyebrow,
.preview-page {
  font-size: 9px;
  letter-spacing: 0.09em;
}
.demo-stage {
  aspect-ratio: 1.5;
  background: var(--white);
  overflow: hidden;
  border: 1px solid #d8cac0;
  display: flex;
  align-items: center;
}
.demo-stage > .demo {
  width: 100%;
  animation: demo-in 0.7s var(--ease);
}
.studio-caption {
  padding-top: 19px;
}
.studio-caption h2 {
  font-size: 26px;
  letter-spacing: -0.04em;
}
.studio-caption p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.demo-switch {
  display: flex;
  gap: 4px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.demo-switch button {
  background: transparent;
  border: 1px solid #ccb9ab;
  border-radius: 30px;
  padding: 7px 12px;
  min-height: 36px;
  font-size: 10px;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.demo-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.demo-switch button:hover {
  transform: translateY(-2px);
}
.preview-disclaimer {
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 11px;
  color: var(--muted);
}
.scroll-cue {
  display: flex;
  gap: 10px;
  align-items: center;
}
.scroll-cue .icon {
  animation: scroll-cue 2s ease-in-out infinite;
  width: 16px;
}
.expertise-strip {
  border-block: 1px solid var(--line);
  background: #eee7df;
  padding-block: 27px;
}
.expertise-strip > .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-family: Georgia, serif;
  font-size: clamp(18px, 2vw, 27px);
  font-style: italic;
}
.expertise-strip span:nth-child(even) {
  font-size: 16px;
  color: #ad8c7a;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12%;
  align-items: end;
  margin-bottom: 54px;
}
.section-heading .eyebrow {
  margin-bottom: 22px;
}
.section-heading > p {
  max-width: 380px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 66px 35px;
}
.project:nth-child(even) {
  padding-top: 70px;
}
.project-trigger {
  display: block;
  text-align: start;
  background: none;
  width: 100%;
  padding: 0;
}
.project-image {
  position: relative;
  aspect-ratio: 1.32;
  background: #e7d9cd;
  padding: 48px 26px 26px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 4px;
  isolation: isolate;
}
.project:nth-child(2) .project-image {
  background: #eee3d2;
}
.project:nth-child(3) .project-image {
  background: #e8dbd6;
}
.project:nth-child(4) .project-image {
  background: #e0d8d2;
}
.project-number {
  position: absolute;
  top: 16px;
  inset-inline-start: 20px;
  font-size: 11px;
  z-index: 2;
}
.project-open {
  position: absolute;
  top: 14px;
  inset-inline-end: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: 50%;
  z-index: 2;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.4s var(--ease);
}
.project-image > .demo {
  width: 100%;
  box-shadow: 0 20px 40px #43201918;
  transform: rotate(-3deg) translateY(8px);
  transition: transform 0.7s var(--ease);
}
.project:nth-child(even) .project-image > .demo {
  transform: rotate(3deg) translateY(8px);
}
.project-trigger:hover .demo,
.project-trigger:focus-visible .demo {
  transform: rotate(0) translateY(0) scale(1.025);
}
.project-trigger:hover .project-open {
  background: var(--accent);
  color: white;
  transform: rotate(45deg);
}
.project-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}
.project-info {
  padding: 23px 0 0;
}
.project-category {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.project-info h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
}
.project-summary {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-top: 14px;
  max-width: 500px;
}
.project-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.project-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.project-tags span,
.tag-list span {
  font-size: 10px;
  color: var(--muted);
}
.project-tags span + span:before {
  content: "·";
  padding-inline-end: 7px;
}
.project-read {
  font-size: 11px;
  white-space: nowrap;
  border-bottom: 1px solid var(--ink);
}
.work-note {
  margin-top: 38px;
  color: var(--muted);
  font-size: 12px;
}
.services-section {
  background: #eee6de;
  border-block: 1px solid var(--line);
}
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12%;
}
.services-intro {
  align-self: start;
  position: sticky;
  top: 130px;
}
.services-intro h2 {
  margin: 24px 0;
}
.services-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  max-width: 360px;
}
.services-intro .text-link {
  margin-top: 24px;
}
details {
  border-bottom: 1px solid #d3c3b8;
}
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  gap: 17px;
  align-items: center;
  min-height: 88px;
  padding: 22px 0;
}
summary::-webkit-details-marker {
  display: none;
}
summary h3 {
  font-size: 24px;
  font-weight: 500;
  flex: 1;
}
.service-number,
.step-number {
  font-size: 11px;
  color: var(--muted);
  width: 25px;
  flex-shrink: 0;
}
.service-icon {
  color: var(--accent);
}
.toggle-icon {
  width: 18px;
  height: 18px;
  margin-inline-start: auto;
  transition: transform 0.35s;
}
.is-expanded > summary .toggle-icon {
  transform: rotate(45deg);
}
.accordion-content {
  overflow: hidden;
}
.accordion-content > div {
  padding: 0 0 28px 60px;
}
.accordion-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}
.accordion-content .text-link {
  font-size: 12px;
  margin-top: 12px;
}
.service[open] summary h3 {
  color: var(--accent);
}
.about-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 12%;
  align-items: start;
}
.identity-card {
  margin-top: 26px;
  background: var(--accent);
  color: var(--paper);
  padding: 32px;
  aspect-ratio: 1.05;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(-3deg);
  position: relative;
  box-shadow: 12px 14px 0 #e6d8ce;
  transition: transform 0.6s var(--ease);
}
.identity-card:hover {
  transform: rotate(0deg);
}
.identity-label {
  font-size: 11px;
  letter-spacing: 0.04em;
  max-width: 200px;
}
.name-signature {
  font-family: Georgia, serif;
  font-size: clamp(60px, 7vw, 100px);
  line-height: 0.87;
  letter-spacing: -0.08em;
  font-style: italic;
}
.name-signature > span {
  color: #e9b69c;
}
.identity-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  font-size: 11px;
}
.identity-monogram {
  width: 45px;
  height: 45px;
  border: 1px solid #c28392;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 17px;
}
.about-copy h2 {
  margin-bottom: 28px;
}
.about-copy > .multiline {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
.about-principles {
  margin-top: 30px;
}
.about-principles > div {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.about-principles > div > span {
  font-size: 10px;
  color: var(--accent);
}
.toolbox {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.toolbox > span {
  font-size: 11px;
  color: var(--muted);
}
.toolbox > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.toolbox > div > span {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 11px;
}
.approach-section {
  background: #f0e9e1;
  border-top: 1px solid var(--line);
}
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.process-step {
  border-block-start: 2px solid var(--line);
  border-bottom: 0;
}
.process-step[open] {
  border-block-start-color: var(--accent);
}
.process-step summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  gap: 14px;
  padding: 22px 0;
  min-height: 132px;
}
.process-step .step-number {
  grid-column: 1/-1;
}
.process-step summary h3 {
  font-size: 22px;
}
.process-step .accordion-content > div {
  padding: 0 0 15px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 12%;
  margin-top: 90px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
}
.faq-layout > h3 {
  font-size: 34px;
  font-weight: 500;
}
.faq-item summary {
  font-size: 16px;
  min-height: 80px;
}
.faq-item .accordion-content > div {
  padding-inline-start: 0;
}
.contact-section {
  background: #ead8cd;
  border-top: 1px solid #ddc5b6;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10%;
  margin-top: 34px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.03;
  color: #51242e;
}
.contact-copy > p {
  color: #6a514b;
  font-size: 17px;
  line-height: 1.8;
  margin-top: 25px;
  max-width: 450px;
}
.contact-copy > .text-link {
  margin-top: 28px;
}
.social-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.social-links a {
  display: flex;
  gap: 7px;
  font-size: 12px;
  align-items: center;
  min-height: 44px;
}
.social-links .icon {
  width: 14px;
  height: 14px;
}
.brief-card {
  padding: 30px;
  background: var(--white);
  box-shadow: 0 12px 35px #56322e0a;
  border: 1px solid #dfcbbf;
  border-radius: 4px;
}
.brief-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent);
}
.brief-top > span:last-child {
  font-size: 25px;
}
.brief-card h3 {
  font-size: 26px;
  font-weight: 500;
  margin: 16px 0 24px;
}
.brief-card fieldset {
  padding: 0;
  border: 0;
  margin: 0 0 20px;
}
.brief-card legend,
.goal-label {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}
.brief-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.brief-options label {
  position: relative;
  cursor: pointer;
}
.brief-options input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.brief-options span {
  display: block;
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 30px;
  font-size: 12px;
  transition:
    background 0.25s,
    color 0.25s;
}
.brief-options input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.brief-options input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
textarea {
  resize: vertical;
  min-height: 100px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  font-size: 16px;
  color: var(--ink);
  line-height: 1.6;
}
.brief-card > .button {
  margin-top: 17px;
  width: 100%;
}
.brief-privacy {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.brief-result {
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-top: 20px;
  animation: demo-in 0.5s var(--ease);
}
.brief-result > label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
}
.brief-result-actions {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.brief-result [role="status"] {
  font-size: 12px;
  color: var(--accent);
  margin-top: 8px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 35px;
  font-size: 11px;
}
.site-footer > p {
  color: var(--muted);
}
.site-footer > div {
  display: flex;
  gap: 15px;
  align-items: center;
}
.text-button {
  background: none;
  padding: 10px 0;
  font-size: 11px;
  min-height: 44px;
}
.workspace-link {
  font-size: 11px;
}
.back-top {
  font-size: 20px;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
}
.load-status {
  color: var(--accent);
  font-size: 14px;
}
.mobile-dock {
  display: none;
}
.case-dialog {
  width: min(920px, calc(100% - 48px));
  max-height: 90dvh;
  max-height: min(90dvh, 1100px);
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  overscroll-behavior: contain;
  box-shadow: 0 30px 100px #2d171533;
}
.case-dialog::backdrop {
  background: #251a17a6;
  backdrop-filter: blur(7px);
}
.dialog-topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 28px;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: 50%;
}
.case-body {
  padding: 38px;
}
.case-body h2 {
  font-size: clamp(32px, 5vw, 54px);
  margin: 18px 0;
}
.case-body > p:not(.eyebrow):not(.preview-disclaimer) {
  font-size: 17px;
  color: var(--muted);
  max-width: 670px;
}
.case-preview {
  margin-top: 30px;
  background: #e6d6ca;
  padding: 35px 10%;
  border-radius: 4px;
  overflow: hidden;
}
.case-preview > .demo {
  width: 100%;
  box-shadow: 0 10px 25px #43201914;
}
.case-preview > img {
  width: 100%;
}
.case-details {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-details h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent);
}
.case-details p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.case-body .tag-list {
  margin-top: 28px;
}
.case-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.reveal {
  opacity: 1;
  transform: none;
}
.can-reveal .reveal.waiting {
  opacity: 0;
  transform: translateY(45px);
}
.can-reveal .reveal {
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}
.project.reveal:nth-child(even) {
  transition-delay: 0.12s;
}
@keyframes headline-in {
  from {
    transform: translateY(115%) rotate(3deg);
  }
  to {
    transform: translateY(0) rotate(0);
  }
}
@keyframes studio-in {
  from {
    opacity: 0;
    transform: translateY(60px) rotate(7deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(2deg);
  }
}
@keyframes demo-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes scroll-cue {
  0%,
  100% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(4px);
  }
}
@keyframes chart-draw {
  from {
    stroke-dashoffset: 500;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes progress-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Illustrative product interfaces. */
.demo {
  font-family: Arial, sans-serif;
  direction: ltr;
  color: #332923;
  background: #fffaf5;
  font-size: 8px;
  line-height: 1.5;
  min-width: 0;
}
.booking-demo {
  display: flex;
  min-height: 310px;
}
.demo-sidebar {
  width: 98px;
  background: #fffaf5;
  border-inline-end: 1px solid #eee3d8;
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  gap: 9px;
}
.demo-sidebar > b {
  font-size: 23px;
  letter-spacing: -0.09em;
  margin-bottom: 18px;
  font-weight: 650;
  color: #332923;
}
.demo-sidebar > b > span {
  color: #896c60;
}
.demo-nav {
  font-size: 7px;
  padding: 6px 8px;
  color: #b39184;
  border-radius: 4px;
  white-space: nowrap;
}
.demo-nav.active {
  background: #eee3d8;
  color: #8b263e;
}
.demo-sidebar-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top: 30px;
  font-size: 5px;
  color: #b39184;
  white-space: nowrap;
}
.initial-avatar {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #d8beb0;
  color: #896c60;
  font-size: 6px;
}
.demo-main {
  padding: 24px 22px 18px;
  flex: 1;
  min-width: 0;
}
.demo-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 5px;
  letter-spacing: 0.11em;
  color: #b39184;
}
.demo-greeting .icon {
  width: 12px;
  height: 12px;
  color: #b39184;
}
.demo h4 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.3;
  margin-top: 8px;
}
.demo-subtitle {
  font-size: 7px;
  color: #b39184;
  margin-top: 6px;
}
.demo-metric-row {
  display: flex;
  gap: 25px;
  margin-block: 25px 23px;
}
.demo-metric-row > div > span {
  display: block;
  font-size: 6px;
  color: #b39184;
}
.demo-metric-row strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.04em;
  font-weight: 450;
  margin-top: 3px;
  color: #8b263e;
}
.demo-metric-row strong > small {
  font-size: 6px;
  color: #b39184;
  letter-spacing: 0;
  font-weight: 400;
  margin-inline-start: 5px;
}
.demo-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee3d8;
  padding-bottom: 9px;
  gap: 5px;
}
.demo-section-title strong {
  font-size: 7px;
  font-weight: 500;
  color: #8b263e;
}
.demo-section-title > span {
  font-size: 5px;
  color: #b39184;
}
.appointment {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-block: 10px;
  border-bottom: 1px solid #eee3d8;
}
.appointment-time {
  font-size: 6px;
  color: #b39184;
}
.person-dot {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 7px;
}
.person-dot.lilac {
  background: #eee3d8;
  color: #b39184;
}
.person-dot.blue {
  background: #eee3d8;
  color: #b39184;
}
.person-dot.mint {
  background: #eee3d8;
  color: #896c60;
}
.appointment b {
  font-size: 6px;
  font-weight: 500;
  display: block;
}
.appointment small {
  display: block;
  font-size: 5px;
  color: #b39184;
  margin-top: 2px;
}
.demo-badge {
  font-size: 5px;
  background: #eee3d8;
  color: #896c60;
  padding: 3px 5px;
  border-radius: 3px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.appointment > .demo-badge {
  margin-inline-start: auto;
}
.appointment.current > .demo-badge {
  background: #eee3d8;
  color: #b39184;
}
.demo-bottom-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  color: #b39184;
  font-size: 5px;
}
.demo-bottom-note .icon {
  width: 9px;
  height: 9px;
  color: #b39184;
}
.hero-demo .booking-demo {
  min-height: 340px;
}
.hero-demo .demo-main {
  padding: 25px 24px 22px;
}
.hero-demo .demo-sidebar {
  width: 105px;
}
.hero-demo .demo h4 {
  font-size: 21px;
}
.hero-demo .appointment {
  padding-block: 12px;
}
.monitor-demo {
  padding: 22px 27px;
  background: #fffaf5;
  min-height: 310px;
}
.monitor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.monitor-header > strong {
  font-size: 21px;
  letter-spacing: -0.08em;
  color: #8b263e;
  font-weight: 550;
}
.monitor-header > strong > span {
  color: #896c60;
}
.demo-badge i {
  width: 3px;
  height: 3px;
  background: #896c60;
  border-radius: 50%;
}
.monitor-demo h4 {
  font-size: 17px;
  max-width: 250px;
}
.monitor-metrics {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-block: 22px 10px;
}
.monitor-metrics > div > span {
  display: block;
  font-size: 6px;
  color: #896c60;
}
.monitor-metrics strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.055em;
  line-height: 1.4;
  font-weight: 450;
  color: #8b263e;
}
.monitor-metrics small {
  font-size: 8px;
  margin-inline-start: 4px;
  font-weight: 400;
  color: #b39184;
}
.monitor-healthy {
  margin-inline-start: auto;
  width: 35px;
  height: 35px;
  border: 1px solid #d8beb0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #896c60;
}
.monitor-healthy .icon {
  width: 17px;
  height: 17px;
}
.monitor-chart {
  width: 100%;
  height: 69px;
  margin-block: 12px;
}
.service-monitor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 6px;
  border-top: 1px solid #eee3d8;
  padding-block: 9px;
  color: #b39184;
}
.service-monitor > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #896c60;
}
.service-monitor i {
  display: block;
  width: 4px;
  height: 4px;
  background: #b39184;
  border-radius: 50%;
}
.service-monitor b {
  font-weight: 400;
  color: #896c60;
}
.uptime-history {
  display: flex;
  gap: 3px;
  height: 15px;
  margin-top: 10px;
}
.uptime-history i {
  flex: 1;
  border-radius: 1px;
  background: #b39184;
}
.uptime-history i:nth-child(21) {
  background: #b39184;
}
.history-label {
  display: flex;
  justify-content: space-between;
  font-size: 5px;
  color: #b39184;
  margin-top: 5px;
}
.commerce-demo {
  background: #fffaf5;
  min-height: 285px;
}
.commerce-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 24px;
  border-bottom: 1px solid #eee3d8;
}
.commerce-header b {
  font-size: 18px;
  letter-spacing: -0.07em;
  font-weight: 500;
  color: #8b263e;
}
.commerce-header b > span {
  color: #896c60;
}
.commerce-header > span {
  font-size: 5px;
  color: #b39184;
}
.commerce-header > .icon {
  width: 12px;
  height: 12px;
  color: #b39184;
}
.commerce-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 245px;
}
.product-illustration {
  background: #eee3d8;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.product-illustration > svg {
  height: 200px;
  width: 100%;
}
.product-illustration > span {
  font-size: 5px;
  letter-spacing: 0.12em;
  color: #b39184;
  margin-bottom: 12px;
}
.product-copy {
  padding: 24px 20px;
}
.product-copy > span {
  font-size: 5px;
  color: #b39184;
}
.product-copy h4 {
  font-size: 24px;
  line-height: 1.05;
  margin-top: 12px;
  letter-spacing: -0.06em;
  color: #8b263e;
}
.product-copy > p {
  font-size: 7px;
  color: #b39184;
  margin-top: 10px;
}
.product-colors {
  display: flex;
  gap: 6px;
  margin-top: 15px;
}
.product-colors i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #896c60;
  outline: 1px solid #b39184;
  outline-offset: 2px;
}
.product-colors i:nth-child(2) {
  background: #b39184;
  outline: 0;
}
.product-colors i:nth-child(3) {
  background: #8b263e;
  outline: 0;
}
.product-copy > b {
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-block: 20px 11px;
  color: #8b263e;
}
.product-copy > b > small {
  font-size: 5px;
  color: #b39184;
}
.demo-add {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #8b263e;
  color: #fffaf5;
  padding: 8px 10px;
  font-size: 6px;
  border-radius: 2px;
}
.demo-add .icon {
  width: 10px;
  height: 10px;
}
.automation-demo {
  padding: 27px;
  min-height: 280px;
  background: #fffaf5;
}
.automation-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}
.automation-logo {
  width: 29px;
  height: 29px;
  border-radius: 6px;
  background: #eee3d8;
  color: #896c60;
  display: grid;
  place-items: center;
}
.automation-logo .icon {
  width: 16px;
  height: 16px;
}
.automation-heading b {
  font-size: 10px;
  font-weight: 500;
  color: #8b263e;
}
.automation-heading p {
  font-size: 6px;
  color: #b39184;
  margin-top: 3px;
}
.automation-heading > .demo-badge {
  margin-inline-start: auto;
  background: #fffaf5;
  color: #b39184;
}
.automation-files {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-block: 37px 30px;
}
.automation-files > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.file-glyph {
  width: 35px;
  height: 44px;
  border: 1px solid #eee3d8;
  background: #eee3d8;
  display: grid;
  place-items: center;
  font-size: 6px;
  color: #b39184;
  border-radius: 4px;
}
.file-glyph.converted {
  background: #eee3d8;
  border-color: #d8beb0;
  color: #b39184;
}
.automation-files strong {
  font-size: 20px;
  font-weight: 400;
  color: #b39184;
  letter-spacing: -0.04em;
}
.automation-files small {
  font-size: 6px;
  color: #b39184;
}
.automation-files > .icon {
  width: 18px;
  height: 18px;
  color: #d8beb0;
  transform: rotate(45deg);
}
.optimisation-bar {
  height: 4px;
  border-radius: 4px;
  background: #eee3d8;
  overflow: hidden;
}
.optimisation-bar > span {
  display: block;
  width: 84%;
  height: 100%;
  background: #b39184;
}
.automation-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 6px;
  margin-top: 12px;
  color: #b39184;
}
.automation-footer > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.automation-footer .icon {
  width: 10px;
  height: 10px;
}
.automation-footer > b {
  font-weight: 400;
  color: #b39184;
}
.demo {
  direction: ltr;
  font-family: Arial, sans-serif;
  pointer-events: none;
}
.demo-main {
  min-width: 0;
}
.demo-stage .demo {
  border-radius: 0;
  box-shadow: none;
}
.demo-stage .booking-demo {
  min-height: 315px;
}
.demo-stage .demo-main {
  padding: 24px 18px;
}
.demo-stage .demo-sidebar {
  padding: 24px 16px;
}
.demo-stage .monitor-demo,
.demo-stage .automation-demo {
  padding: 25px;
}
.demo-stage .commerce-demo {
  padding: 20px;
}
.monitor-chart path:last-child {
  stroke-dasharray: 500;
  animation: chart-draw 1.8s var(--ease) both;
}
.optimisation-bar > span {
  transform-origin: left;
  animation: progress-fill 1.4s var(--ease) both;
}
.demo-stage .appointment {
  animation: demo-in 0.65s var(--ease) both;
}
.demo-stage .appointment:nth-of-type(2) {
  animation-delay: 0.1s;
}
.demo-stage .appointment:nth-of-type(3) {
  animation-delay: 0.2s;
}
.demo-stage .appointment:nth-of-type(4) {
  animation-delay: 0.3s;
}
[dir="rtl"] {
  font-family: Vazirmatn, Arial, sans-serif;
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3 {
  letter-spacing: -0.035em;
  line-height: 1.45;
}
[dir="rtl"] .hero-content h1 {
  font-size: clamp(43px, 5vw, 72px);
  font-weight: 650;
  line-height: 1.4;
}
[dir="rtl"] .headline-line:nth-child(2) > span {
  font-family: Vazirmatn, sans-serif;
  font-style: normal;
  letter-spacing: -0.035em;
}
[dir="rtl"] .eyebrow,
[dir="rtl"] .edition {
  letter-spacing: 0;
}
[dir="rtl"] .hero-description {
  line-height: 2;
}
[dir="rtl"] .accordion-content > div {
  padding-inline-start: 60px;
  padding-inline-end: 0;
}
[dir="rtl"] .process-step .accordion-content > div,
[dir="rtl"] .faq-item .accordion-content > div {
  padding-inline: 0;
}
[dir="rtl"] .expertise-strip > .container {
  font-family: Vazirmatn, sans-serif;
  font-style: normal;
  font-size: 21px;
}
[dir="rtl"] .hero-studio {
  transform: rotate(-2deg);
}
[dir="rtl"] .hero-studio .studio-caption h2 {
  font-size: 24px;
}
[dir="rtl"] .name-signature {
  direction: ltr;
  text-align: left;
}
[dir="rtl"] .reading-progress span {
  transform-origin: right;
}
@media (min-width: 1500px) {
  .hero-layout {
    padding-block: 70px 80px;
  }
  .hero-description {
    font-size: 18px;
  }
  .hero-content h1 {
    font-size: 100px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .header-inner {
    gap: 20px;
  }
  .main-nav {
    gap: 20px;
  }
  .wordmark > span:last-child {
    display: none;
  }
  .hero-layout {
    gap: 5%;
    padding-top: 40px;
  }
  .hero-content h1 {
    font-size: clamp(52px, 6.5vw, 76px);
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-note {
    margin-top: 24px;
  }
  .hero-studio {
    padding: 16px;
  }
  .demo-switch button {
    padding: 6px 10px;
  }
  .section {
    padding-block: 90px;
  }
  .services-layout,
  .about-section {
    gap: 8%;
  }
  .project-image {
    padding-inline: 18px;
  }
  .project-read {
    display: none;
  }
  .process-list {
    gap: 20px;
  }
  .process-step summary h3 {
    font-size: 19px;
  }
  .contact-grid {
    gap: 6%;
  }
  .brief-card {
    padding: 25px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .site-footer > p {
    order: 3;
    width: 100%;
  }
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 72px;
  }
  .wordmark > span:last-child {
    display: block;
  }
  .header-actions {
    gap: 10px;
  }
  .header-cta {
    display: none;
  }
  .menu-button {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    background: none;
  }
  .menu-button span {
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.3s;
  }
  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }
  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }
  .main-nav {
    position: absolute;
    inset: 72px 0 auto;
    background: var(--paper);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px #2923210a;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition:
      opacity 0.25s,
      transform 0.3s var(--ease),
      visibility 0.3s;
    pointer-events: none;
  }
  .menu-open .main-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .main-nav a {
    font-size: 22px;
    padding: 14px 0;
  }
  .nav-contact {
    display: block !important;
    color: var(--accent);
  }
  .hero {
    padding-top: 30px;
  }
  .hero-top .edition {
    display: none;
  }
  .hero-top .eyebrow {
    font-size: 10px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 32px 0 34px;
  }
  .hero-content h1 {
    font-size: clamp(57px, 10vw, 84px);
    letter-spacing: -0.065em;
    max-width: 700px;
  }
  .hero-description {
    font-size: 16px;
    max-width: 560px;
    margin-top: 23px;
  }
  .hero-actions {
    gap: 22px;
    margin-top: 25px;
  }
  .hero-note {
    margin-top: 20px;
  }
  .hero-studio {
    max-width: 560px;
    width: calc(100% - 12px);
    justify-self: center;
    transform: rotate(1deg);
    padding: 20px;
  }
  .demo-stage {
    aspect-ratio: 1.5;
  }
  .studio-caption h2 {
    font-size: 26px;
  }
  .demo-switch button {
    font-size: 12px;
    min-height: 44px;
    padding: 8px 14px;
  }
  .hero-bottom {
    padding: 23px 0;
    font-size: 10px;
  }
  .hero-index {
    display: none;
  }
  .expertise-strip {
    padding: 20px 0;
  }
  .expertise-strip > .container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    font-size: 20px;
  }
  .expertise-strip span:nth-child(4) {
    display: none;
  }
  .section {
    padding-block: 74px;
  }
  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 34px;
  }
  .section-heading > p {
    max-width: 520px;
  }
  .section-heading h2 {
    font-size: 44px;
  }
  .projects {
    gap: 42px 24px;
  }
  .project:nth-child(even) {
    padding-top: 40px;
  }
  .project-image {
    aspect-ratio: 1.05;
    padding: 40px 12px 16px;
  }
  .project-image .demo-sidebar {
    display: none;
  }
  .project-image .demo-main {
    padding: 15px;
  }
  .project-image .demo h4 {
    font-size: 16px;
  }
  .project-image .monitor-demo,
  .project-image .commerce-demo,
  .project-image .automation-demo {
    padding: 18px;
  }
  .project-info h3 {
    font-size: 23px;
  }
  .project-summary {
    font-size: 14px;
  }
  .project-tags span {
    font-size: 9px;
  }
  .services-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .services-intro {
    position: static;
  }
  .services-intro > p:not(.eyebrow) {
    max-width: 500px;
  }
  .services-intro h2 {
    font-size: 44px;
  }
  .about-section {
    grid-template-columns: 0.85fr 1fr;
    gap: 8%;
  }
  .identity-card {
    padding: 24px;
    min-height: 320px;
  }
  .name-signature {
    font-size: 65px;
  }
  .about-copy h2 {
    font-size: 36px;
  }
  .about-copy > .multiline {
    font-size: 15px;
  }
  .process-list {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .process-step summary h3 {
    font-size: 24px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 60px;
    padding-top: 35px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-copy h2 {
    font-size: 58px;
  }
  .contact-copy > p {
    max-width: 550px;
  }
  .brief-card {
    max-width: 600px;
    width: 100%;
  }
  .site-footer {
    padding-block: 30px 100px;
  }
  .site-footer > div {
    flex-wrap: wrap;
  }
  .mobile-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 35;
    gap: 10px;
    padding: 10px 20px calc(10px + env(safe-area-inset-bottom));
    background: #fffdf9f5;
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }
  .mobile-dock a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-radius: 3px;
    font-size: 13px;
    flex: 1;
  }
  .mobile-dock a:last-child {
    background: var(--accent);
    color: white;
    flex: 1.25;
  }
  body:has(dialog[open]) .mobile-dock,
  .menu-open .mobile-dock {
    visibility: hidden;
  }
  .case-dialog {
    width: calc(100% - 28px);
    max-height: 92dvh;
    margin: auto;
  }
  .case-body {
    padding: 24px;
  }
  .case-preview {
    padding: 25px;
  }
  .case-details {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .case-details p {
    font-size: 15px;
  }
  .case-body h2 {
    font-size: 38px;
  }
  .case-preview .demo-sidebar {
    display: none;
  }
  .case-actions > .button {
    width: 100%;
  }
  [dir="rtl"] .hero-content h1 {
    font-size: clamp(42px, 7.5vw, 62px);
  }
  [dir="rtl"] .expertise-strip > .container {
    font-size: 18px;
  }
}
@media (max-width: 540px) {
  .hero-content h1 {
    font-size: clamp(48px, 12vw, 66px);
  }
  .hero-layout {
    gap: 36px;
  }
  .hero-actions {
    gap: 10px 22px;
  }
  .hero-actions .button {
    min-height: 52px;
    font-size: 13px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
  .hero-note {
    font-size: 10px;
  }
  .hero-studio {
    padding: 15px;
  }
  .studio-top .eyebrow {
    font-size: 8px;
  }
  .demo-stage {
    aspect-ratio: 1.17;
  }
  .demo-stage .booking-demo {
    min-height: 0;
  }
  .demo-stage .demo-sidebar {
    display: none;
  }
  .demo-stage .demo-main {
    padding: 22px;
    width: 100%;
  }
  .demo-stage .demo h4 {
    font-size: 21px;
  }
  .demo-stage .monitor-demo,
  .demo-stage .automation-demo {
    padding: 21px;
  }
  .studio-caption h2 {
    font-size: 25px;
  }
  .demo-switch {
    gap: 5px;
  }
  .demo-switch button {
    padding: 7px 10px;
    font-size: 10px;
    flex: 1;
    min-height: 44px;
  }
  .studio-caption p {
    font-size: 11px;
  }
  .preview-disclaimer {
    font-size: 9px;
  }
  .hero-bottom > span:first-child {
    max-width: 160px;
  }
  .expertise-strip > .container {
    font-size: 18px;
    gap: 8px 13px;
  }
  .section {
    padding-block: 64px;
  }
  h2,
  .section-heading h2,
  .services-intro h2 {
    font-size: 39px;
  }
  .section-heading > p {
    font-size: 15px;
  }
  .projects {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project:nth-child(even) {
    padding-top: 0;
  }
  .project-image {
    aspect-ratio: 1.2;
    padding: 45px 22px 22px;
  }
  .project-image .demo-main {
    padding: 22px;
  }
  .project-image .demo h4 {
    font-size: 19px;
  }
  .project-info {
    padding-top: 19px;
  }
  .project-info h3 {
    font-size: 27px;
  }
  .project-summary {
    font-size: 15px;
  }
  .project-read {
    display: block;
  }
  .project-tags span {
    font-size: 9px;
  }
  .project-bottom {
    gap: 12px;
  }
  .service summary {
    gap: 12px;
  }
  .service summary h3 {
    font-size: 23px;
  }
  .service-icon {
    display: none;
  }
  .accordion-content > div {
    padding-inline-start: 37px;
  }
  .services-intro > p:not(.eyebrow) {
    font-size: 15px;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .identity-card {
    max-width: 380px;
    aspect-ratio: 1.25;
    min-height: 280px;
    margin-inline: auto;
    width: calc(100% - 12px);
    padding: 27px;
  }
  .name-signature {
    font-size: 80px;
  }
  .about-copy h2 {
    font-size: 39px;
  }
  .about-copy > .multiline {
    font-size: 16px;
  }
  .process-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process-step {
    border-top: 0;
    border-bottom: 1px solid var(--line);
    border-inline-start: 2px solid var(--line);
    padding-inline-start: 20px;
  }
  .process-step[open] {
    border-inline-start-color: var(--accent);
  }
  .process-step summary {
    min-height: 88px;
    grid-template-columns: 25px 1fr auto;
    gap: 12px;
  }
  .process-step .step-number {
    grid-column: auto;
  }
  .process-step summary h3 {
    font-size: 23px;
  }
  .process-step .accordion-content > div {
    padding-inline-start: 37px;
    padding-bottom: 25px;
  }
  .faq-layout > h3 {
    font-size: 32px;
  }
  .faq-item summary {
    font-size: 16px;
  }
  .contact-copy h2 {
    font-size: 50px;
  }
  .contact-copy > p {
    font-size: 16px;
  }
  .brief-card {
    padding: 24px 20px;
  }
  .brief-card h3 {
    font-size: 25px;
  }
  .brief-options span {
    font-size: 12px;
  }
  .brief-card > .button {
    font-size: 13px;
  }
  .site-footer {
    gap: 20px;
  }
  .site-footer > div {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .site-footer > p {
    font-size: 10px;
  }
  .case-dialog {
    width: 100%;
    max-height: 94dvh;
    margin: auto 0 0;
    border-radius: 15px 15px 0 0;
  }
  .dialog-topbar {
    padding: 10px 20px;
  }
  .case-body {
    padding: 24px 20px 35px;
  }
  .case-body h2 {
    font-size: 34px;
  }
  .case-body > p:not(.eyebrow):not(.preview-disclaimer) {
    font-size: 16px;
  }
  .case-preview {
    padding: 18px 12px;
  }
  .case-preview .demo-main {
    padding: 16px;
  }
  .case-preview .monitor-demo,
  .case-preview .automation-demo,
  .case-preview .commerce-demo {
    padding: 18px;
  }
  .case-preview .demo h4 {
    font-size: 19px;
  }
  [dir="rtl"] .accordion-content > div {
    padding-inline-start: 37px;
  }
  [dir="rtl"] .faq-item .accordion-content > div {
    padding-inline-start: 0;
  }
  [dir="rtl"] .hero-content h1 {
    font-size: clamp(38px, 10vw, 51px);
  }
  [dir="rtl"] .contact-copy h2 {
    font-size: 43px;
  }
}
@media (max-width: 360px) {
  .container {
    width: calc(100% - 32px);
  }
  .wordmark {
    font-size: 11px;
    gap: 10px;
  }
  .brand-mark {
    font-size: 32px;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-actions .text-link {
    align-self: start;
  }
  .hero-studio {
    padding: 12px;
    width: 100%;
  }
  .demo-switch button {
    padding-inline: 7px;
  }
  .project-image {
    padding-inline: 15px;
  }
  .project-tags {
    max-width: 150px;
  }
  .hero-bottom {
    gap: 10px;
  }
  .brief-card {
    padding: 20px 16px;
  }
  .brief-options span {
    font-size: 11px;
  }
  .contact-copy h2 {
    font-size: 43px;
  }
}
html.motion-paused {
  scroll-behavior: auto;
}
.motion-paused *,
.motion-paused *:before,
.motion-paused *:after {
  animation: none !important;
  transition: none !important;
}
.motion-paused .reveal.waiting {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .can-reveal .reveal.waiting {
    opacity: 1;
    transform: none;
  }
}

.studio-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.studio-foot .preview-disclaimer {
  margin: 0;
}
.studio-foot .text-button {
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}
.brand-mark {
  direction: ltr;
  unicode-bidi: isolate;
}
.demo-stage .demo-metric-row strong {
  color: var(--accent);
}

/* Keep every demo's header visible at narrow widths. */
.demo-stage {
  aspect-ratio: auto;
  height: 350px;
}
.project-image {
  min-height: 390px;
}
@media (max-width: 540px) {
  .demo-stage {
    height: 350px;
    aspect-ratio: auto;
  }
  .project-image {
    min-height: 375px;
    align-items: flex-start;
  }
}
.text-button:disabled {
  cursor: default;
  color: var(--muted);
}
/* Grid items must shrink independently of the interface mockups. */
.project,
.project-trigger {
  min-width: 0;
}
.project-image {
  width: 100%;
  aspect-ratio: auto;
}
.about-section > *,
.contact-grid > *,
.services-layout > * {
  min-width: 0;
}
@media (max-width: 540px) {
  .identity-card {
    aspect-ratio: auto;
  }
  .name-signature {
    font-size: clamp(62px, 20vw, 80px);
  }
}

.case-dialog {
  max-width: none;
}
