/* ZOWILU website — Editorial Product Atelier (brand v3 tokens) */
:root {
  --ink: #17181A;
  --paper: #FAF6EF;
  --red: #C23B2E;
  --mute: #6F6A63;
  --rule: #E4DDD0;
  --font-en: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Fraunces', 'Source Serif 4', 'Newsreader', 'Georgia', serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', 'Cairo', Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-en); background: var(--paper); color: var(--ink); line-height: 1.6; }
html[lang="ar"] body { font-family: var(--font-ar); }
.banner { background: var(--ink); color: #ffd966; text-align: center; padding: 7px 10px; font-size: 13px; }
header { display: flex; align-items: center; gap: 18px; padding: 14px 24px; border-bottom: 1px solid var(--rule); position: sticky; top: 0; background: var(--paper); z-index: 10; flex-wrap: wrap; }
.logo { height: 40px; width: auto; display: block; }
nav { display: flex; gap: 14px; flex-wrap: wrap; flex: 1; }
nav a { color: var(--mute); text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--ink); }
.lang { display: flex; gap: 6px; }
.lang button { background: transparent; color: var(--mute); border: 1px solid var(--rule); padding: 6px 12px; cursor: pointer; border-radius: 999px; font-family: inherit; }
.lang button.active { color: var(--ink); border-color: var(--red); background: rgba(194, 59, 46, 0.08); }
main { max-width: 1080px; margin: 0 auto; padding: 24px; }
section { margin: 44px 0; }
.hero { padding: 64px 0 32px; }
.kicker { color: var(--red); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; margin: 0 0 16px; }
h1 { font-family: var(--font-display); font-size: clamp(42px, 7vw, 88px); line-height: 1.05; margin: 0 0 22px; font-weight: 600; letter-spacing: -0.01em; }
html[lang="ar"] h1, html[lang="ar"] .work-card strong { font-family: var(--font-ar); }
.lede { font-size: clamp(17px, 2.2vw, 21px); max-width: 52ch; color: var(--ink); }
h2 { font-family: var(--font-display); font-size: clamp(26px, 4vw, 38px); margin: 0 0 18px; font-weight: 600; }
.card { background: #fff; border: 1px solid var(--rule); border-radius: 14px; padding: 22px; }
.card.muted { background: #fff; }
.card h3 { margin-top: 0; font-size: 19px; }
.note { color: var(--mute); font-size: 14px; border-left: 3px solid var(--red); padding-left: 12px; margin-bottom: 0; }
html[dir="rtl"] .note { border-left: none; border-right: 3px solid var(--red); padding-left: 0; padding-right: 12px; }
img { max-width: 100%; height: auto; }
.steps { columns: 2; padding-inline-start: 20px; }
.steps li { margin-bottom: 10px; break-inside: avoid; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 20px 0; }
.work-card { margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; }
.work-card img { width: 100%; height: auto; display: block; }
.work-card figcaption { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.badge { display: inline-block; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; width: fit-content; }
.btn { display: inline-block; background: var(--red); color: var(--paper); font-weight: 700; padding: 12px 22px; border-radius: 999px; text-decoration: none; }
.btn:hover { filter: brightness(1.05); }
.cta { margin-top: 22px; }
ul { padding-inline-start: 20px; }
ul li { margin-bottom: 8px; }
form { display: grid; gap: 10px; max-width: 480px; }
input, textarea { background: #fff; border: 1px solid var(--rule); color: var(--ink); padding: 12px; border-radius: 10px; font-family: inherit; }
button[type=submit] { background: var(--rule); color: var(--mute); padding: 12px; border: none; border-radius: 10px; cursor: not-allowed; }
details { margin-bottom: 12px; background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 12px 16px; }
summary { cursor: pointer; font-weight: 600; }
footer { text-align: center; color: #9aa4b8; padding: 28px; border-top: 1px solid var(--rule); background: var(--ink); }
footer span { margin-inline-start: 8px; font-size: 13px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
@media (max-width: 640px) {
  .steps { columns: 1; }
  header { gap: 10px; }
  nav { order: 3; width: 100%; }
  .hero { padding: 40px 0 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
