@font-face {
  font-family: "Plex Arabic";
  src: url("/arabic-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("/arabic-semibold.ttf") format("truetype");
  font-weight: 600 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #2b202e;
  --deep: #302233;
  --muted: #615763;
  --line: #d9d2d8;
  --paper: #faf9f5;
  --lime: #dcf28a;
  --lilac: #dfcce8;
  --wrap: 1256px;
}
* { box-sizing: border-box; }
::selection { color: #282131; background: #dcf28a; }
html { scroll-padding-block-start: 14px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 "Plex Arabic", Arial, sans-serif;
}
[hidden] { display: none !important; }
a, button, select { color: inherit; font: inherit; }
a { text-decoration: none; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #7e58a4; outline-offset: 4px; }
.hero :focus-visible, footer :focus-visible { outline-color: var(--lime); }
.wrap { width: min(var(--wrap), 90%); margin-inline: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; }
.skip { position: absolute; inset-block-start: -100px; padding: 12px; background: white; z-index: 5; }
.skip:focus { inset-block-start: 0; }
.site-head { background: var(--paper); }
.head-inner, .site-head nav, .head-actions, .brand, .hero-actions, .footer-inner, footer nav { display: flex; align-items: center; }
.head-inner { min-height: 72px; gap: clamp(24px, 5vw, 76px); }
.brand { gap: 9px; font-size: 21px; font-weight: 600; white-space: nowrap; }
.brand img { border-radius: 9px; }
.site-head nav, footer nav { gap: clamp(15px, 3vw, 42px); }
.site-head nav a, footer nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; font-weight: 600; }
.site-head nav a:hover, footer a:hover, .local-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.head-actions { margin-inline-start: auto; gap: 18px; }
#language { min-height: 40px; padding: 3px 13px; border: 1px solid #ccc3cc; background: transparent; border-radius: 24px; font-size: 13px; }
#language:hover { background: #eee8ef; }
.local-link { font-size: 14px; font-weight: 600; }
.hero { background: var(--deep); color: #fffaf6; }
.hero-layout { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; gap: clamp(28px, 5vw, 88px); padding-block: clamp(28px, 3.1vw, 46px); }
.hero-copy { padding-block: 12px; }
.hero h1 { margin-block: 0 23px; font-size: clamp(47px, 5.85vw, 85px); font-weight: 600; line-height: 1.24; }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--lilac); }
.hero-description { max-width: 40ch; color: #ecdfec; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.8; }
.hero-actions { flex-wrap: wrap; gap: 12px; margin-block-start: 32px; }
.action { display: inline-grid; place-items: center; min-height: 50px; padding: 5px 25px; border-radius: 8px; font-size: 16px; font-weight: 600; transition: background .15s ease; }
.primary { background: var(--lime); color: #243018; border: 1px solid var(--lime); }
.primary:hover { background: #ecffab; }
.secondary { border: 1px solid #867389; color: #fffaf6; }
.secondary:hover { background: #49384e; }
.lookbook { display: grid; grid-template-columns: minmax(0, 1fr) clamp(62px, 6vw, 90px); align-items: center; gap: clamp(9px, 1.25vw, 17px); }
.gallery-stage { position: relative; isolation: isolate; overflow: hidden; border-radius: 14px; background: #eae4e0; }
.gallery-photo { width: 100%; height: clamp(400px, 37.5vw, 548px); object-fit: cover; object-position: 50% 0; }
.gallery-stage[data-active="product"] { background: #f7f5f1; }
.gallery-stage[data-active="product"] .gallery-photo, .gallery-stage[data-active="studio"] .gallery-photo { object-fit: contain; object-position: center; }
.gallery-caption { position: absolute; inset-inline-start: 15px; inset-block-end: 14px; display: inline-flex; align-items: center; padding: 4px 12px; border: 1px solid #ffffff66; border-radius: 6px; background: #302532e8; color: #fff; font-size: 13px; font-weight: 600; }
.gallery-rail { display: grid; gap: clamp(16px, 2vw, 28px); }
.gallery-choice { display: grid; justify-items: center; gap: 4px; width: 100%; padding: 0; border: 0; background: transparent; color: #e3d9e5; font-size: 13px; line-height: 1.55; }
.gallery-choice img { width: 100%; max-width: 76px; height: auto; aspect-ratio: 1 / 1.12; object-fit: cover; object-position: center 14%; border-radius: 7px; outline: 1px solid #a68ca966; outline-offset: 2px; }
.gallery-choice[aria-pressed="true"] { color: var(--lime); font-weight: 600; }
.gallery-choice[aria-pressed="true"] img { outline: 2px solid var(--lime); outline-offset: 3px; }
.gallery-choice:hover img { outline-color: #fff; }
.studio { padding-block: clamp(60px, 7vw, 105px); background: #f0ebf2; }
.studio-layout { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: clamp(25px, 5vw, 82px); align-items: center; }
.studio-intro h2 { font-size: clamp(40px, 4.6vw, 72px); font-weight: 600; line-height: 1.21; text-wrap: balance; }
.studio-intro p { margin-block-start: 16px; max-width: 36ch; font-size: clamp(16px, 1.4vw, 20px); color: #5a4e5e; }
.studio-intro .local-link { display: inline-block; margin-block-start: 12px; text-decoration: underline; }
.workbench { min-width: 0; overflow: hidden; border: 1px solid #c9bdce; border-radius: 16px; background: #fffdfb;  }
.workbench-bar { display: flex; align-items: center; gap: 9px; padding: 11px 20px; border-block-end: 1px solid #dfd5df; background: #fcf9fc; font-size: 14px; }
.workbench-bar bdi { margin-inline-start: auto; color: #726776; font: 12px/1.5 ui-monospace, Menlo, monospace; }
.mini-mark { width: 12px; height: 12px; border: 2px solid #755482; border-radius: 3px; box-shadow: inset 2px -2px 0 #d6c3df; }
.workbench-body { display: grid; grid-template-columns: .87fr 1.13fr; }
.sample-product { min-width: 0; padding: 18px; border-inline-end: 1px solid #e3dae3; }
.sample-frame { overflow: hidden; border-radius: 8px; background: #efebe8; }
.sample-frame img { width: 100%; height: clamp(175px, 15.5vw, 230px); object-fit: contain; }
.product-caption { margin-block-start: 8px; font-size: 15px; }
.sample-controls { min-width: 0; padding: clamp(14px, 1.7vw, 26px); }
.tasks { display: flex; gap: 2px; padding: 3px; border: 1px solid #ddd4dd; border-radius: 8px; background: #f3edf2; }
.tasks button { flex: 1; min-height: 40px; padding: 2px 6px; border: 0; border-radius: 5px; background: transparent; color: #584b5b; font-size: 14px; }
.tasks button[aria-selected="true"] { background: var(--deep); color: #fff; font-weight: 600; }
.task-panel { min-height: 150px; margin-block-start: 20px; }
.task-panel h3 { font-size: clamp(18px, 1.45vw, 23px); line-height: 1.4; }
.task-panel p { margin-block-start: 7px; color: #5c515f; }
.category-line, .photo-choices, .price-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-block-start: 13px; }
.category-line { font-size: 13px; color: #625767; }
.category-line strong { padding: 2px 9px; border-radius: 5px; background: #ede6ef; color: #4f3b56; }
.photo-choices button { display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 3px 6px; border: 1px solid #cbbfce; border-radius: 6px; background: #fff; font-size: 13px; }
.photo-choices img { width: 29px; height: 34px; object-fit: cover; border-radius: 3px; }
.photo-choices button[aria-pressed="true"] { outline: 2px solid #715279; outline-offset: -1px; background: #f7f1f7; }
.task-panel label { font-size: 14px; }
#discount { margin-block-start: 10px; margin-inline-start: 9px; min-height: 36px; border: 1px solid #bbaebf; border-radius: 5px; background: #fff; }
.price-line { margin-block-start: 8px; }
.price-line strong { font-size: 22px; }
footer { background: var(--deep); color: #fbf8f5; }
.footer-inner { justify-content: space-between; gap: 12px; min-height: 88px; }
html[lang="en"] .hero h1, html[lang="en"] .studio-intro h2 { letter-spacing: -.04em; line-height: 1.02; }
html[lang="en"] .hero h1 span { text-wrap: balance; }
html[lang="en"] .hero-description { line-height: 1.55; }
@media (max-width: 1000px) {
  .hero-layout { gap: 28px; }
  .studio-layout { grid-template-columns: 1fr; }
  .studio-intro { max-width: 640px; }
  .studio-intro p { max-width: 54ch; }
  .workbench-body { grid-template-columns: .8fr 1.2fr; }
  .sample-frame img { height: 218px; }
}
@media (max-width: 740px) {
  .wrap { width: min(92%, 580px); }
  .head-inner { min-height: 60px; gap: 16px; }
  .brand { font-size: 18px; gap: 6px; }
  .brand img { width: 30px; height: 30px; }
  .site-head nav { gap: 14px; }
  .site-head nav a, footer nav a { font-size: 13px; }
  #language { min-height: 36px; padding-inline: 9px; font-size: 12px; }
  .head-actions { gap: 8px; }
  .hero-layout { grid-template-columns: 1fr; gap: 26px; padding-block: 26px 22px; }
  .hero-copy { padding-block: 0; }
  .hero h1 { margin-block: 0 11px; font-size: clamp(46px, 10.6vw, 66px); line-height: 1.18; }
  .hero-description { max-width: 44ch; font-size: 16px; line-height: 1.65; }
  .hero-actions { margin-block-start: 19px; gap: 9px; }
  .action { min-height: 44px; padding-inline: 18px; font-size: 14px; }
  .lookbook { grid-template-columns: minmax(0, 1fr) clamp(48px, 13vw, 68px); gap: 13px; }
  .gallery-photo { height: clamp(285px, 79vw, 410px); }
  .gallery-rail { gap: 14px; }
  .gallery-choice { font-size: 11px; }
  .gallery-caption { inset-inline-start: 9px; inset-block-end: 9px; font-size: 12px; }
  .studio { padding-block: 49px; }
  .studio-layout { gap: 21px; }
  .studio-intro h2 { font-size: clamp(34px, 8.5vw, 45px); }
  .studio-intro p { margin-block-start: 9px; }
  .workbench-bar { padding: 9px 14px; }
  .sample-product { padding: 12px; }
  .footer-inner { min-height: 74px; }
}
@media (max-width: 520px) {
  .workbench-body { grid-template-columns: 1fr; }
  .sample-product { display: flex; align-items: center; gap: 14px; border-inline-end: 0; border-block-end: 1px solid #e4dae3; }
  .sample-frame { flex: 0 0 96px; }
  .sample-frame img { height: 108px; }
  .product-caption { margin: 0; }
  .task-panel { min-height: 133px; margin-block-start: 14px; }
  .site-head .local-link { display: none; }
  .site-head .local-link:not([hidden]) { display: block; }
  .head-inner:has(.local-link:not([hidden])) nav a:first-child { display: none; }
}
@media (max-width: 375px) {
  .head-inner { gap: 9px; }
  .site-head nav { gap: 8px; }
  .head-inner .brand { font-size: 16px; }
  .head-inner .local-link { font-size: 12px; }
  .head-actions { gap: 4px; }
  .hero h1 { font-size: 43px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}


.examples { padding-block: clamp(48px, 6vw, 96px); background: #eee8e4; }
.examples-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 5px 32px; margin-block-end: clamp(20px, 2.8vw, 40px); }
.examples h2 { font-weight: 600; font-size: clamp(33px, 4.5vw, 64px); line-height: 1.24; text-wrap: balance; }
.examples-head p { font-size: 15px; color: var(--muted); }
.examples-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); }
.examples-grid img { width: 100%; height: auto; aspect-ratio: 1.78; object-fit: cover; border-radius: 12px; }
.examples-grid figcaption { margin-block-start: 9px; font-weight: 600; font-size: clamp(17px, 1.75vw, 24px); }
@media (max-width: 740px) {
  .site-head nav .gallery-link { display: none; }
  .examples-grid { grid-template-columns: 1fr; gap: 22px; }
}
