@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("cairo-arabic.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("cairo-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --ink: #101014;
  --surface: #19191f;
  --paper: #f4f3eb;
  --white: #f7f6f1;
  --muted: #b7b6c2;
  --lime: #dbff56;
  --violet: #c4b1ff;
  --line: #393841;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ink); color: var(--white); font: 16px/1.6 "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: .98; letter-spacing: -.065em; }
h1 { font-size: clamp(3.4rem, 6.15vw, 7rem); }
h2 { font-size: clamp(2.9rem, 5.8vw, 6rem); }
h3 { font-size: clamp(1.75rem, 3vw, 3rem); }
em { color: var(--lime); font-style: normal; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #a17bff; outline-offset: 5px; }
.wrap { width: min(100% - 7.5rem, 1330px); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: .5rem; left: .5rem; padding: .8rem; color: var(--ink); background: var(--lime); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.top { position: sticky; top: 0; z-index: 5; background: #fbfaf5; color: var(--ink); border-bottom: 1px solid #dedbe4; }
.nav { position: relative; min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { min-height: 44px; display: inline-flex; align-items: center; font-size: 1.13rem; font-weight: 750; letter-spacing: -.035em; }
.brand-home { flex: 0 0 auto; }
.brand-home img { display: block; width: auto; height: clamp(2.25rem, 4vw, 2.8rem); }
/* Reserve the enhanced header before deferred scripts move navigation into its dialog. */
.js .nav > nav { display: none; }
.nav nav { display: flex; align-items: center; gap: clamp(.15rem, 1.05vw, 1.15rem); }
.nav nav a, .menu { min-height: 44px; align-items: center; gap: .55rem; padding-inline: .75rem; border-radius: .4rem; font-size: .92rem; font-weight: 700; }
.nav nav a { display: inline-flex; white-space: nowrap; transition: color .2s, background .2s; }
.nav nav a:hover { background: #ece5f5; color: #513887; }
.nav .nav-language { color: #5736a3; background: #f0ebf6; }
.nav .nav-cta { color: var(--white); background: var(--ink); padding-inline: 1rem; }
.nav .nav-cta:hover { color: var(--white); background: #403054; }
.nav .nav-cta span { color: var(--lime); }
footer a:hover { color: var(--lime); }
.menu { display: none; color: var(--ink); border: 1px solid #dedbe4; background: #fff; }
.menu svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; fill: none; }
.menu svg path:last-child, .menu[aria-expanded="true"] svg path:first-child { display: none; }
.menu[aria-expanded="true"] svg path:last-child { display: inline; }
.eyebrow { display: flex; align-items: center; gap: .7rem; font: 650 .73rem/1.45 var(--mono); letter-spacing: .115em; margin-bottom: 1.4rem; }
.eyebrow span { color: var(--lime); }
.light .eyebrow span { color: #5736a3; }
.signal { width: .52rem; height: .52rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 15px #dbff5680; }
.intro { font-size: clamp(1rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 34rem; margin-top: 1.55rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; gap: 1.15rem; align-items: center; justify-content: center; padding: .78rem 1rem; min-height: 50px; border: 1px solid transparent; font-weight: 750; font-size: .92rem; transition: background .22s, color .22s, border-color .22s; }
.primary { background: var(--lime); color: var(--ink); }
.primary:hover:enabled, a.primary:hover { background: var(--white); }
.ghost { background: #10101490; border-color: #605e6a; }
.ghost:hover { color: var(--lime); border-color: var(--lime); }
.section { padding-block: clamp(4.5rem, 9vw, 9rem); }
.light { color-scheme: light; background: var(--paper); color: var(--ink); }
.section-head { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.65rem; }
.section-head > p { max-width: 29rem; justify-self: end; font-size: 1.13rem; }
.cap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.cap { border: 1px solid #cdcbc1; background: #fbfaf5; display: flex; flex-direction: column; }
.cap-art { overflow: hidden; position: relative; aspect-ratio: 1.95; }
.cap-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cap:hover .cap-art img { transform: scale(1.045); }
.cap-art span { position: absolute; left: .85rem; top: .85rem; color: var(--white); background: var(--ink); font: .68rem var(--mono); padding: .55rem .65rem; letter-spacing: .09em; }
.tech { background: #8ca11f; }
.gaming { background: #291459; }
.cap-body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.3rem, 3.4vw, 2.6rem); }
.cap-body p { max-width: 31rem; margin-block: .9rem 1.1rem; }
.tags { padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0 0 1.25rem; }
.tags li { border: 1px solid #d7d4c9; padding: .28rem .55rem; font: .72rem/1.5 var(--mono); }
.text-link { align-self: flex-start; display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 750; text-decoration: underline; text-underline-offset: 5px; }
.text-link:hover { color: var(--violet); }
.light .text-link:hover { color: #5736a3; }
.cap .text-link { margin-top: auto; }
.work .section-head > p, .contact-intro { color: var(--muted); }
.number { color: var(--lime); font: .78rem var(--mono); }
.about-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.about-copy { align-self: end; font-size: 1.16rem; }
.about-copy p + p { margin-top: 1rem; }
.contact { background: radial-gradient(ellipse at 0% 85%, #26203a, transparent 66%), var(--ink); }
.contact-intro { margin: 1.3rem 0 .85rem; max-width: 25rem; font-size: 1.12rem; }
form { padding: clamp(1.15rem, 3.25vw, 2.1rem); border: 1px solid var(--line); background: var(--surface); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
label { display: block; margin-bottom: .9rem; font-size: .85rem; font-weight: 650; }
input, select, textarea { display: block; margin-top: .3rem; width: 100%; min-height: 44px; border: 1px solid #585764; padding: .65rem .7rem; color: var(--white); background: var(--ink); border-radius: 0; }
textarea { resize: vertical; }
.form-note, #form-status { color: var(--muted); font-size: .84rem; }
.form-note { margin-bottom: .85rem; }
#form-status:not(:empty) { margin-top: .75rem; color: var(--white); }
button:disabled { background: #383842; color: #d7d6df; cursor: default; }
footer { border-top: 1px solid var(--line); padding-block: 1rem; }
.footer-grid { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.footer-grid p { margin-right: auto; color: var(--muted); }
.footer-grid > a:not(.brand) { display: flex; align-items: center; min-height: 44px; gap: .4rem; }
.top::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: linear-gradient(90deg, #7954bc, #dbff56);
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
  pointer-events: none;
}
[dir="rtl"] .top::after { transform-origin: right; }
.arrived {
  animation: section-arrive .68s cubic-bezier(.2, .68, .23, 1) var(--arrival-delay, 0ms) backwards;
}
.arrived .cap-art img, .arrived .fc-art img {
  animation: artwork-reveal .85s cubic-bezier(.2, .68, .23, 1) var(--arrival-delay, 0ms) backwards;
}
@keyframes section-arrive {
  from { opacity: .38; translate: 0 23px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes artwork-reveal {
  from { opacity: .55; clip-path: inset(7% 4% 7% 4%); }
  to { opacity: 1; clip-path: inset(0); }
}
@media (prefers-reduced-motion: reduce) {
  .top::after { display: none; }
}
.arrived:focus-within { animation: none; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 4rem); }
}
@media (max-width: 900px) {
  .nav { flex-wrap: wrap; min-height: 65px; }
  .js .menu { display: inline-flex; }
  .nav nav { flex-wrap: wrap; width: 100%; padding-bottom: .6rem; }
  .js .nav nav { display: none; }
  .js .menu[aria-expanded="true"] + nav {
    position: absolute;
    top: calc(100% + .45rem);
    inset-inline: 0;
    display: grid;
    gap: .25rem;
    padding: .55rem;
    max-height: calc(100dvh - 85px);
    overflow-y: auto;
    color: var(--ink);
    background: #fbfaf5;
    border: 1px solid #dedbe4;
    border-radius: .65rem;
    box-shadow: 0 12px 32px #10101435;
  }
  .nav nav a { min-height: 48px; }
  .nav .nav-cta { justify-content: space-between; }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 2.5rem); }
  .section-head, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 1.3rem; }
  .section-head > p { justify-self: start; }
  .cap-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: .45rem 1.2rem; }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 2rem); }
  h1 { font-size: clamp(2.65rem, 13.4vw, 3.4rem); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
[lang="ar"] { --arabic: Cairo, Tahoma, Arial, sans-serif; }
[lang="ar"] body, [lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3 { font-family: var(--arabic); }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3 { letter-spacing: 0; line-height: 1.2; }
[dir="rtl"] h1 { font-size: clamp(2.8rem, 6.5vw, 6.7rem); }
[dir="rtl"] h2 { font-size: clamp(2.5rem, 5vw, 5rem); }
[lang="ar"] .eyebrow, [lang="ar"] .hero-footer, [lang="ar"] .cap-art span, [lang="ar"] .tags li {
  font-family: var(--arabic);
  letter-spacing: 0;
}
[dir="rtl"] .cap-art span { left: auto; right: .85rem; }
[dir="rtl"] .footer-grid p { margin-right: 0; margin-inline-end: auto; }
[dir="rtl"] .brand { letter-spacing: 0; }

.service-directory { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; margin-top: clamp(3rem, 7vw, 6rem); }
.directory-heading .eyebrow { margin-bottom: .75rem; }
.directory-heading > p:last-child { margin-top: .8rem; max-width: 27rem; }
.service-list { border-top: 1px solid #cdcbc1; }
.service-detail { border-bottom: 1px solid #cdcbc1; }
.service-detail summary {
  display: grid;
  grid-template-columns: 1.8rem 1fr 2rem;
  align-items: start;
  gap: .9rem;
  padding: 1rem .75rem;
  list-style: none;
  cursor: pointer;
  transition: background .2s;
}
.service-detail summary::-webkit-details-marker { display: none; }
.service-detail summary:hover, .service-detail[open] summary { background: #ebe8f5; }
.service-index { color: #5736a3; font: .76rem/2 var(--mono); }
.service-kicker { display: block; color: #5736a3; font-size: .76rem; font-weight: 750; }
.service-detail summary strong { display: block; font-size: clamp(1rem, 2vw, 1.45rem); line-height: 1.35; }
.service-lead { display: block; margin-top: .18rem; font-size: .89rem; }
.service-toggle { justify-self: end; align-self: center; border: 1px solid #c5bddb; border-radius: 50%; width: 2rem; height: 2rem; display: grid; place-items: center; color: #5736a3; }
.service-toggle::before { content: "+"; font: 1.1rem var(--mono); }
.service-detail[open] .service-toggle::before { content: "−"; }
.service-detail ul { margin: 0; padding: .5rem .8rem .85rem 3.45rem; list-style: none; }
[dir="rtl"] .service-detail ul { padding-inline: 3.45rem .8rem; }
.service-detail li { padding-block: .55rem; }
.service-detail li + li { border-top: 1px solid #dcd9d1; }
.service-detail li strong, .service-detail li span { display: block; }
.service-detail li span { font-size: .93rem; }
.project-filters:not([hidden]) { display: flex; flex-wrap: wrap; gap: .45rem; }
.project-filters button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--white);
  min-height: 44px;
  padding: .35rem .85rem;
  font-size: .88rem;
  font-weight: 700;
  transition: border-color .2s, background .2s, color .2s;
}
.project-filters button:hover { border-color: var(--lime); }
.project-filters button[aria-pressed="true"] { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.project-count { font-size: .82rem; color: var(--muted); margin-block: .75rem; }
.project-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: .8rem; }
.project-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .2s, background .2s;
}
.project-card[hidden] { display: none; }
.project-card:hover { border-color: #777286; background: #23212c; }
.project-featured { grid-column: span 5; }
.project-content { display: flex; flex-direction: column; flex: 1; padding: 1rem; }
.project-featured .project-content { padding: clamp(1rem, 2.4vw, 1.65rem); }
.project-meta { display: flex; gap: .45rem; justify-content: space-between; align-items: center; color: var(--muted); margin-bottom: .7rem; font-size: .74rem; line-height: 1.35; }
.project-meta > span:nth-child(2) { margin-inline-end: auto; }
.project-meta .number { flex: none; }
.project-glyph { flex: none; width: 1.45rem; height: 1.45rem; fill: none; stroke: var(--violet); stroke-width: 2; }
.project-card h3 { font-family: inherit; font-size: clamp(.98rem, 1.6vw, 1.28rem); line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; }
.project-featured h3 { font-size: clamp(1.45rem, 3vw, 2.5rem); }
.project-card p { color: var(--muted); font-size: .95rem; margin-block: .45rem; }
.project-art { overflow: hidden; aspect-ratio: 16 / 8; background: #262038; }
.project-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.project-card:hover .project-art img { transform: scale(1.04); }
.process { margin-top: clamp(3rem, 7vw, 5.5rem); }
.process ol { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.process li { padding: 1.25rem; border: 1px solid #cdcbc1; background: #fbfaf5; }
.step-number { color: #5736a3; font: .85rem var(--mono); }
.process h4 { margin: .55rem 0 .35rem; font-size: 1.1rem; }
.process li p { font-size: .93rem; }
.location { display: grid; grid-template-columns: 1fr 1.8fr; align-items: stretch; margin-top: clamp(3rem, 7vw, 5rem); background: var(--surface); border: 1px solid var(--line); }
.location-copy { align-self: center; padding: clamp(1.2rem, 3.8vw, 3rem); }
.location-copy p:not(.eyebrow) { color: var(--muted); margin-block: .85rem .45rem; }
.location-map { display: block; width: 100%; height: 100%; min-height: 330px; border: 0; background: #ebe9e0; }
@media (max-width: 1100px) {
  .project-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .project-featured { grid-column: span 3; }
}
@media (max-width: 740px) {
  .service-directory, .location { grid-template-columns: 1fr; gap: 1.15rem; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .project-card { grid-column: span 1; }
  .project-featured { grid-column: 1 / -1; }
  .project-meta { flex-wrap: wrap; }
  .project-content { padding: .75rem; }
  .process ol { grid-template-columns: 1fr; }
  .location-map { min-height: 275px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-detail summary, .project-filters button, .project-card, .project-art img { transition: none; }
}

.fc-section {
  background: radial-gradient(ellipse at 82% 14%, #2c2148, transparent 53%), #15121d;
  border-block: 1px solid #3e354e;
}
.fc-section .section-head > p, .fc-feature-copy > p:not(.eyebrow), .fc-mode p { color: var(--muted); }
.fc-section .eyebrow { flex-wrap: wrap; }
.cap .fc-cap-link { margin-top: 0; }
.fc-feature {
  display: grid;
  grid-template-columns: 1fr 1.28fr;
  border: 1px solid #4a405b;
  background: #1a1624;
}
.fc-feature-copy { padding: clamp(1.3rem, 4.1vw, 3.65rem); align-self: center; }
.fc-feature-copy .eyebrow, .fc-subhead .eyebrow { margin-bottom: .7rem; }
.fc-feature-copy h3 { line-height: 1.1; }
.fc-feature-copy > p:not(.eyebrow) { margin-top: .8rem; }
.fc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  list-style: none;
  padding: 0;
  margin: .85rem 0 .45rem;
}
.fc-tags li { border: 1px solid #554766; color: var(--white); padding: .25rem .55rem; font-size: .8rem; }
.fc-art { display: grid; grid-template-rows: 1fr auto; min-width: 0; margin: 0; background: #111017; }
.fc-art img { width: 100%; height: 100%; object-fit: cover; }
.fc-art figcaption { color: var(--muted); font-size: .73rem; padding: .45rem .75rem; border-top: 1px solid #4a405b; }
.fc-modes { margin-block: clamp(2.6rem, 5.5vw, 4.5rem); }
.fc-mode-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 1.2rem; }
.fc-mode { display: flex; flex-direction: column; padding: 1.1rem; border: 1px solid #4a405b; background: #1c1728; transition: border-color .22s; }
.fc-mode:hover, .fc-mode:focus-within { border-color: var(--violet); }
.fc-mode-meta { display: flex; justify-content: space-between; align-items: center; gap: .4rem; color: var(--violet); font: .68rem var(--mono); }
.fc-mode-meta span { direction: ltr; }
.fc-mode h4 { margin: .9rem 0 .3rem; font-size: 1.15rem; line-height: 1.35; }
.fc-mode p { margin-bottom: .4rem; font-size: .9rem; }
.fc-prints { grid-template-columns: 1.28fr 1fr; }
.fc-print-links { display: flex; flex-wrap: wrap; gap: 0 1rem; margin-top: .55rem; }
[lang="ar"] .fc-section .eyebrow { font-family: var(--arabic); }
@media (max-width: 900px) {
  .fc-mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fc-feature, .fc-prints { grid-template-columns: 1fr; }
  .fc-prints .fc-feature-copy { grid-row: 1; }
  .fc-mode { padding: .8rem; }
}

.contact-email { margin-inline-start: 1rem; }
.location-details { display: grid; gap: .7rem; margin-block: 1rem .55rem; }
.location-details dt { color: var(--muted); font-size: .78rem; }
.location-details dd { margin: 0; }
.location-details dd a { text-decoration: underline; text-underline-offset: .2em; }

.project-card { position: relative; }
.project-card:has(.project-detail[open]) { border-color: #777286; }
.project-detail { margin-top: auto; padding-top: .6rem; }
.project-detail summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  min-height: 44px;
  list-style: none;
  border-top: 1px solid var(--line);
  cursor: pointer;
  color: var(--lime);
  font-size: .84rem;
  font-weight: 700;
}
.project-detail summary::-webkit-details-marker { display: none; }
.project-detail:not([open]) summary::after { content: ""; position: absolute; inset: 0; }
.project-toggle::before { content: "+"; font: 1.12rem var(--mono); }
.project-detail[open] .project-toggle::before { content: "−"; }
.project-close, .project-detail[open] .project-show { display: none; }
.project-detail[open] .project-close { display: inline; }
.project-description p { margin: .25rem 0 .55rem; }
.project-description a { font-size: .84rem; margin-inline-end: .7rem; }

.technology-services { margin-top: clamp(3rem, 7vw, 6rem); }
.technology-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-block: 1.25rem .65rem;
}
.technology-card {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: clamp(1rem, 2.5vw, 1.6rem);
  border: 1px solid #d7cfe6;
  background: linear-gradient(150deg, #f4effc, #fbfaf5 65%);
  transition: border-color .2s, transform .2s;
}
.technology-card:hover { border-color: #9074c3; transform: translateY(-2px); }
.technology-card-meta { display: flex; justify-content: space-between; align-items: center; gap: .7rem; color: #5736a3; }
.technology-card-meta svg {
  box-sizing: content-box;
  width: 1.55rem;
  height: 1.55rem;
  padding: .48rem;
  background: #e9def9;
  border: 1px solid #dfd0f5;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.technology-card-meta span { direction: ltr; font: .72rem var(--mono); }
.technology-card h4 { margin: .2rem 0 0; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.3; }
.technology-card p { font-size: .94rem; }
.technology-card .technology-card-scope {
  margin-top: auto;
  padding-top: .65rem;
  border-top: 1px solid #e1d8ea;
  color: #4d3678;
  font-size: .8rem;
  font-weight: 700;
}
@media (max-width: 900px) {
  .technology-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .technology-grid { grid-template-columns: 1fr; }
}

.fc-storefronts { margin-top: clamp(2rem, 5vw, 3.5rem); }
.fc-storefronts h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.fc-store-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .55rem;
  min-height: 48px;
  padding: .65rem .85rem;
  border: 1px solid #4a405b;
  background: #1c1728;
  font-size: .95rem;
  font-weight: 700;
}
.fc-store-link:hover, .fc-store-link:focus-visible { border-color: var(--violet); }
.fc-store-link span { color: var(--lime); }

.print-process { margin-top: clamp(2rem, 5vw, 3.5rem); }
.print-process ol { padding: 0; margin-bottom: 0; list-style: none; }
.print-step-number { color: var(--violet); font: .78rem var(--mono); }
.print-process .fc-mode p { margin-bottom: 0; }

.print-case-study { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.case-intro { max-width: 64ch; margin-top: .8rem; color: var(--muted); }
.print-case-study .text-link { margin-top: .75rem; }
.location-embed { position: relative; min-width: 0; min-height: 330px; background: #1c1829; }
.location-embed .location-map { position: absolute; inset: 0; min-height: 0; }
.location-embed [hidden] { display: none; }
.map-cover { display: grid; place-content: center; gap: .65rem; min-height: 330px; padding: 1rem; text-align: center; color: var(--muted); }
.legal { max-width: 76ch; overflow-wrap: anywhere; }
.legal h1 { margin-bottom: 2rem; font-size: clamp(2.3rem, 6vw, 4.4rem); }
.legal em { color: inherit; font-style: italic; }
.legal a[href] { text-decoration: underline; text-underline-offset: .15em; }
.legal [id] { scroll-margin-top: 1rem; }
.nav nav a[aria-current="page"]:not(.nav-cta) { background: #eee6f5; color: #513887; }
@media (max-width: 740px) {
  .map-cover, .location-embed { min-height: 275px; }
}
.legal-toc { margin-block: 1.75rem; padding: 1rem 1.25rem; border: 1px solid #d7cfe6; }
.legal-toc h2 { font-size: clamp(1.45rem, 3.2vw, 2rem); }
.legal-toc ul { margin-bottom: 0; padding-inline-start: 1.3rem; }

.fc-service-intro { max-width: 64ch; margin-top: .7rem; color: var(--muted); }
.fc-service-card { padding: 0; }
.fc-service-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-bottom: 1px solid #4a405b;
}
.fc-service-copy { padding: clamp(.85rem, 2vw, 1.15rem); }
.fc-service-card h4 { margin-top: .55rem; }
.fc-service-card p { margin-bottom: 0; }
@media (max-width: 420px) {
  .fc-service-grid { grid-template-columns: 1fr; }
}

/* Scroll chapters */
.chapter-hero {
  --header-height: 77px;
  --stage-height: calc(100svh - var(--header-height));
  --scene-direction: to right;
  position: relative;
  background: #100d17;
}
.js .chapter-hero { min-height: calc(var(--stage-height) + 94svh); }
[dir="rtl"] .chapter-hero { --scene-direction: to left; }
.hero-stage {
  position: sticky;
  top: var(--header-height);
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: var(--stage-height);
  overflow: clip;
}
.hero-visual, .hero-scene, .hero-visual::after { position: absolute; inset: 0; }
.hero-visual { z-index: -1; overflow: hidden; }
.hero-visual::after {
  z-index: 2;
  content: "";
  background:
    linear-gradient(var(--scene-direction), #0e0b15 0%, #0e0b15ee 20%, #0e0b1566 54%, transparent 86%),
    linear-gradient(0deg, #0e0b15 0%, #0e0b150d 50%);
}
.hero-scene {
  inset-inline-start: 18%;
  opacity: 0;
  transform: scale(calc(1.02 + var(--hero-depth, 0) * .085));
  transition: opacity .58s ease;
}
.hero-scene.is-current { opacity: 1; }
.hero-scene img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 50%; }
.hero-network { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .58; }
.hero-grid {
  position: relative;
  display: flex;
  align-items: center;
  padding-block: clamp(2rem, 7vh, 5.5rem);
  min-width: 0;
}
.hero-copy { position: relative; max-width: min(80%, 72rem); }
.hero-copy h1 { font-size: clamp(3.4rem, 8.2vw, 9rem); line-height: .94; }
[dir="rtl"] .hero-copy h1 { line-height: 1.13; font-size: clamp(3rem, 7.8vw, 7.5rem); }
.hero-copy .intro { color: #dfdce8; }
.hero-edition { position: absolute; inset-block-start: 1.5rem; inset-inline-end: 0; display: grid; gap: .35rem; text-align: end; color: #dfdce8; font: .7rem var(--mono); letter-spacing: .09em; direction: ltr; }
.hero-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.2rem;
  padding-block: 1rem 1.55rem;
  border-top: 1px solid #ffffff42;
}
.hero-chapters { display: none; }
.js .hero-chapters { display: flex; flex-wrap: wrap; gap: .45rem; }
.hero-chapters button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .4rem .85rem;
  border: 1px solid #ffffff45;
  color: var(--white);
  background: #100d17b0;
  font-weight: 700;
  transition: background .22s, border-color .22s, color .22s;
}
.hero-chapters button[aria-pressed="true"] { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.hero-chapters button:not([aria-pressed="true"]):hover { border-color: var(--violet); }
.hero-chapter-number { font: .72rem var(--mono); }
.hero-next { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; font-size: .88rem; font-weight: 750; }
.hero-next span { color: var(--lime); }
.hero-next:hover { color: var(--lime); }
.work-spotlight {
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  min-height: clamp(24rem, 68svh, 46rem);
  overflow: hidden;
  border: 1px solid #625171;
  margin-bottom: clamp(2rem, 6vw, 5rem);
  background: #21182d;
}
.work-spotlight img, .work-spotlight::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.work-spotlight img { z-index: -2; object-fit: cover; object-position: center; }
.work-spotlight::after { z-index: -1; content: ""; background: linear-gradient(0deg, #100d17 0%, #100d17aa 32%, transparent 76%); }
.spotlight-copy { padding: clamp(1.5rem, 5vw, 4.5rem); }
.spotlight-copy h3 { font-size: clamp(2.2rem, 6vw, 6rem); max-width: 15ch; }
.spotlight-copy .button { margin-top: 1.25rem; }
.about.light { background: radial-gradient(ellipse at 90% 12%, #e9e0f7, transparent 60%), var(--paper); }
.fc-feature .fc-art { overflow: hidden; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .work-spotlight img, .fc-feature .fc-art img {
      animation: feature-drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes feature-drift {
      from { transform: scale(1.14) translateY(3%); }
      to { transform: scale(1.14) translateY(-3%); }
    }
  }
}
@media (max-width: 900px) {
  .chapter-hero { --header-height: 66px; }
}
@media (max-width: 740px) {
  .hero-scene { inset-inline-start: 0; }
  .hero-scene img { object-position: center 36%; }
  .hero-visual::after {
    background: linear-gradient(0deg, #0e0b15 0%, #0e0b15e8 28%, #0e0b1560 76%, #0e0b1544),
      linear-gradient(var(--scene-direction), #0e0b1560, #0e0b1520);
  }
  .hero-grid { align-items: end; padding-block: 5rem 1.75rem; }
  .hero-copy { max-width: 100%; }
  .hero-copy h1 { font-size: clamp(2.65rem, 10.1vw, 5.1rem); }
  [dir="rtl"] .hero-copy h1 { font-size: clamp(2.4rem, 9vw, 4.65rem); }
  .hero-copy .actions { margin-top: 1.3rem; }
  .hero-copy .intro { margin-top: .95rem; }
  .hero-edition { font-size: .6rem; }
  .hero-footer { align-items: start; flex-direction: column; gap: .25rem; padding-block: .65rem .85rem; }
  .hero-chapters button { padding-inline: .5rem; font-size: .78rem; }
}
@media (max-height: 570px), (prefers-reduced-motion: reduce) {
  .js .chapter-hero { min-height: 0; }
  .hero-stage { position: relative; top: 0; }
  .js .hero-chapters { display: none; }
  .hero-scene { transform: none; }
}

/* Editorial navigation: full-screen, keyboard accessible, no scroll interception. */
html { scrollbar-gutter: stable; }
html.menu-open { overflow: hidden; }
.js .nav > .menu { display: inline-flex; border-radius: 0; padding-inline: 1.1rem; }
.navigation-dialog {
  position: fixed; inset: 0; margin: 0; width: 100%; height: 100dvh;
  max-width: none; max-height: none; border: 0; padding: clamp(1.4rem, 5vw, 5rem);
  color: var(--white); background: #191321; overflow-y: auto;
}
.navigation-dialog::backdrop { background: #191321; }
.navigation-dialog[open] { display: grid; grid-template-rows: auto 1fr auto; gap: 2rem; }
.navigation-dialog[open]::before {
  content: ""; position: absolute; width: 40vw; height: 40vw; inset-inline-end: 7%; top: 20%;
  border: 1px solid #c4b1ff35; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 5vw #c4b1ff05, 0 0 0 10vw #c4b1ff04;
}
.navigation-heading { font: .75rem/1.6 var(--mono); letter-spacing: .06em; padding-inline-end: 7rem; color: var(--violet); }
.navigation-close { position: absolute; inset-inline-end: clamp(1.4rem, 5vw, 5rem); top: clamp(1rem, 4vw, 3.5rem); border: 1px solid #ffffff60; padding: .5rem 1rem; min-height: 44px; color: var(--white); background: transparent; z-index: 1; }
.navigation-close:hover { background: var(--lime); color: var(--ink); }
.nav .navigation-dialog #navigation { display: flex; position: relative; inset: auto; flex-flow: column; align-items: stretch; width: 100%; margin: 0; padding: 0; border: 0; box-shadow: none; background: transparent; gap: 0; align-self: center; }
.nav .navigation-dialog #navigation a { color: var(--white); background: transparent; border-radius: 0; border-bottom: 1px solid #ffffff25; font-family: var(--display); font-size: clamp(2rem, 5.4vw, 5rem); line-height: 1.22; padding: .12em 0; min-height: 48px; letter-spacing: -.045em; gap: clamp(1rem, 3vw, 3rem); transition: color .25s, padding .25s; }
.nav .navigation-dialog #navigation a:hover, .nav .navigation-dialog #navigation a:focus-visible { color: var(--lime); padding-inline-start: 1.2rem; }
.nav .navigation-dialog #navigation .navigation-number { color: var(--violet); font: .75rem var(--mono); letter-spacing: 0; }
.navigation-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font: .75rem/1.6 var(--mono); color: var(--violet); direction: ltr; }
[dir="rtl"] .nav .navigation-dialog #navigation a { font-family: Cairo, sans-serif; letter-spacing: 0; font-size: clamp(1.8rem, 4.5vw, 4.5rem); line-height: 1.4; }
.chapter-dock { position: fixed; inset-inline-end: .5rem; top: 50%; transform: translateY(-50%); display: grid; z-index: 4; gap: .15rem; }
.chapter-dock a { display: flex; justify-content: end; align-items: center; min-width: 44px; min-height: 44px; gap: .6rem; }
.dock-number { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #21182de6; color: #f7f6f1; border: 1px solid #746782; font: .65rem var(--mono); transition: background .2s, color .2s; }
.chapter-dock [aria-current] .dock-number { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.dock-label { opacity: 0; transform: translateX(-.4rem); font-size: .75rem; padding: .15rem .5rem; color: var(--white); background: #21182d; transition: opacity .2s, transform .2s; pointer-events: none; }
.chapter-dock a:hover .dock-label, .chapter-dock a:focus-visible .dock-label { opacity: 1; transform: none; }

/* Each opening chapter carries its own message, artwork and destination. */
.hero-copy-alt { display: none; }
.js .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.js .hero-copy { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(2.5rem); transition: opacity .45s, transform .65s cubic-bezier(.22,1,.36,1), visibility .45s; }
.js .hero-copy-alt { display: block; }
.js .hero-copy.is-current { opacity: 1; visibility: visible; transform: none; }
.hero-copy h2 { font-size: clamp(3.4rem, 8.2vw, 9rem); line-height: .94; }
[dir="rtl"] .hero-copy h2 { line-height: 1.13; font-size: clamp(3rem, 7.8vw, 7.5rem); }
.hero-scene { transform: scale(calc(1.08 + var(--hero-depth, 0) * .12)) translateX(calc(var(--hero-depth, 0) * -3%)); transition: opacity .7s ease; }
@media (prefers-reduced-motion: no-preference) {
  .navigation-dialog[open] { animation: menu-surface .38s cubic-bezier(.22,1,.36,1) both; }
  .navigation-dialog[open] #navigation a { animation: menu-link .55s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--nav-index) * 45ms); }
  @keyframes menu-surface { from { opacity: 0; transform: translateY(-2rem); } to { opacity: 1; transform: none; } }
  @keyframes menu-link { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }
}
@media (max-width: 900px) { .chapter-dock { display: none; } }
@media (max-width: 740px) {
  .hero-copy h2 { font-size: clamp(2.65rem, 10.1vw, 5.1rem); }
  [dir="rtl"] .hero-copy h2 { font-size: clamp(2.4rem, 9vw, 4.65rem); }
}
@media (max-height: 570px), (prefers-reduced-motion: reduce) {
  .js .hero-copy-alt { display: none; }
  .hero-scene { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero-copy, .hero-scene, .navigation-dialog, .navigation-dialog a, .dock-label { transition: none; animation: none; }
}

.legal-updated { margin-block: 1rem 2rem; color: #5d5666; font-size: .88rem; }
.legal-site-note { border-inline-start: 3px solid #66428c; background: #eee8f5; padding: 1.25rem; margin-block: 2rem; }
.legal-site-note h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.legal-site-note p + p { margin-top: 1rem; }
