Files
2026-11-13 12:08:12 +03:00

121 lines
7.1 KiB
CSS

/* Arabic uses the shared scale with natural spacing for connected letters. */
:root {
--font-arabic: var(--font-tajawal), Tahoma, Arial, sans-serif;
--font-display-ar: var(--font-arabic);
}
html[lang="ar"] { min-width: 0; }
html[lang="ar"] body,
:is(.site-shell, .mobile-nav-overlay, .sheet-viewer)[lang="ar"] {
font-family: var(--font-arabic);
font-size: 1rem;
line-height: 1.8;
}
.site-shell[lang="ar"] {
--type-display: clamp(1.875rem, 1.5rem + 1.5vw, 2.875rem);
}
:is(.site-shell, .mobile-nav-overlay, .sheet-viewer)[lang="ar"] :is(h1, h2, h3, h4, h5, h6, p, span, small, strong, a, li, dt, dd, button, summary, blockquote) {
letter-spacing: normal;
text-transform: none;
}
.site-shell[lang="ar"] :is(h1, h2, h3, h4, h5, h6),
.sheet-viewer[lang="ar"] h2 {
font-weight: 700;
line-height: 1.4;
}
.site-shell[lang="ar"] .site-header-title {
font-size: 1.125rem;
font-weight: 700;
line-height: 1.6;
}
.site-shell[lang="ar"] .site-header-subtitle { font-size: .8125rem; line-height: 1.6; font-weight: 400; }
.site-shell[lang="ar"] .site-header-nav-link { font-size: .9375rem; font-weight: 500; }
.site-header-language-label:lang(ar) { font-family: var(--font-arabic); font-size: .9375rem; }
.site-shell[lang="ar"] .gallery-hero h1 {
font-size: var(--type-display);
line-height: 1.4;
margin-block: 20px 16px;
text-wrap: balance;
}
.site-shell[lang="ar"] .gallery-hero-description { font-size: 1rem; line-height: 1.8; max-width: 52ch; }
.site-shell[lang="ar"] .gallery-eyebrow { font-size: .875rem; line-height: 1.7; }
.site-shell[lang="ar"] :is(.gallery-primary-link, .gallery-download, .studio-contact-cta) { font-size: .9375rem; font-weight: 500; line-height: 1.6; }
.site-shell[lang="ar"] .gallery-hero-footnote p { font-size: .9375rem; line-height: 1.8; }
.site-shell[lang="ar"] .gallery-discipline-strip { font-size: .9375rem; font-weight: 500; }
.site-shell[lang="ar"] :is(.section-title, .type-section-title) {
font-size: var(--type-section);
line-height: 1.4;
text-wrap: balance;
}
.site-shell[lang="ar"] :is(.section-label, .type-label-wide, .eyebrow-note, .section-kicker) { font-size: .875rem; font-weight: 500; line-height: 1.7; }
.site-shell[lang="ar"] :is(.section-description, .type-body-responsive, .type-body-editorial, .type-body) { font-size: 1rem; line-height: 1.8; }
.site-shell[lang="ar"] .gallery-work-heading h3 { font-size: var(--type-card); line-height: 1.5; }
.site-shell[lang="ar"] .gallery-work-heading p { font-size: .875rem; line-height: 1.8; }
.site-shell[lang="ar"] .gallery-work-category { font-size: .875rem; line-height: 1.7; }
.site-shell[lang="ar"] .gallery-work-description { font-size: 1rem; line-height: 1.8; }
.site-shell[lang="ar"] .gallery-work .project-sheet-link { font-size: .9375rem; }
.site-shell[lang="ar"] .gallery-work-details summary { font-size: .9375rem; line-height: 1.8; }
.site-shell[lang="ar"] .gallery-work-details-content { font-size: .9375rem; line-height: 1.8; }
.site-shell[lang="ar"] .gallery-work-details dt { font-size: .875rem; font-weight: 500; }
.site-shell[lang="ar"] .about-copy-column { font-size: 1rem; line-height: 1.8; }
.site-shell[lang="ar"] .about-lead { font-size: 1.25rem; font-weight: 500; line-height: 1.7; }
.site-shell[lang="ar"] .philosophy-quote { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 500; line-height: 1.65; }
.site-shell[lang="ar"] .philosophy-copy > p:nth-child(2) { font-size: 1rem; line-height: 1.8; }
.site-shell[lang="ar"] .philosophy-section .tag-list li { font-size: 1rem; line-height: 1.8; }
.site-shell[lang="ar"] .service-item h3 { font-size: 1.125rem; }
.site-shell[lang="ar"] .award-copy h3 { font-size: var(--type-card); }
.site-shell[lang="ar"] .award-copy p { font-size: 1rem; line-height: 1.8; }
.site-shell[lang="ar"] :is(.type-chip, .skill-list li, .software-list li) { font-size: .9375rem; line-height: 1.8; }
.site-shell[lang="ar"] .metric-value { font-family: var(--font-arabic); font-size: var(--type-metric); font-weight: 500; line-height: 1.4; }
.site-shell[lang="ar"] .metric-label { font-size: .9375rem; font-weight: 500; line-height: 1.8; }
.site-shell[lang="ar"] :is(.resume-action, .resume-link strong) { font-size: 1rem; line-height: 1.75; }
.site-shell[lang="ar"] .resume-link small { font-size: .875rem; line-height: 1.7; }
.site-shell[lang="ar"] .resume-cta-copy h2 { font-size: var(--type-section); }
.site-shell[lang="ar"] .contact-section .contact-intro h2 { font-size: var(--type-section); line-height: 1.4; }
.site-shell[lang="ar"] .contact-item small { font-size: .875rem; line-height: 1.7; }
.site-shell[lang="ar"] .contact-item strong { font-size: 1rem; line-height: 1.8; }
.site-shell[lang="ar"] .footer-title { font-size: 1.25rem; line-height: 1.6; }
.site-shell[lang="ar"] :is(.footer-copy, .footer-contact-link, .footer-social-link) { font-size: .9375rem; line-height: 1.8; }
.site-shell[lang="ar"] .footer-selected { font-size: .875rem; }
.site-shell[lang="ar"] .back-to-top span { font-size: .75rem; line-height: 1.5; }
.site-shell[lang="ar"] .resume-hero__title { font-size: var(--type-display); line-height: 1.4; max-width: none; }
.site-shell[lang="ar"] .resume-hero__role { font-size: 1rem; font-weight: 500; }
.site-shell[lang="ar"] .resume-timeline__role { font-size: var(--type-card); line-height: 1.5; }
.site-shell[lang="ar"] .resume-timeline__period { font-size: .9375rem; }
.mobile-nav-overlay[lang="ar"] .mobile-nav-link { font-size: 1.125rem; line-height: 1.6; font-weight: 500; }
.mobile-nav-overlay[lang="ar"] .mobile-nav-brand { line-height: 1.6; }
.sheet-viewer[lang="ar"] :is(.sheet-viewer-controls button, .sheet-viewer-controls a, .sheet-viewer-pagination) { font-size: .9375rem; line-height: 1.7; }
.sheet-viewer[lang="ar"] .section-label { font-size: .875rem; line-height: 1.7; }
@media (max-width: 767px) {
.site-shell[lang="ar"] .gallery-hero h1 { font-size: clamp(1.625rem, 1.25rem + 2vw, 1.875rem); }
.site-shell[lang="ar"] .gallery-feature-caption { font-size: .9375rem; }
.site-shell[lang="ar"] .site-header { height: auto; min-height: var(--header-height); }
.site-shell[lang="ar"] .site-header-inner { min-height: var(--header-height); padding-block: 8px; flex-wrap: wrap; row-gap: 8px; }
.site-shell[lang="ar"] .site-header-brand { min-width: min-content; }
.site-shell[lang="ar"] .site-header-title { font-size: 1.125rem; white-space: normal; overflow: visible; text-overflow: clip; }
.site-shell[lang="ar"] .site-header-mobile-actions { margin-inline-start: auto; }
.site-shell[lang="ar"] .site-header-mobile-actions .site-header-control { height: 44px; }
.site-shell[lang="ar"] .gallery-hero-actions { gap: 16px; }
.site-shell[lang="ar"] :is(.gallery-primary-link, .gallery-download) { font-size: .875rem; }
.site-shell[lang="ar"] .gallery-discipline-strip { font-size: .9375rem; }
.site-shell[lang="ar"] .gallery-work-heading { gap: 12px; }
.site-shell[lang="ar"] .philosophy-section .tag-list { grid-template-columns: 1fr; }
}
@media (max-width: 359px) {
.site-shell[lang="ar"] .site-header-brand { gap: 6px; }
.site-shell[lang="ar"] .site-header-logo { width: 32px; height: 32px; }
.site-shell[lang="ar"] .site-header-inner { gap: 8px; }
.site-shell[lang="ar"] .site-header-title { font-size: 1rem; }
}