:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --ink: #252820;
  --muted: #66685e;
  --accent: #ad462f;
  --line: #d9d7cd;
  --font-ar: "Tajawal", sans-serif;
  --font-en: "Space Grotesk", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-ar); font-size: 17px; line-height: 1.8; }
html[lang="en"] body { font-family: var(--font-en); line-height: 1.7; }
::selection { background: #edbba4; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 2px; }
main:focus { outline: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.3; }
.container { width: min(1240px, 88%); margin-inline: auto; }
.section { padding-block: 110px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: .82rem; font-weight: 700; }
.section-index { color: var(--accent); font-family: var(--font-en); direction: ltr; }
.accent { color: var(--accent); }
.arrow { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; }
html[dir="rtl"] .arrow { transform: scaleX(-1); }
.skip-link { position: fixed; inset-block-start: -100px; inset-inline-start: 16px; padding: 12px 24px; background: var(--ink); color: white; z-index: 100; }
.skip-link:focus { inset-block-start: 16px; }
/* Keep decorative marks as vectors rather than platform-specific emoji. */
.art-spark svg, .hero-bottom svg, .discipline-strip svg, .about-note svg, .ai-symbol svg, .contact-flower svg, .footer-brand svg { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }
/* Navigation */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(245 242 235 / 96%); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; min-height: 94px; gap: 36px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { font-family: var(--font-en); font-size: 50px; line-height: 1; font-weight: 700; letter-spacing: -7px; padding-inline-end: 7px; direction: ltr; }
.brand-mark > span { color: var(--accent); }
.brand-text { font-family: var(--font-en); font-weight: 700; font-size: 17px; letter-spacing: .13em; line-height: 1.3; }
.brand-text > span { display: block; font-weight: 400; font-size: 11px; letter-spacing: .29em; }
.links { margin-inline-start: auto; display: flex; align-items: center; gap: 34px; font-size: .93rem; font-weight: 500; }
.links > a { padding-block: 12px; }
.links > a:hover, .text-link:hover, .back-top:hover { color: var(--accent); }
.nav-contact { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { min-width: 48px; min-height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 50%; font: 500 .84rem var(--font-en); }
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid var(--line); background: transparent; border-radius: 50%; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin-block: 5px; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
/* Hero / typographic studio poster */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 60px; padding-top: 70px; }
.hero-copy { padding-block: 24px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
h1 { font-size: clamp(3.5rem, 6.7vw, 6.2rem); letter-spacing: -.045em; margin-block: 27px 24px; font-weight: 800; line-height: 1.18; }
html[lang="en"] h1 { font-size: clamp(3.3rem, 5.9vw, 5.7rem); line-height: 1.06; font-weight: 700; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 490px; }
.cta { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 24px; padding: 14px 24px; min-height: 54px; font-weight: 700; font-size: .96rem; border: 1px solid transparent; transition: background .2s, transform .2s; }
.btn:hover { transform: translateY(-3px); }
.btn.primary { background: var(--accent); color: #fffaf4; }
.btn.primary:hover { background: #913921; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: .9rem; min-height: 44px; border-bottom: 1px solid var(--line); }
.hero-credit { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .8rem; margin-top: 42px; }
.short-rule { width: 30px; height: 1px; background: var(--muted); }
.studio-art { background: #c96548; color: #252820; aspect-ratio: 1 / 1.08; position: relative; overflow: hidden; padding: 24px; direction: ltr; border-radius: 160px 160px 3px 3px; isolation: isolate; }
.studio-art::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' opacity='.2' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E"); opacity: .22; pointer-events: none; z-index: -1; }
.art-top { position: absolute; inset: 66px 28px auto; display: flex; justify-content: space-between; font: 500 9px var(--font-en); letter-spacing: .03em; }
.art-word { position: absolute; top: 35%; left: 50%; transform: translateX(-50%) rotate(-9deg); font: 800 clamp(7rem, 13vw, 12rem) var(--font-ar); line-height: 1.2; color: #f5eddb; white-space: nowrap; }
.art-dot { position: absolute; width: 20px; height: 20px; background: var(--ink); border-radius: 50%; bottom: -20px; left: 0; }
.orbit { border: 1px solid rgb(245 237 219 / 30%); position: absolute; width: 155%; height: 62%; border-radius: 50%; left: -27%; top: 23%; z-index: -1; }
.orbit-one { transform: rotate(42deg); }
.orbit-two { transform: rotate(-42deg); }
.art-spark { position: absolute; font-size: 85px; top: 15%; right: 15%; line-height: 1; transform: rotate(15deg); }
.art-bottom { position: absolute; bottom: 26px; left: 28px; right: 28px; display: flex; justify-content: space-between; align-items: flex-end; font: 500 12px/1.5 var(--font-en); letter-spacing: .12em; }
.art-seal { border: 1px solid var(--ink); border-radius: 50%; width: 54px; height: 54px; display: grid; place-content: center; font-size: 10px; text-align: center; }
.hero-bottom { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-block: 24px; border-top: 1px solid var(--line); margin-top: 4px; font-size: .8rem; color: var(--muted); }
.hero-bottom > span:last-child { font: 500 .66rem var(--font-en); letter-spacing: .14em; }
.hero-bottom > span:last-child > span { color: var(--accent); font-size: 18px; margin-left: 12px; }
.discipline-strip { border-block: 1px solid var(--line); background: #eae8de; }
.discipline-strip .container { display: flex; justify-content: space-around; gap: 24px; padding-block: 23px; align-items: center; font-weight: 700; }
.discipline-strip span:nth-child(even) { color: var(--accent); font-size: 24px; }
/* Services */
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
h2 { font-size: clamp(2.2rem, 3.8vw, 3.5rem); font-weight: 800; letter-spacing: -.035em; margin-top: 18px; }
html[lang="en"] h2 { font-weight: 500; }
.section-intro { max-width: 330px; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.service-card { grid-column: span 2; padding: 32px 28px 24px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: background .2s; }
.service-card:nth-child(n + 4) { grid-column: span 3; }
.service-card:hover { background: #eeebe3; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 44px; }
.service-icon { width: 48px; height: 48px; color: var(--accent); }
.service-icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.4; }
.card-number { font: .8rem var(--font-en); color: var(--muted); }
.service-card h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.service-type { font-weight: 700; font-size: .85rem; margin-block: 12px 18px; color: var(--accent); }
.service-card > p:not(.service-type) { color: var(--muted); font-size: .95rem; }
.service-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-block: 24px 30px; }
.service-tags span { font-size: .72rem; border: 1px solid var(--line); border-radius: 20px; padding: 2px 10px; }
.card-link { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 48px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; font-size: .87rem; font-weight: 700; }
.card-link:hover { color: var(--accent); }
/* Founder / approach */
.about-section { background: #eae8de; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.about-identity { background: var(--paper); border: 1px solid var(--line); padding: 32px; min-height: 450px; display: flex; flex-direction: column; justify-content: space-between; }
.about-identity > .eyebrow { font: 500 .65rem var(--font-en); letter-spacing: .1em; }
.founder-monogram { font: 700 180px/1.3 var(--font-en); letter-spacing: -.13em; color: var(--ink); align-self: center; direction: ltr; padding-right: .13em; }
.founder-monogram > span { color: var(--accent); }
.about-identity p { font-weight: 700; font-size: 1.35rem; }
.about-identity > div > span { color: var(--muted); font-size: .8rem; }
.about-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 20px; }
.about-note { display: flex; align-items: center; gap: 14px; padding-top: 25px; margin-top: 28px; border-top: 1px solid #cdcec2; font-size: .9rem; font-weight: 700; }
.about-note > span:first-child { color: var(--accent); font-size: 34px; }
.process-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px; }
.process-list li { border-top: 1px solid var(--line); padding-top: 20px; }
.step-number { font: .85rem var(--font-en); color: var(--accent); }
.process-list h3 { margin-block: 28px 12px; font-size: 1.4rem; }
.process-list p { color: var(--muted); font-size: .95rem; }
/* Project expectations, adapted from the studio proposals. */
.project-brief { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; margin-top: 64px; padding: 40px; border: 1px solid var(--line); }
.brief-heading h3 { font-size: 1.9rem; letter-spacing: -.025em; margin-block: 16px; }
.brief-heading > p:last-child { color: var(--muted); font-size: .91rem; }
.brief-questions details { border-bottom: 1px solid var(--line); }
.brief-questions details:first-child { border-top: 1px solid var(--line); }
.brief-questions summary { position: relative; list-style: none; padding: 18px 0; padding-inline-end: 30px; cursor: pointer; font-size: .94rem; font-weight: 700; }
.brief-questions summary::-webkit-details-marker { display: none; }
.brief-questions summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 18px; color: var(--accent); font: 24px/1.3 var(--font-en); }
.brief-questions details[open] summary::after { content: "−"; }
.brief-questions details p { color: var(--muted); font-size: .9rem; padding-bottom: 20px; }
.contact-email { display: inline-flex; align-items: center; min-height: 44px; font: .82rem var(--font-en); text-decoration: underline; text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact-email:hover { color: var(--accent); }
/* Learning */
.course-panel { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--ink); color: var(--paper); }
.course-copy { padding: 50px; }
.course-copy > .eyebrow, .course-copy .section-index { color: #bfc2b1; }
.badge { display: inline-flex; align-items: center; gap: 9px; font-size: .77rem; color: #eac7a6; border: 1px solid #626452; padding: 5px 12px; border-radius: 30px; margin-top: 30px; }
.badge .status-dot { background: #eac7a6; }
.course-copy h2 { margin-block: 24px 18px; }
.course-copy > p:not(.eyebrow) { color: #c2c4b8; font-size: .94rem; }
.points { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; font-size: .91rem; }
.points li { display: flex; gap: 12px; align-items: baseline; }
.points li::before { content: ""; display: inline-block; width: 6px; height: 6px; border: 1px solid #e3a784; flex-shrink: 0; }
html[dir="rtl"] .points li::before { transform: scaleX(-1); }
.course-copy .byline { margin-bottom: 24px; font-size: .8rem !important; }
.btn.light { background: var(--paper); color: var(--ink); font-size: .85rem; gap: 16px; }
.btn.light:hover { background: #e5c6ad; }
.course-art { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; margin: 20px; margin-inline-start: 0; padding: 28px; border: 1px solid #565a47; position: relative; overflow: hidden; background: radial-gradient(ellipse at center, #454b34, transparent 65%); direction: ltr; }
.course-art-label { font: .66rem var(--font-en); letter-spacing: .1em; color: #c2c4b8; }
.ai-symbol { display: grid; place-items: center; position: relative; width: 100%; aspect-ratio: 1; }
.ai-symbol::before, .ai-symbol::after { content: ""; position: absolute; border: 1px solid #797e62; border-radius: 50%; width: 85%; height: 85%; }
.ai-symbol::after { width: 65%; height: 65%; }
.ai-symbol > span { font: 230px/1 var(--font-en); color: #d9dcbc; z-index: 1; }
.course-art-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.course-art-bottom > span:first-child { font: 500 clamp(1rem, 2vw, 1.7rem)/1.3 var(--font-en); }
.course-art-bottom > span:last-child { font-size: .9rem; text-align: right; }
/* Contact / footer */
.contact-section { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.contact-heading h2 { font-size: clamp(2.6rem, 5vw, 4.5rem); }
.contact-heading > p:not(.eyebrow):not(.contact-number) { margin-block: 24px; color: var(--muted); }
.whatsapp { gap: 16px; }
.whatsapp svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.4; }
.contact-number { font: .83rem var(--font-en); color: var(--muted); margin-top: 16px; }
.contact-flower { color: var(--accent); font: clamp(180px, 26vw, 380px)/1 var(--font-en); transform: rotate(15deg); padding-inline: 15px; }
.footer { background: var(--ink); color: var(--paper); padding-block: 40px 24px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { font: 700 1.2rem var(--font-en); letter-spacing: -.04em; }
.footer-brand > span { font-size: .7rem; vertical-align: top; margin-left: 4px; }
.footer-inner > p { font-size: .74rem; color: #c2c4b8; }
.back-top { display: inline-flex; align-items: center; justify-content: center; gap: 15px; font-size: .8rem; min-height: 44px; }
.back-top:hover { color: #e3a784; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #484c3e; margin-top: 28px; padding-top: 20px; color: #c2c4b8; font-size: .73rem; }
/* Content stays visible when scripts or IntersectionObserver are unavailable. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal-pending.visible { opacity: 1; transform: none; }
}
@media (min-width: 1600px) { .hero { gap: 90px; } }
@media (max-width: 1050px) {
  .links { gap: 20px; }
  .nav { gap: 20px; }
  .hero { gap: 32px; }
  .hero .cta { gap: 16px; }
  .hero .btn { padding-inline: 18px; gap: 14px; }
  .about-grid { gap: 50px; }
  .course-copy { padding: 36px; }
  .ai-symbol > span { font-size: 180px; }
  .service-card { padding-inline: 20px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 100px; }
  .container { width: 90%; }
  .section { padding-block: 70px; }
  .nav { min-height: 80px; flex-wrap: wrap; gap: 0; padding-block: 12px; }
  .brand-mark { font-size: 42px; }
  .brand-text { font-size: 15px; }
  .brand-text > span { font-size: 10px; }
  .nav-actions { margin-inline-start: auto; }
  .menu-toggle:not([hidden]) { display: block; }
  .links { order: 3; width: 100%; margin: 8px 0 0; flex-wrap: wrap; gap: 6px 22px; }
  .links > a { min-height: 44px; }
  .js-enabled .links { display: none; padding: 16px 0 6px; }
  .js-enabled .links.is-open { display: flex; flex-direction: column; align-items: stretch; position: absolute; inset: 68px 0 auto; background: var(--paper); padding: 18px 22px; border: 1px solid var(--line); box-shadow: 0 15px 24px rgb(37 40 32 / 8%); }
  .links.is-open > a { padding: 10px 0; }
  .nav-contact { justify-content: space-between; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 30px; }
  .hero-copy { padding-block: 16px 0; }
  h1 { font-size: clamp(3.5rem, 12vw, 5rem); }
  html[lang="en"] h1 { font-size: clamp(3.1rem, 11vw, 4.8rem); }
  .lead { font-size: 1.06rem; }
  .hero-credit { margin-top: 28px; }
  .studio-art { width: min(100%, 460px); justify-self: center; aspect-ratio: 1.12; border-radius: 130px 130px 3px 3px; }
  .art-word { font-size: clamp(6.5rem, 28vw, 9rem); top: 26%; }
  .art-top { inset-block-start: 50px; }
  .art-spark { top: 18%; font-size: 64px; }
  .hero-bottom { margin-top: 4px; gap: 12px; padding-block: 18px; font-size: .71rem; }
  .hero-bottom > span:last-child { font-size: .55rem; letter-spacing: .04em; }
  .discipline-strip .container { gap: 8px; font-size: .76rem; padding-block: 18px; }
  .discipline-strip span:nth-child(even) { font-size: 18px; }
  .section-heading { flex-direction: column; align-items: stretch; gap: 20px; margin-bottom: 32px; }
  .section-intro { max-width: 450px; font-size: .95rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(n + 4) { grid-column: auto; padding: 28px; }
  .project-brief { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; margin-top: 40px; }
  .card-top { margin-bottom: 26px; }
  .service-tags { margin-block: 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-identity { min-height: 330px; }
  .founder-monogram { font-size: 130px; }
  .about-copy h2 { font-size: 2.6rem; }
  .process-list { grid-template-columns: 1fr; gap: 28px; }
  .process-list h3 { margin-top: 12px; }
  .course-panel { grid-template-columns: 1fr; }
  .course-copy { padding: 32px 24px; }
  .course-art { margin: 0 20px 20px; min-height: 280px; }
  .ai-symbol { aspect-ratio: auto; height: 210px; }
  .ai-symbol::before { width: 210px; height: 210px; }
  .ai-symbol::after { width: 155px; height: 155px; }
  .ai-symbol > span { font-size: 180px; }
  .course-art-bottom > span:first-child { font-size: 1.15rem; }
  .contact-section { gap: 12px; }
  .contact-heading h2 { font-size: clamp(2.5rem, 8.8vw, 3.4rem); }
  .contact-flower { display: none; }
  .footer-inner { flex-wrap: wrap; gap: 22px; }
  .footer-inner > p { order: 3; width: 100%; }
  .back-top { margin-inline-start: auto; }
}
@media (max-width: 360px) {
  .btn { padding-inline: 16px; gap: 10px; font-size: .88rem; }
  .whatsapp { gap: 10px; }
  .discipline-strip .container { font-size: .67rem; }
  .service-card { padding-inline: 22px; }
  .course-copy { padding-inline: 20px; }
  .hero-bottom > span:last-child > span { margin-left: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
