/* Full-site prototype. Fonts are the current Thmanyah files, used as stand-ins. */
@font-face { font-family: "Thmanyah Serif"; src: url("assets/fonts/ThmanyahSerifDisplay-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Thmanyah Serif"; src: url("assets/fonts/ThmanyahSerifDisplay-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("assets/fonts/ThmanyahSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("assets/fonts/ThmanyahSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #08080a;
  --fg: #efece6;
  --dim: #8a8884;
  --rule: rgb(255 255 255 / .12);
  --gutter: clamp(18px, 5vw, 88px);
  --serif: "Thmanyah Serif", Georgia, serif;
  --sans: "Thmanyah Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
/* Horizontal overflow is clipped on <html> only: overflow on <body> would break the sticky Selected Work view. */
html { color-scheme: dark; scroll-behavior: smooth; overflow-x: clip; }
.reduced { scroll-behavior: auto; }
html, body { margin: 0; background: var(--bg); color: var(--fg); }
body { font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video, canvas { display: block; }
:focus-visible { outline: 2px solid #9db8ff; outline-offset: 4px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--fg); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 12px; }
.eyebrow { font-size: 14px; color: var(--dim); margin: 0; font-weight: 400; font-family: var(--sans); }
:lang(en) .eyebrow { letter-spacing: .22em; text-transform: uppercase; font-size: 11.5px; }
.section-head { padding: 0 var(--gutter); max-width: 1500px; margin: 0 auto; }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.8vw, 72px); line-height: 1.3; margin: 14px 0 0; }
:lang(en) .section-head h2 { line-height: 1.05; letter-spacing: -.02em; }
/* About uses a real heading that looks like the small section label */
.section-head h2.eyebrow { font: 400 14px/1.5 var(--sans); margin: 0; letter-spacing: normal; }
:lang(en) .section-head h2.eyebrow { font-size: 11.5px; letter-spacing: .22em; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; font: 500 15px var(--sans);
  text-decoration: none; border: 1px solid var(--rule); color: var(--fg); background: transparent; cursor: pointer; border-radius: 999px; }
.btn.solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn:hover { border-color: var(--fg); }
:lang(en) .btn { letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; }
/* one film grain over the whole page, so sections read as one continuous surface */
body::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
/* Fixed header: transparent over the hero; once you scroll it becomes a slim blurred bar that
   hides while you scroll down and returns as soon as you scroll up. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 28px; padding: 22px var(--gutter);
  border-bottom: 1px solid transparent; transition: transform .45s cubic-bezier(.2, .7, .2, 1), background-color .4s, padding .4s, border-color .4s; }
.site-header.floating { padding-block: 12px; background: rgb(8 8 10 / .72); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: rgb(255 255 255 / .07); }
.site-header.floating .header-note { display: none; }
.site-header.floating .brand b { font-size: 24px; }
:lang(en) .site-header.floating .brand b { font-size: 14px; }
.site-header.hidden { transform: translateY(-110%); }
.menu-open .site-header { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.reduced .site-header { transition: none; }
.brand { display: grid; text-decoration: none; line-height: 1; }
.brand b { font: 500 30px var(--serif); }
:lang(en) .brand b { font: 500 15px var(--sans); letter-spacing: .38em; text-transform: uppercase; }
.brand small { font-size: 9.5px; letter-spacing: .3em; color: var(--dim); margin-top: 5px; }
.header-note { font-size: 12px; color: var(--dim); line-height: 1.5; }
:lang(en) .header-note { letter-spacing: .14em; text-transform: uppercase; font-size: 10.5px; }
.lang-switch { font-size: 12.5px; border: 1px solid var(--rule); padding: 7px 12px; text-decoration: none; }
.hd-nav { margin-inline-start: auto; display: flex; gap: clamp(16px, 2.4vw, 36px); font-size: 15px; }
.hd-nav a { position: relative; text-decoration: none; color: #cfccc6; padding: 6px 0; transition: color .3s; }
.hd-nav a:hover, .hd-nav a[aria-current] { color: var(--fg); }
/* the section you are in: a small warm dot under its link */
.hd-nav a::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #ffd9a3; box-shadow: 0 0 8px #ffd9a3; opacity: 0; transform: scale(.3); transition: opacity .35s, transform .35s; }
.hd-nav a[aria-current]::after { opacity: 1; transform: none; }
:lang(en) .hd-nav a { letter-spacing: .16em; text-transform: uppercase; font-size: 11.5px; }
.hd-cta, .hd-menu { display: none; }
/* phone menu: every section, full-screen */
.hd-sheet { position: fixed; inset: 0; z-index: 35; background: var(--bg); display: grid; align-content: center; gap: 40px; padding: 100px 28px 40px; }
.hd-sheet[hidden] { display: none; }
.hd-sheet nav { display: grid; gap: 10px; }
.hd-sheet nav a { font: 400 clamp(38px, 11vw, 54px) / 1.35 var(--serif); text-decoration: none; color: #a9a6a0; }
.hd-sheet nav a[aria-current] { color: var(--fg); }
:lang(en) .hd-sheet nav a { letter-spacing: -.01em; }
.hd-sheet .lang-switch { justify-self: start; font-size: 14px; padding: 10px 16px; }
.menu-open, .menu-open body { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-plate { position: absolute; inset: 0; transform: scale(1.04); will-change: transform; }
.hero-plate img, .hero-plate video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.hero-plate video { opacity: 0; transition: opacity .6s; }
.hero-plate video.ready { opacity: 1; }
.hero-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* Film grain: hides the softness of the AI footage and keeps the frame alive. */
.grain { position: absolute; inset: -50%; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.reduced .grain, .paused .grain { animation: none; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, transparent 30%, #08080a99 58%, #08080af0), linear-gradient(to bottom, #08080a80, transparent 18%, transparent 70%, var(--bg)); }
/* The footage's glass sits on the left in both languages, so the copy stays on the right (physical, not logical). */
.hero-copy { width: min(600px, 46%); margin-left: auto; margin-right: var(--gutter); padding-bottom: clamp(70px, 14vh, 150px); }
.hero-copy .eyebrow { font-size: 17px; color: #d8d5cf; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5vw, 86px); line-height: 1.45; margin: 18px 0 22px; }
:lang(en) .hero h1 { line-height: 1.08; letter-spacing: -.02em; }
.hero h1 span { display: block; }
.hero h1 .glint { background: linear-gradient(100deg, var(--fg) 0 40%, #ffb36b 46%, #ffe48a 50%, #6fe6c0 54%, #79b8ff 58%, var(--fg) 64% 100%);
  background-size: 320% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: glint 5.5s 1.2s cubic-bezier(.45, .05, .35, 1) forwards; }
.hero h1 .glint.again { animation-delay: 0s; }
[dir="rtl"] .hero h1 .glint { background-position: 0 0; animation-name: glint-rtl; }
@keyframes glint { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes glint-rtl { from { background-position: 0 0; } to { background-position: 100% 0; } }
.reduced .hero h1 .glint { animation: none; background: none; color: var(--fg); }
/* Arabic: a larger headline so its two lines fill the text column the way the four English lines do. */
:lang(ar) .hero-copy { width: auto; max-width: 56%; }
:lang(ar) .hero h1 { font-family: var(--ar-display, var(--serif)); font-size: clamp(46px, 5.6vw, 100px); line-height: 1.32; margin: 14px 0 26px; }
:lang(ar) .hero h1 span { white-space: nowrap; } /* keep the two Arabic lines as written */
:lang(ar) .hero-copy .eyebrow { font-size: clamp(17px, 1.45vw, 22px); }
.hero p.desc { color: #d6d3cd; font-size: 17px; line-height: 1.8; max-width: 34em; margin: 0; }
:lang(ar) .hero p.desc { font-size: clamp(17px, 1.5vw, 22px); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-foot { display: flex; justify-content: space-between; padding: 0 var(--gutter) 26px; font-size: 12px; color: var(--dim); }
:lang(en) .hero-foot { letter-spacing: .2em; text-transform: uppercase; font-size: 10.5px; }
.motion-toggle { position: absolute; inset-inline-start: var(--gutter); bottom: 58px; font: 12px var(--sans); color: var(--dim); background: #08080acc; border: 1px solid var(--rule); padding: 8px 12px; min-height: 36px; cursor: pointer; }
.reduced .motion-toggle { display: none; }
.font-trial { position: absolute; inset-inline-end: var(--gutter); bottom: 58px; display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--dim); }
.font-trial a { text-decoration: none; border: 1px solid var(--rule); padding: 5px 10px; border-radius: 999px; color: #cfccc6; }
.font-trial a[aria-current] { background: var(--fg); color: var(--bg); }

/* ---------- Selected work: grey gallery; the lens comes to what you point at (work-gallery.js) ---------- */
.work { position: relative; padding-top: clamp(70px, 10vh, 120px); }
.wg-filters { max-width: 1500px; margin: 4vh auto 0; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; gap: 10px; }
.wg-filters button { font: 15px var(--sans); color: #bdbab4; background: none; border: 1px solid var(--rule); border-radius: 999px; min-height: 44px; padding: 0 20px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
:lang(en) .wg-filters button { letter-spacing: .12em; text-transform: uppercase; font-size: 11.5px; }
.wg-filters button:hover { border-color: var(--fg); color: var(--fg); }
.wg-filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.wg { position: relative; max-width: 1500px; margin: 5vh auto 0; padding: 0 var(--gutter) 4vh; }
/* the canvas paints the cards (grey, and the lens); the real buttons sit on top for pointer, focus and screen readers */
.wg canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.wg-grid { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 48px 24px; }
.wg-grid li { width: calc(var(--h, 50vh) * var(--r)); flex: none; display: grid; gap: 14px; }
.wg-grid li[hidden] { display: none; }
.wg-card { display: block; width: 100%; aspect-ratio: var(--r); padding: 0; border: 0; border-radius: 10px; background: #111; cursor: pointer; overflow: hidden; }
.wg-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.75); transition: filter .5s; }
.wg-gl .wg-card { background: transparent; }
.wg-gl .wg-card img { opacity: 0; } /* drawn by the canvas */
.wg-static .wg-card img, .wg-static .wg-grid li.on .wg-card img, .wg-card:hover img { filter: none; }
/* the service leads; the project name is the quieter second line */
.wg-grid .tag { margin: 0; display: grid; gap: 4px; }
.wg-grid .tag b { font: 400 clamp(20px, 1.7vw, 26px) / 1.3 var(--serif); color: #b8b5af; transition: color .4s; }
:lang(en) .wg-grid .tag b { letter-spacing: -.01em; }
.wg-grid .tag span { font-size: 14px; color: var(--dim); transition: color .4s; }
:lang(en) .wg-grid .tag span { letter-spacing: .12em; text-transform: uppercase; font-size: 11.5px; }
.wg-grid li.on .tag b { color: var(--fg); }
.wg-grid li.on .tag span { color: #c9c6c0; }
/* viewer: the whole film or artwork */
.wg-viewer { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(8 8 10 / .96); color: var(--fg);
  display: none; place-items: center; grid-template-rows: 1fr auto; }
.wg-viewer[open] { display: grid; }
.wg-viewer::backdrop { background: transparent; }
.wg-stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 6vh 4vw 2vh; min-height: 0; }
.wg-stage video, .wg-stage img { max-width: 100%; max-height: 100%; border-radius: 10px; transform-origin: 0 0; background: #000; }
.wg-vcap { margin: 0 0 4vh; font-size: 15px; color: var(--dim); }
.wg-vcap b { color: var(--fg); font: 400 22px var(--serif); }
.wg-close { position: absolute; top: 20px; inset-inline-end: 20px; font: 14px var(--sans); color: var(--fg); background: rgb(8 8 10 / .6); border: 1px solid var(--rule); border-radius: 999px; min-height: 44px; padding: 0 18px; cursor: pointer; }

/* ---------- Packages: a wide, soft light from above falls on the chosen package ---------- */
.packages { position: relative; isolation: isolate; padding: clamp(90px, 13vh, 150px) 0 clamp(70px, 10vh, 120px); }
.packages .lede { color: var(--dim); margin: 14px 0 0; font-size: 18px; }
.pk-stage { position: relative; max-width: 1400px; margin: 6vh auto 0; padding: 0 var(--gutter); }
.pk-light { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.pk-tabs { display: none; }
.pk-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pk { position: relative; padding: 8vh 3vw 5vh; border-inline-start: 1px solid var(--rule); text-align: center; cursor: pointer; transition: color .6s; color: #8d8b87; outline: none; }
.pk:first-child { border-inline-start: 0; }
.pk:focus-visible { box-shadow: inset 0 0 0 2px #9db8ff; }
.pk .rec { display: inline-block; font-size: 13px; padding: 7px 16px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .22); margin-bottom: 18px; visibility: hidden; color: var(--fg); }
:lang(en) .pk .rec { letter-spacing: .18em; text-transform: uppercase; font-size: 11px; }
.pk.recommended .rec { visibility: visible; }
.pk h3 { font: 400 clamp(44px, 4vw, 68px) / 1.2 var(--serif); margin: 0; transition: color .6s, text-shadow .6s; }
.pk .price { margin: 14px 0 8px; font-size: 16px; }
.pk .price b { font: 500 clamp(26px, 2.2vw, 34px) var(--sans); letter-spacing: .02em; }
.pk .about-pk { font-size: 16.5px; line-height: 1.75; min-height: 3.5em; margin: 8px auto 0; max-width: 22em; }
.pk hr { border: 0; border-top: 1px solid currentColor; opacity: .3; margin: 28px auto; width: 80%; }
.pk ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; text-align: start; width: fit-content; margin-inline: auto; }
.pk li { display: grid; grid-template-columns: 12px 1fr; gap: 14px; align-items: baseline; font-size: 17px; }
.pk li .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .55; transform: translateY(-2px); transition: background .6s, box-shadow .6s, opacity .6s; }
.pk li small { display: block; font-size: 13.5px; opacity: .75; margin-top: 3px; }
:lang(en) .pk li small { letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.pk li.off { opacity: .45; }
.pk .inq { margin-top: 36px; opacity: 0; transition: opacity .5s; }
.pk.lit { color: var(--fg); }
.pk.lit h3 { text-shadow: 0 0 34px rgb(255 220 170 / .4); }
.pk.lit .inq { opacity: 1; }
.pk.lit li .dot { opacity: 1; }
.pk.lit li:nth-child(1) .dot { background: #ff8a5c; box-shadow: 0 0 10px #ff8a5c; }
.pk.lit li:nth-child(2) .dot { background: #ffd36a; box-shadow: 0 0 10px #ffd36a; }
.pk.lit li:nth-child(3) .dot { background: #8ce07a; box-shadow: 0 0 10px #8ce07a; }
.pk.lit li:nth-child(4) .dot { background: #4fd9c4; box-shadow: 0 0 10px #4fd9c4; }
.pk.lit li:nth-child(5) .dot { background: #5aaeff; box-shadow: 0 0 10px #5aaeff; }
.pk.lit li:nth-child(6) .dot { background: #9b86ff; box-shadow: 0 0 10px #9b86ff; }
.pk.lit li:nth-child(7) .dot { background: #f08ad8; box-shadow: 0 0 10px #f08ad8; }
.pk-note { color: var(--dim); font-size: 15px; line-height: 1.8; max-width: 60em; margin: 4vh auto 0; text-align: center; padding: 0 var(--gutter); }
.pk-extra { max-width: 1400px; margin: 9vh auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; }
.pk-extra article { padding: 34px 3vw; border-top: 1px solid var(--rule); }
.pk-extra article + article { border-inline-start: 1px solid var(--rule); }
.pk-extra h3 { font: 400 32px/1.3 var(--serif); margin: 0 0 10px; }
.pk-extra p { color: #bdbab4; font-size: 16px; line-height: 1.8; margin: 0 0 22px; max-width: 34em; }
.pk-extra .muted { color: var(--dim); font-size: 14px; margin-bottom: 8px; }

/* Prototype switch between the two package layouts */
.pk-view { display: flex; gap: 6px; margin-top: 18px; font-size: 12.5px; }
.pk-view a { text-decoration: none; border: 1px solid var(--rule); padding: 6px 12px; border-radius: 999px; color: #cfccc6; }
.pk-view a[aria-current] { background: var(--fg); color: var(--bg); }
/* Compact table: one line per item (name at the start, value at the end), tighter spacing,
   so a whole package fits on one phone screen and rows line up across the three columns. */
.pk-compact .pk { padding: 4vh 2.4vw 3vh; }
.pk-compact .pk .rec { margin-bottom: 10px; padding: 5px 14px; }
.pk-compact .pk h3 { font-size: clamp(38px, 3.2vw, 56px); }
.pk-compact .pk .price { margin: 6px 0 4px; }
.pk-compact .pk .about-pk { font-size: 15.5px; line-height: 1.6; min-height: 3.2em; }
.pk-compact .pk hr { margin: 16px auto 4px; }
.pk-compact .pk ul { width: 100%; max-width: 25em; gap: 0; }
.pk-compact .pk li { grid-template-columns: 8px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgb(255 255 255 / .07); font-size: 16px; }
.pk-compact .pk li .dot { transform: none; width: 6px; height: 6px; }
.pk-compact .pk li > span:last-child { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px; text-align: end; }
.pk li i { font-style: normal; }
.pk-compact .pk li small { order: -1; margin: 0; font-size: 14px; opacity: .8; text-align: start; }
/* a long value that wraps stays on the value side */
.pk-compact .pk li i { margin-inline-start: auto; text-align: end; }
:lang(en) .pk-compact .pk li small { letter-spacing: .05em; font-size: 11.5px; }
.pk-compact .pk .inq { margin-top: 18px; }
@media (max-width: 760px) {
  .pk-compact .pk { padding: 2vh 2px 2vh; }
  .pk-compact .pk h3 { font-size: 44px; }
  .pk-compact .pk .about-pk { font-size: 15px; min-height: 0; }
  .pk-compact .pk li { font-size: 16px; padding: 8px 0; }
  .pk-compact .pk hr { margin: 12px auto 2px; }
  .pk-compact .pk .inq { margin-top: 14px; }
  .pk-compact .pk li small { font-size: 14px; }
}

/* ---------- About: three verbs side by side, each performed on its word ---------- */
.about { position: relative; padding: clamp(90px, 13vh, 150px) 0 0; }
/* three verbs side by side: shorter page, one glance */
.about-list { max-width: 1400px; margin: 6vh auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.verb { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
/* English: "We" stands alone before the three verbs, on the same line as them */
.about-list.has-lead { grid-template-columns: auto repeat(3, 1fr); }
.lead-word { margin: 0; padding-top: calc(clamp(110px, 10vw, 150px) + 18px); font: 400 clamp(44px, 5vw, 84px) / 1.05 var(--serif); letter-spacing: -.02em; color: var(--fg); }
.verb .stage-tools { order: -1; }
.verb .word { position: relative; }
.verb h3 { font: 400 clamp(44px, 5vw, 84px) / 1.3 var(--serif); margin: 0; color: var(--fg); display: inline-block; position: relative; transform-origin: 50% 0; }
:lang(en) .verb h3 { line-height: 1.05; letter-spacing: -.02em; }
.verb .word p { margin: 10px auto 0; font-size: 16px; color: #b9b6b0; max-width: 18em; line-height: 1.7; }
:lang(en) .verb .word p { letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.stage-tools { position: relative; width: clamp(110px, 10vw, 150px); aspect-ratio: 1; flex: none; }
.tool { position: absolute; inset: 0; mix-blend-mode: screen; filter: brightness(1.15) saturate(.6); }
/* pen: rotates around its nib so the tip stays on the line */
.tool.pen { background: url("media/about-icons-sheet.webp") 0 0 / 200% 200% no-repeat; transform-origin: 27% 83%; z-index: 2; }
/* puppet: only the control bar; the strings are drawn live to the word */
.verb.animate { padding-top: calc(clamp(110px, 10vw, 150px) + 18px); }
.verb.animate .stage-tools { position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 100%; height: clamp(110px, 10vw, 150px); aspect-ratio: auto; }
.tool.bar { inset: auto; top: 0; width: clamp(150px, 16vw, 240px); height: clamp(60px, 6.5vw, 96px); inset-inline-start: 0;
  /* crop: just the cross bar from the top-right quarter of the sheet */
  background: url("media/about-icons-sheet.webp") 88% 10.5% / 274% 716% no-repeat; transform-origin: 50% 50%;
  filter: saturate(.6) contrast(1.25); /* no brightness lift: it turns the sheet's near-black into a visible box */ }
.verb .strings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.verb .strings line { stroke: rgb(255 232 205 / .5); stroke-width: 1; }
/* camera */
.tool.camera { background: url("media/about-camera.webp") center / cover no-repeat; filter: brightness(1.6) saturate(.6); }
[dir="ltr"] .tool.camera { transform: scaleX(-1); }
.verb .flash { position: absolute; width: 60px; height: 60px; border-radius: 50%; pointer-events: none; opacity: 0; z-index: 3;
  background: radial-gradient(circle, #fff 0 12%, rgb(255 240 215 / .85) 24%, rgb(255 215 160 / .25) 48%, transparent 70%); }
.verb .viewfinder, .verb .shutter { position: absolute; pointer-events: none; opacity: 0; }
.verb .viewfinder i { position: absolute; width: 22px; height: 22px; border: 1.5px solid rgb(255 245 230 / .75); }
.verb .viewfinder i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.verb .viewfinder i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.verb .viewfinder i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.verb .viewfinder i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.verb .shutter { background: #000; z-index: 2; }
/* Before each word is performed (motion only): the pen's word is a faint guide,
   the puppet's word hangs slack, the camera's frame is empty. */
.verb .ghost { position: absolute; top: 0; inset-inline: 0; text-align: center; font: 400 clamp(44px, 5vw, 84px) / 1.3 var(--serif); color: rgb(239 236 230 / .1); white-space: nowrap; pointer-events: none; }
:lang(en) .verb .ghost { line-height: 1.05; letter-spacing: -.02em; }
.about-armed .verb.design:not(.active):not(.done) h3 { opacity: 0; }
.verb.design h3.inking { color: #fff4e2; text-shadow: 0 0 26px rgb(255 206 140 / .45); transition: color 1.2s, text-shadow 1.2s; }
.verb.design h3 { transition: color 1.2s, text-shadow 1.2s; }
.about-armed .verb.animate:not(.active):not(.done) h3 { opacity: .4; }
.about-armed .verb.capture:not(.taken):not(.done) h3 { opacity: 0; }
/* the finale: the atom is the light source for the last line */
.finale { position: relative; display: grid; justify-items: center; text-align: center; padding: clamp(60px, 9vh, 120px) var(--gutter) clamp(50px, 7vh, 90px); margin-top: clamp(30px, 5vh, 60px); isolation: isolate; overflow-x: clip; } /* px-capped so tall screens do not open a gap */
/* the atom's glow: a soft warm light around it and the line, no beam */
/* the atom's glow: centred exactly on the atom (top padding + half the atom's size) */
.finale::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; width: min(760px, 120vw); aspect-ratio: 1;
  top: calc(clamp(60px, 9vh, 120px) + clamp(130px, 13vw, 190px) / 2); transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgb(255 222 180 / .13), rgb(255 222 180 / .04) 45%, transparent); opacity: .45; transition: opacity 2s; }
.finale.lit::before { opacity: 1; }

.finale .atom { position: relative; width: clamp(130px, 13vw, 190px); aspect-ratio: 1; }
.finale h3 { position: relative; font: 400 clamp(34px, 4.2vw, 70px) / 1.35 var(--serif); margin: clamp(36px, 6vh, 70px) 0 0; color: #b5b2ac; transition: color 1.6s, text-shadow 1.6s; max-width: 16em; }
:lang(en) .finale h3 { line-height: 1.1; letter-spacing: -.02em; }
.finale p { position: relative; margin: 18px 0 0; font-size: 18px; color: #a9a6a0; transition: color 1.6s; }
.finale.lit h3 { color: #fff; text-shadow: 0 0 40px rgb(255 214 160 / .3); }
.finale.lit p { color: #d9d6d0; }

/* ---------- Contact ---------- */
.contact { position: relative; padding: clamp(60px, 8vh, 110px) 0 clamp(80px, 12vh, 140px); isolation: isolate; overflow-x: clip; }
/* a soft warm glow around the heading that slowly breathes (no beam) */
/* the glow sits behind the heading itself, centred on it in every layout */
.contact h2::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -70% -25%;
  background: radial-gradient(closest-side, rgb(255 222 180 / .11), transparent); animation: breathe 9s ease-in-out infinite alternate; transition: opacity 1.6s; }
@keyframes breathe { from { opacity: .7; transform: scale(1); } to { opacity: 1; transform: scale(1.06); } }
.reduced .contact h2::before, .paused .contact h2::before { animation: none; }
.contact.sent h2::before { opacity: .15; animation: none; }

.contact-grid { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 0.9fr 1.2fr; gap: 6vw; align-items: start; }
.contact-intro { position: sticky; top: 12vh; }
.contact h2 { font: 400 clamp(54px, 6.4vw, 108px)/1.25 var(--serif); margin: 18px 30px 24px 0; margin-inline: 0 30px; position: relative; display: inline-block; } /* room for the idea dot */
:lang(en) .contact h2 { line-height: 1.02; letter-spacing: -.025em; }
.contact .inv { color: #d2cfc9; font-size: 19px; line-height: 1.8; max-width: 24em; margin: 0; }
/* where we are: practical for event coverage and on-location filming */
.contact .base { margin: 14px 0 0; font-size: 15px; color: var(--dim); display: flex; align-items: center; gap: 10px; }
.contact .base::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ffd9a3; box-shadow: 0 0 10px #ffd9a3; flex: none; }
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 0; max-width: 26em; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 16px 0; border-top: 1px solid var(--rule); font-size: 16px; color: #c4c1bb; }
.steps li span { color: var(--dim); font-variant-numeric: tabular-nums; font-size: 13px; padding-top: 3px; }
.idea-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; inset-inline-end: -28px; bottom: .35em; opacity: 0;
  box-shadow: 0 0 16px 6px rgb(255 214 160 / .8), 0 0 60px 20px rgb(255 190 120 / .3); }
.contact.sent .idea-dot { animation: gather 1.6s .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes gather { from { opacity: 0; transform: scale(6); filter: blur(10px); } 60% { opacity: 1; } to { opacity: 1; transform: scale(1); filter: blur(0); } }
/* the form: one clear panel, three numbered groups */
form.inq-form { display: grid; gap: 0; background: linear-gradient(180deg, rgb(255 255 255 / .045), rgb(255 255 255 / .015)); border: 1px solid rgb(255 255 255 / .1);
  border-radius: 22px; padding: clamp(26px, 3.4vw, 52px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 40px 120px -40px rgb(0 0 0 / .8); backdrop-filter: blur(6px); }
form.inq-form fieldset { border: 0; margin: 0; padding: 0 0 34px; }
form.inq-form fieldset + fieldset { border-top: 1px solid var(--rule); padding-top: 30px; }
form.inq-form legend { display: flex; gap: 12px; align-items: baseline; font: 400 clamp(24px, 2vw, 30px) var(--serif); padding: 0; margin-bottom: 18px; float: left; width: 100%; }
[dir="rtl"] form.inq-form legend { float: right; }
form.inq-form legend + * { clear: both; }
form.inq-form legend span { font: 13px var(--sans); color: var(--dim); font-variant-numeric: tabular-nums; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 2.4vw; clear: both; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14.5px; color: #c2bfb9; }
:lang(en) .field label { letter-spacing: .14em; text-transform: uppercase; font-size: 11px; }
.field input, .field textarea { font: 17px var(--sans); color: var(--fg); background: rgb(0 0 0 / .25); border: 1px solid rgb(255 255 255 / .14); border-radius: 12px;
  padding: 13px 14px; outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical; width: 100%; }
.field textarea { min-height: 120px; }
.field input:focus, .field textarea:focus { border-color: #ffd9a3; box-shadow: 0 0 0 3px rgb(255 205 140 / .15), 0 0 30px rgb(255 200 130 / .12); }
form.inq-form .help { font-size: 14px; color: var(--dim); margin: 0 0 14px; clear: both; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .28); font-size: 15px; color: #dad7d1; transition: background .35s, color .35s, box-shadow .5s; }
:lang(en) .pill span { letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; }
.pill input:checked + span { background: var(--fg); color: var(--bg); box-shadow: 0 0 22px rgb(255 230 200 / .25); }
.pill input:focus-visible + span { outline: 2px solid #9db8ff; outline-offset: 3px; }
.form-foot { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding-top: 8px; }
.form-foot .btn { min-height: 54px; padding: 0 34px; font-size: 16px; }
.form-foot .msg { color: #cfccc6; font-size: 14px; }
.site-footer { border-top: 1px solid var(--rule); margin: 0 var(--gutter); padding: 26px 0 34px; display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; color: var(--dim); font-size: 12.5px; }
.site-footer nav { margin-inline-start: auto; display: flex; gap: 26px; }
.site-footer a { text-decoration: none; }
:lang(en) .site-footer { letter-spacing: .18em; text-transform: uppercase; font-size: 10.5px; }

/* ---------- Intermediate widths ---------- */
@media (max-width: 1100px) {
  .contact-grid { grid-template-columns: 1fr; gap: 7vh; }
  .contact-intro { position: relative; top: auto; }
}
/* Tall tablets: the copy sits under the glass, so shade from below instead of from the side (no dark vertical band) */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .hero-media::after { background: linear-gradient(to bottom, #08080a80, transparent 18%, transparent 45%, #08080acc 72%, var(--bg)); }
  .hero-copy, :lang(ar) .hero-copy { width: auto; max-width: none; margin: 0 var(--gutter); }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .site-header { gap: 10px; padding: 14px 18px; }
  .site-header.floating { padding-block: 10px; }
  .header-note, .site-header > .lang-switch, .hd-nav { display: none; }
  .hd-cta { display: inline-flex; align-items: center; margin-inline-start: auto; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--fg); color: var(--bg); text-decoration: none; font-size: 14px; font-weight: 500; }
  :lang(en) .hd-cta { letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
  .hd-menu { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rule); background: rgb(8 8 10 / .4); color: var(--fg); font: 14px var(--sans); cursor: pointer; }
  .hd-menu .bars { width: 14px; height: 8px; border-block: 1.5px solid currentColor; }
  .menu-open .hd-menu .bars { height: 0; border-bottom: 0; }
  .hero-plate img, .hero-plate video { height: 52%; top: 11%; }
  .hero-media::after { background: linear-gradient(to bottom, var(--bg), transparent 17%, transparent 46%, var(--bg) 63%); }
  .hero-copy { width: auto; margin: 0; padding: 0 18px 120px; }
  .hero h1 { font-size: clamp(34px, 10vw, 50px); }
  :lang(ar) .hero-copy { width: auto; max-width: none; }
  :lang(ar) .hero h1 span { white-space: normal; }
  :lang(ar) .hero h1 { font-size: clamp(40px, 11.5vw, 60px); }
  .hero p.desc { font-size: 16px; }
  .motion-toggle { bottom: 54px; inset-inline-start: 18px; }
  .font-trial { bottom: 92px; inset-inline-start: 18px; inset-inline-end: auto; flex-wrap: wrap; }
  .wg-grid { flex-direction: column; align-items: center; gap: 40px; }
  .wg-grid li { width: min(100%, calc(60vh * var(--r))); }
  .wg-filters { gap: 8px; }
  .wg-filters button { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .pk-stage { padding-top: 28px; }
  .pk-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 3vh; }
  .pk-tabs button { font: 15px var(--sans); color: #bcb9b3; background: rgb(8 8 10 / .7); border: 1px solid var(--rule); border-radius: 999px; padding: 10px 18px; min-height: 46px; }
  .pk-tabs button[aria-pressed="true"] { color: var(--bg); background: var(--fg); }
  .pk-grid { grid-template-columns: 1fr; }
  .pk { display: none; border: 0; padding: 5vh 4px 4vh; }
  .pk.lit { display: block; }
  .pk h3 { font-size: clamp(48px, 14vw, 64px); }
  .pk .about-pk { font-size: 17px; }
  .pk li { font-size: 18px; }
  .pk li small { font-size: 14px; }
  .pk-extra { grid-template-columns: 1fr; }
  .pk-extra article + article { border-inline-start: 0; }
  .about-list, .about-list.has-lead { grid-template-columns: 1fr; gap: 8vh; }
  .lead-word { padding-top: 0; text-align: center; margin-bottom: -5vh; }
  .verb h3, .verb .ghost { font-size: clamp(42px, 12vw, 60px); }
  .stage-tools { width: 100px; }
  .verb.animate { padding-top: 118px; }
  .verb.animate .stage-tools { height: 100px; }
  .tool.bar { width: 140px; height: 56px; }
  .finale h3 { font-size: clamp(30px, 8.6vw, 42px); }
  .fields { grid-template-columns: 1fr; }
  form.inq-form { border-radius: 18px; }
  .site-footer nav { margin: 0; flex-wrap: wrap; }
}
