@font-face {
  font-family: Vazirmatn;
  src: url(media/vazirmatn.woff2) format('woff2');
  font-display: swap;
  font-weight: 100 900;
}
:root {
  --paper: #faf9f6;
  --ink: #23201d;
  --muted: #5e5750;
  --line: #ded9d1;
  --accent: #a8432b;
  --shell: min(100% - 64px, 1160px);
  color-scheme: light;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    400 16px/1.8 Vazirmatn,
    system-ui,
    sans-serif;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #a8432b;
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  inset: 8px 12px auto auto;
  z-index: 5;
  background: white;
  padding: 8px 18px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.wrap {
  width: var(--shell);
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #faf9f6ef;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  min-height: 44px;
  font:
    850 25px/1 system-ui,
    sans-serif;
  letter-spacing: -0.07em;
}
#site-nav {
  display: flex;
  gap: clamp(15px, 3vw, 38px);
  align-items: center;
  font-size: 14px;
  font-weight: 560;
  color: var(--muted);
}
#site-nav a {
  display: grid;
  place-items: center;
  min-height: 44px;
  transition: color 180ms;
}
#site-nav a:hover,
#site-nav [aria-current] {
  color: var(--accent);
}
.header-inner > .button {
  justify-self: end;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 680;
  white-space: nowrap;
  transition:
    background 180ms,
    transform 180ms;
}
.button span,
.text-link span {
  display: inline-block;
  transition: transform 180ms;
}
.button:hover span,
.text-link:hover span {
  transform: translate(-2px, -2px);
}
.button:active {
  transform: translateY(2px);
}
.button-small {
  min-height: 42px;
  font-size: 14px;
  padding-inline: 13px;
}
.button-outline {
  border-color: #bcb4a9;
  background: #fffcf7;
}
.button-outline:hover {
  background: #f3eae0;
}
.button-primary {
  background: #29241f;
  color: #fff;
}
.button-primary:hover {
  background: #4a372c;
}
.button:disabled {
  opacity: 0.72;
  cursor: wait;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  width: fit-content;
  font-weight: 680;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero {
  overflow: hidden;
  padding: clamp(46px, 5vw, 72px) 0 0;
}
.hero-copy {
  text-align: center;
  display: grid;
  justify-items: center;
}
.product-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 720;
}
.product-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c4543a;
}
h1 {
  font-size: clamp(43px, 6vw, 82px);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -0.035em;
  margin-block: 16px 19px;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--accent);
}
.lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.8;
  text-wrap: pretty;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 24px;
}
.showcase {
  position: relative;
  margin-top: clamp(31px, 3.6vw, 48px);
  border-radius: 24px;
  padding: clamp(16px, 3vw, 42px) clamp(12px, 7vw, 100px) 0;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 17% 15%, #ffe8c8 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, #fff3d9 0%, transparent 45%),
    linear-gradient(135deg, #e5a593, #edb799 60%, #d68f72);
  overflow: hidden;
}
.showcase::before,
.module-art::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(#6a442736 1px, transparent 1px);
  background-size: 15px 15px;
}
.workspace {
  margin: auto;
  background: #fdfcf9;
  border: 1px solid #fff8ed;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  box-shadow: 0 17px 63px #70433038;
}
.workspace-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 7px 15px;
  border-bottom: 1px solid var(--line);
  background: #fbf8f3;
}
.workspace-name {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 750;
}
.panel-tabs {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 9px;
  background: #eee9e0;
}
.panel-tabs button {
  background: transparent;
  border: 0;
  border-radius: 7px;
  white-space: nowrap;
  min-height: 42px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 650;
}
.panel-tabs button:hover {
  background: #f8f3ec;
}
.panel-tabs [aria-selected='true'] {
  background: white;
  color: #8d3825;
  box-shadow: 0 1px 4px #3a29261e;
}
.window-controls {
  display: flex;
  gap: 5px;
  justify-self: end;
}
.window-controls i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b7a99c;
}
.panel-image {
  display: block;
  height: clamp(220px, 43vw, 540px);
  background: #f4f6f0;
  overflow: hidden;
}
.panel-view img {
  width: 100%;
  height: auto;
}
.workspace-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  background: #fbf8f3;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.workspace-caption span {
  color: var(--muted);
}

.section {
  margin-top: clamp(74px, 10vw, 140px);
}
h2 {
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 820;
  letter-spacing: -0.032em;
  line-height: 1.2;
}
.section-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 38px;
  align-items: end;
  margin-bottom: 35px;
}
.section-heading p,
.design-copy p,
.contact-copy p {
  max-width: 39ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
  text-wrap: pretty;
}
.module-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
}
.module {
  overflow: hidden;
  border-radius: 17px;
  background: #f3efe8;
}
.module-art {
  position: relative;
  isolation: isolate;
  min-height: 245px;
  padding: 26px;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 55% -10%, #fff3d8, #e9ad96 82%);
}
.catalog .module-art {
  background: radial-gradient(ellipse at 45% -20%, #fcf5e9, #dfc9b3 82%);
}
.art-card {
  width: min(100%, 320px);
  padding: 14px;
  border: 1px solid #fff8ef;
  background: #fffaf4;
  border-radius: 13px;
  box-shadow: 0 13px 26px #74584724;
  font-size: 13px;
}
.art-title {
  font-weight: 760;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.art-icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #f4d7c8;
  color: #8c3623;
}
.art-row,
.art-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 11px;
}
.art-row span,
.art-footer span:first-child {
  color: var(--muted);
}
.art-footer span:last-child {
  color: #8d3825;
  font-weight: 660;
}
.message-preview {
  margin-top: 9px;
  padding: 9px;
  background: #f4e9d9;
  border-radius: 7px;
}
.product-steps {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 5px;
}
.product-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: #f2ebe1;
  border-radius: 7px;
}
.product-steps li span {
  color: #8d3825;
}
.module-copy {
  padding: 20px 24px 25px;
}
.module-copy h3 {
  font-size: 22px;
  line-height: 1.4;
}
.module-copy p {
  color: var(--muted);
  margin-top: 5px;
}
.section-link {
  margin-top: 14px;
  color: var(--accent);
}
.design-case {
  background: #29241f;
  border-radius: 23px;
  color: #fff8ee;
  padding: clamp(26px, 5vw, 64px);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(22px, 5vw, 72px);
}
.design-copy h2 {
  font-size: clamp(30px, 4.6vw, 59px);
}
.design-copy p {
  color: #e2d3c6;
  margin-top: 16px;
}
.design-copy .text-link {
  color: #ffc7af;
  margin-top: 17px;
}
.design-copy :focus-visible {
  outline-color: #ffc7af;
}
.store-frame {
  background: white;
  color: #3a2c26;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 16px 38px #14100d60;
}
.store-bar {
  background: #f5eee6;
  display: flex;
  justify-content: space-between;
  padding: 7px 12px;
  font-size: 13px;
}
.store-frame img {
  width: 100%;
  height: auto;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(25px, 6vw, 85px);
  align-items: start;
  padding-block: 10px 38px;
}
.contact-copy p {
  margin-top: 18px;
}
.booking-form {
  background: #f0eae1;
  border: 1px solid #e4dbce;
  border-radius: 16px;
  padding: clamp(16px, 3vw, 32px);
  display: grid;
  gap: 12px;
}
.field {
  display: grid;
  gap: 4px;
}
.field label {
  font-size: 14px;
  font-weight: 700;
}
.field label span {
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 9px 11px;
  min-height: 47px;
  background: #fffefa;
  border: 1px solid #bcb3a7;
  border-radius: 8px;
}
.field textarea {
  resize: vertical;
}
.field [aria-invalid='true'] {
  border-color: var(--accent);
}
.error,
.form-status {
  font-size: 14px;
  color: #97331f;
}
.error:empty,
.form-status:empty {
  display: none;
}
.form-status[data-success] {
  color: #275b38;
}
.footer-inner {
  margin-top: 22px;
  min-height: 84px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-inner .text-link {
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 760px) {
  :root {
    --shell: min(100% - 36px, 650px);
  }
  html {
    scroll-padding-top: 120px;
  }
  .header-inner {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 0;
    padding-top: 8px;
  }
  #site-nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: center;
    gap: clamp(16px, 7vw, 42px);
  }
  .hero {
    padding-top: 39px;
  }
  .section-heading,
  .module-grid,
  .design-case,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .section-heading {
    margin-bottom: 23px;
  }
  .contact-layout {
    gap: 23px;
  }
  .section-heading p,
  .design-copy p,
  .contact-copy p {
    font-size: 16px;
  }
}
@media (max-width: 600px) {
  .showcase {
    padding: 10px 10px 0;
    border-radius: 14px;
  }
  .workspace {
    border-radius: 9px 9px 0 0;
  }
  .workspace-bar {
    display: flex;
    justify-content: center;
    padding: 5px;
  }
  .workspace-name,
  .window-controls {
    display: none;
  }
  .panel-tabs {
    width: 100%;
    justify-content: stretch;
  }
  .panel-tabs button {
    flex: 1;
    padding-inline: 6px;
  }
  .workspace-caption {
    display: grid;
    gap: 1px;
    padding: 12px;
    font-size: 13px;
  }
  .actions {
    gap: 16px;
  }
  .actions .button {
    padding-inline: 14px;
    gap: 9px;
  }
  .module-art {
    min-height: 210px;
    padding: 18px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .showcase {
    animation: enter 550ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .showcase {
    animation-delay: 100ms;
  }
  @keyframes enter {
    from {
      opacity: 0.35;
      transform: translateY(10px);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.work {
  margin-top: clamp(36px, 5vw, 74px);
}
.work h2,
.roadmap h2 {
  font-size: clamp(24px, 3vw, 38px);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.work-grid a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3px 12px;
  border: 1px solid var(--line);
  padding: 14px 17px;
  border-radius: 11px;
  transition: background 180ms;
}
.work-grid a:hover {
  background: #f3eae0;
}
.work-grid strong {
  font-size: 17px;
}
.work-grid span {
  grid-row: 2;
  color: var(--muted);
  font-size: 14px;
}
.work-grid b {
  grid-column: 2;
  grid-row: 1 / 3;
  color: var(--accent);
}
.roadmap {
  display: flex;
  align-items: baseline;
  gap: 18px 34px;
  flex-wrap: wrap;
  border-block: 1px solid var(--line);
  padding-block: 22px;
}
.roadmap p {
  color: var(--muted);
}
#admin .showcase {
  margin-top: 0;
}
@media (max-width: 760px) {
  .panel-image {
    height: auto;
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
