/* Fox & Carrots — colours, type and rules from the 2026 Brand Guidelines */

@font-face { font-family: "Bowlby One"; src: url("fonts/BowlbyOne-Regular.woff2") format("woff2"), url("fonts/BowlbyOne-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/BricolageGrotesque-Regular.woff2") format("woff2"), url("fonts/BricolageGrotesque-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/BricolageGrotesque-Bold.woff2") format("woff2"), url("fonts/BricolageGrotesque-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
/* Arabic text (brand kit: IBM Plex Sans Arabic). Only downloaded when Arabic letters are on screen. */
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("fonts/IBMPlexSansArabic-Regular.woff2") format("woff2"), url("fonts/IBMPlexSansArabic-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("fonts/IBMPlexSansArabic-Bold.woff2") format("woff2"), url("fonts/IBMPlexSansArabic-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
/* Arabic display (brand kit: Lalezar, the Arabic partner of Bowlby One). Arabic letters only, so Latin names stay in Bowlby One. */
@font-face { font-family: "Lalezar"; src: url("fonts/Lalezar-Regular.woff2") format("woff2"), url("fonts/Lalezar-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }

:root {
  --red: #F22414;
  --yellow: #FFC408;
  --ink: #210200;
  --fur: #EDEDED;
  --deep-red: #CB1E10;
  --white: #FFFFFF;
  --display: "Bowlby One", "Arial Black", Arial, sans-serif;
  --text: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 4vw, 48px);
  --fox: clamp(250px, 36vw, 500px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--ink); color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 28px; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); position: relative; }

h2, h3, .bar, .xl { font-family: var(--display); font-weight: 400; text-transform: uppercase; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: .95; }
h3 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.1; }
.xl { font-size: clamp(46px, 10vw, 128px); line-height: .9; }
.label { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.label.red { color: var(--deep-red); }
.label.yellow { color: var(--yellow); }

.btn { display: inline-block; font-size: 14px; line-height: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 16px 24px; border-radius: 8px; background: var(--deep-red); color: var(--white); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover, .btn:focus-visible { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--yellow); }
.btn.ink { background: var(--ink); }
.btn.ink:hover, .btn.ink:focus-visible { box-shadow: 6px 6px 0 var(--red); }
.btn.big { font-size: 16px; padding: 20px 32px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.why :focus-visible, .close :focus-visible { outline-color: var(--ink); }

/* ---------- The stage ---------- */
.stage { position: relative; min-height: 100vh; min-height: 100svh; background: var(--ink); color: var(--fur); overflow: visible; overflow-x: clip; display: flex; flex-direction: column; cursor: crosshair; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.top { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px var(--pad); }
.lockup { width: 150px; }
.top nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); }
.work-link { font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 3px solid var(--red); padding-bottom: 2px; }
.work-link:hover { color: var(--yellow); }
/* Language switch: a small pill naming the other language in its own script */
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 44px; padding: 0 14px; border: 2px solid rgba(237, 237, 237, .4); border-radius: 999px; text-decoration: none; color: var(--fur); font-weight: 700; font-size: 14px; letter-spacing: .1em; line-height: 1; transition: background .15s, color .15s, border-color .15s; }
.lang:hover, .lang:focus-visible { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.lang[lang="ar"] { font-family: "IBM Plex Sans Arabic", "Geeza Pro", Tahoma, sans-serif; font-weight: 400; font-size: 18px; letter-spacing: 0; padding-bottom: 3px; }
.pitch { position: relative; z-index: 2; margin: auto 0; padding: 24px var(--pad) 90px; max-width: 760px; pointer-events: none; }
.pitch .hint { pointer-events: auto; }

/* Label blocks: two bars at most, tilted under 4 degrees, ink type */
.bars { display: flex; flex-direction: column; align-items: flex-start; margin: 22px 0 34px; }
.bar { display: inline-block; white-space: nowrap; color: var(--ink); padding: .1em .3em .14em; line-height: 1; }
.bar.red { background: var(--red); transform: rotate(-3deg); font-size: clamp(54px, 10.5vw, 132px); }
.bar.white { background: var(--white); transform: rotate(-2deg); margin: -.12em 0 0 .5em; position: relative; font-size: clamp(25px, 4.6vw, 58px); }
.lede { font-size: clamp(19px, 2vw, 23px); line-height: 1.4; max-width: 23em; }
.hint { margin-top: 26px; color: var(--yellow); font-weight: 700; font-size: 16px; line-height: 22px; border-radius: 6px; }
.hint .touch { display: none; }
.hint.done { opacity: .55; }

/* The fox. It only ever slides around: never rotated, flipped, stretched or recoloured. */
.fox, .talk { position: absolute; left: 73%; top: 56%; width: var(--fox); height: var(--fox); margin: calc(var(--fox) / -2) 0 0 calc(var(--fox) / -2); pointer-events: none; will-change: transform; }
.fox, .talk { z-index: 3; }
/* Computers: the fox follows the mouse down the whole page (pinned to the window, above the sections) */
html.follow .fox, html.follow .talk { position: fixed; z-index: 40; }
html.follow .fox { transform-origin: 50% 50%; }
/* The fox is the kit's transparent artwork: nothing around the head but the page itself.
   The wink is a small strip of eye frames laid exactly over the eye for a moment. */
.fox-in { position: absolute; inset: 0; }
.fox-art { position: absolute; left: 14.867%; top: 19.323%; width: 70.272%; height: auto; max-width: none; user-select: none; -webkit-user-drag: none; }
.fox-eye { position: absolute; left: 38.889%; top: 38.704%; width: 13.333%; height: 10%; background: url("assets/wink-eye.png") 0 0 / 500% 100% no-repeat; opacity: 0; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 86%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 86%, transparent 100%); }
.fox-eye[data-f] { opacity: 1; }
.fox-eye[data-f="1"] { background-position: 25% 0; }
.fox-eye[data-f="2"] { background-position: 50% 0; }
.fox-eye[data-f="3"] { background-position: 75% 0; }
.fox-eye[data-f="4"] { background-position: 100% 0; }
/* Press the fox: it swells quickly and smoothly, holds a beat, then eases back. */
.fox-in { transform-origin: 50% 55%; }
.fox.pop .fox-in { animation: pop .62s both; }
@keyframes pop {
  0%   { transform: scale(1);    animation-timing-function: cubic-bezier(.2, .9, .3, 1); }
  22%  { transform: scale(1.14); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
  100% { transform: scale(1); }
}
.bubble { position: absolute; left: 50%; bottom: 86%; width: max-content; max-width: min(280px, 70vw); transform: translate(-50%, 14px) scale(.82); transform-origin: 50% 100%; background: var(--white); color: var(--ink); border-radius: 16px; padding: 12px 16px; font-weight: 700; font-size: 17px; line-height: 1.3; text-align: center; opacity: 0; transition: opacity .18s ease-out, transform .38s cubic-bezier(.22, 1.25, .36, 1); }
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 18px; height: 18px; margin-left: -9px; background: var(--white); transform: rotate(45deg); }
.bubble.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.say { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---------- The work: the fox fetches it ---------- */
.work { position: relative; background: var(--ink); color: var(--fur); padding: clamp(72px, 10vw, 120px) 0; overflow: hidden; }
.work h2 { margin: 10px 0 12px; }
.work .sub { color: #cfc4c2; max-width: 30em; margin-bottom: 36px; }
.work .sub .touch { display: none; }
.jobs { list-style: none; border-top: 3px solid #4a2320; }
.job { display: grid; grid-template-columns: 3.2em 1fr auto; align-items: center; gap: 8px 18px; padding: 16px 6px; border-bottom: 3px solid #4a2320; text-decoration: none; position: relative; z-index: 2; transition: none; }
.job .num { font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--yellow); }
.job .name { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 5.2vw, 64px); line-height: 1; }
.job .tag { color: #cfc4c2; text-align: right; }
.job .thumb { display: none; }
.job:hover, .job:focus-visible, .job.on { background: var(--fur); color: var(--ink); }
.job:hover .num, .job:focus-visible .num, .job.on .num { color: var(--deep-red); }
.job:hover .tag, .job:focus-visible .tag, .job.on .tag { color: var(--ink); }
.job:focus-visible { outline-offset: -3px; outline-color: var(--white); }

/* Like button: a fox paw at the end of each row. Outline = not liked yet, red paw = liked. */
.jobs li { position: relative; }
.jobs .job { padding-right: 124px; }
.paw { position: absolute; right: 10px; top: 50%; z-index: 3; width: 58px; height: 58px; margin-top: -29px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--fur); cursor: pointer; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.paw svg { width: 38px; height: 38px; overflow: visible; transition: transform .25s cubic-bezier(.2, 1.5, .4, 1); }
.paw:hover svg, .paw:focus-visible svg { transform: scale(1.14) rotate(-8deg); }
.paw:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.paw-n { position: absolute; right: 100%; top: 50%; margin-top: -10px; min-width: 2ch; font-weight: 700; font-size: 16px; line-height: 20px; letter-spacing: .02em; text-align: right; color: currentColor; font-variant-numeric: tabular-nums; pointer-events: none; }
.paw[aria-pressed="true"] .paw-n { color: var(--red); }
.jobs li:hover .paw[aria-pressed="true"] .paw-n { color: var(--deep-red); }
.paw[aria-pressed="true"] { color: var(--ink); }
.paw[aria-pressed="true"] { --pf: var(--red); --ps: var(--ink); }
.jobs li:hover .paw[aria-pressed="false"], .jobs .job.on + .paw[aria-pressed="false"], .jobs .job:focus-visible + .paw[aria-pressed="false"] { color: var(--ink); }
@media (hover: hover) { .jobs li:hover > .job { background: var(--fur); color: var(--ink); } .jobs li:hover > .job .num { color: var(--deep-red); } .jobs li:hover > .job .tag { color: var(--ink); } }
/* The stamp: paw thumps down, a yellow burst flashes behind it, little prints hop off. */
.paw.stamp svg { animation: paw-stamp .5s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes paw-stamp { 0% { transform: scale(1.5) translateY(-8px) rotate(-14deg); } 45% { transform: scale(.86) rotate(4deg); } 100% { transform: scale(1) rotate(0); } }
.paw-burst { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; pointer-events: none; z-index: -1; animation: paw-burst .55s ease-out forwards; }
@keyframes paw-burst { 0% { transform: scale(.2); opacity: 1; } 60% { opacity: 1; } 100% { transform: scale(1.25) rotate(18deg); opacity: 0; } }
.paw-print { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; color: var(--red); pointer-events: none; animation: paw-hop .7s cubic-bezier(.2, .7, .3, 1) forwards; }
.paw-print svg { width: 100%; height: 100%; }
.paw-print { --pf: currentColor; --ps: none; }
@keyframes paw-hop { 0% { transform: translate(0, 0) scale(.4); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1) rotate(var(--r)); opacity: 0; } }

/* The fox and the frame it carries. Slides to the pointer; never rotated. */
.fetch { position: absolute; left: 0; top: 0; z-index: 3; display: flex; align-items: center; pointer-events: none; opacity: 0; transition: opacity .18s; will-change: transform; }
.fetch.on { opacity: 1; }
.fetch-fox { width: 130px; height: auto; flex: none; margin-right: -18px; position: relative; z-index: 2; }
.fetch-card { width: 270px; aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; border: 4px solid var(--white); border-radius: 10px; overflow: hidden; box-shadow: 10px 10px 0 var(--red); }
.fetch-card.tall { width: 150px; aspect-ratio: 9 / 16; }
.fetch-card video, .fetch-card img { width: 100%; height: 100%; object-fit: cover; }
/* The still shows at once (as the card's background); the moving preview fades in only once it's really playing. */
.fetch-card video { opacity: 0; transition: opacity .15s; }
.fetch-card video.ready { opacity: 1; }
.fetch, .fetch * { pointer-events: none !important; }

/* The player */
.player { border: 0; padding: 0; background: transparent; color: var(--fur); margin: auto; max-width: min(1100px, 94vw); width: 100%; overflow: visible; }
.player.tall { max-width: min(420px, 94vw); }
.player::backdrop { background: rgba(33, 2, 0, .94); }
.player video { width: 100%; max-height: 78vh; background: #000; border-radius: 10px; border: 4px solid var(--white); }
.player-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.player-bar h3 { font-size: clamp(20px, 3vw, 30px); }
.player-bar button { flex: none; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; padding: 12px 18px; border-radius: 8px; }

/* ---------- Why a fox ---------- */
@media (min-width: 761px) and (max-width: 1020px) { .six { grid-template-columns: 1fr 1fr; } }
/* What we do */
.services { background: var(--yellow); color: var(--ink); padding: clamp(72px, 10vw, 120px) 0; }
.services h2 { margin: 10px 0 14px; }
.services .sub { max-width: 34em; margin-bottom: 36px; font-size: 18px; }
.six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.services .card { border-top-color: var(--red); }
.services .card:nth-child(even) { border-top-color: var(--ink); }
.services :focus-visible { outline-color: var(--ink); }
.why { background: var(--fur); padding: clamp(72px, 10vw, 120px) 0; }
.why h2 { margin: 10px 0 40px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border-radius: 12px; padding: 30px; border-top: 8px solid var(--yellow); transition: transform .25s cubic-bezier(.2, 1.5, .4, 1), box-shadow .25s ease; }
.card:nth-child(2) { border-top-color: var(--red); }
.card:nth-child(3) { border-top-color: var(--ink); }
.card:hover { transform: translate(-4px, -6px); box-shadow: 8px 8px 0 var(--ink); }
.card h3 { margin-bottom: 10px; }
.card p { color: #5A3F3A; }

/* ---------- Contact ---------- */
.close { background: var(--yellow); padding: clamp(80px, 12vw, 150px) 0 40px; overflow: hidden; }
.close .wrap { min-height: 420px; }
.close .xl { margin-bottom: 36px; position: relative; z-index: 2; font-size: clamp(38px, 6.6vw, 88px); }
.close .btn { position: relative; z-index: 2; }
.contact { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 30px; position: relative; z-index: 2; }
.contact a { font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--ink); padding-bottom: 2px; }
.contact a:hover { border-bottom-color: var(--red); }
.contact span { font-weight: 700; padding-bottom: 5px; }
.foot { margin-top: 90px; position: relative; z-index: 2; }
.close-fox { position: absolute; right: -60px; bottom: -110px; width: min(36vw, 440px); z-index: 1; pointer-events: none; }


/* ---------- FAQ ---------- */
.faq { background: var(--ink); color: var(--fur); padding: clamp(72px, 10vw, 120px) 0; }
.faq h2 { margin: 10px 0 30px; }
.faq .qa { border-top: 2px solid #4a2320; }
.faq .qa:last-of-type { border-bottom: 2px solid #4a2320; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-weight: 700; font-size: clamp(18px, 2.3vw, 23px); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 1em; text-align: center; font-size: 30px; line-height: 1; color: var(--yellow); }
.faq .qa[open] summary::after { content: "\2013"; }
.faq summary:hover, .faq .qa[open] summary { color: var(--yellow); }
.faq summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.faq .a { padding: 0 4px 26px; max-width: 62ch; color: #cfc4c2; font-size: 17px; line-height: 1.65; }
[lang="ar"] .faq summary { line-height: 1.5; }
[lang="ar"] .faq .a { line-height: 1.85; }

/* ---------- Phones ---------- */
@media (hover: none) {
  .hint .mouse, .work .sub .mouse { display: none; }
  .hint .touch, .work .sub .touch { display: inline; }
  .fetch { display: none; }
  .job { grid-template-columns: minmax(0, 1fr) 112px; }
  .job .name { overflow-wrap: break-word; }
  .jobs .job { padding-right: 70px; }
  .paw { right: 4px; }
  .paw-n { right: 0; left: 0; top: auto; bottom: -12px; margin: 0; font-size: 14px; text-align: center; }
  .job .num { display: none; }
  .job .tag { grid-column: 1; grid-row: 2; text-align: left; }
  .job .thumb { display: block; grid-column: 2; grid-row: 1 / span 2; width: 112px; height: 63px; object-fit: cover; border-radius: 6px; border: 2px solid var(--white); }
  .stage { cursor: default; }
}
@media (max-width: 760px) {
  :root { --fox: clamp(230px, 68vw, 330px); }
  .lockup { width: 140px; }
  .top .btn { padding: 13px 16px; font-size: 13px; }
  .pitch { margin: 0; padding-top: 18px; padding-bottom: calc(var(--fox) + 40px); }
  .fox, .talk { left: 50%; top: auto; bottom: 20px; margin-top: 0; }
  .three { grid-template-columns: 1fr; }
  .six { grid-template-columns: 1fr; }
  .job .tag { font-size: 12px; }
  .job .name { font-size: clamp(18px, 5.5vw, 26px); }
  .top .work-link { display: none; }
  .close .wrap { min-height: 0; }
  .foot { margin-top: 56px; }
  .close-fox { position: relative; right: auto; bottom: auto; width: 88%; margin: 30px -18% -110px auto; }
}

/* ---------- Arabic page (lang="ar", dir="rtl") ----------
   Same design, mirrored. Lalezar replaces Bowlby One, IBM Plex Sans Arabic replaces Bricolage Grotesque.
   Arabic letters must never be spaced apart (it breaks the joins), so letter-spacing goes to 0. */
:root[lang="ar"] { --display: "Lalezar", "Bowlby One", "Arial Black", sans-serif; --text: "IBM Plex Sans Arabic", "Bricolage Grotesque", "Geeza Pro", Tahoma, sans-serif; }
[lang="ar"] .label, [lang="ar"] .btn, [lang="ar"] .work-link, [lang="ar"] .player-bar button, [lang="ar"] .job .num { letter-spacing: 0; }
[lang="ar"] .label { font-size: 15px; line-height: 20px; }
[lang="ar"] .btn { font-size: 16px; }
[lang="ar"] .btn.big { font-size: 19px; }
[lang="ar"] .work-link { font-size: 16px; }
[lang="ar"] h2 { line-height: 1.25; }
[lang="ar"] h3 { line-height: 1.35; }
[lang="ar"] .bar { line-height: 1.25; padding: .02em .32em .1em; }
[lang="ar"] .bar.red { transform: rotate(3deg); }
[lang="ar"] .bar.white { transform: rotate(2deg); margin: -.05em .5em 0 0; }
[lang="ar"] .bars.latin .bar { line-height: 1; padding: .1em .3em .14em; }  /* the slogan stays in English (Bowlby One) */
[lang="ar"] .bars.latin .bar.white { margin-top: -.12em; }
[lang="ar"] .lede { line-height: 1.6; text-wrap: pretty; max-width: 24em; }
[lang="ar"] .hint, [lang="ar"] .bubble { line-height: 1.5; }
[lang="ar"] .close .xl { line-height: 1.2; }
[lang="ar"] .close .xl.latin { line-height: .9; text-align: right; }  /* the signature line stays in English (Bowlby One) */
[lang="ar"] .job .name, [lang="ar"] .player-bar h3 { font-family: "Bowlby One", "Arial Black", sans-serif; }  /* project names are brand names in Latin letters */
[lang="ar"] .job .tag { text-align: left; }
[lang="ar"] .fox, [lang="ar"] .talk { left: 27%; }
[lang="ar"] .jobs .job { padding-right: 6px; padding-left: 124px; }
[lang="ar"] .job:hover, [lang="ar"] .job:focus-visible, [lang="ar"] .job.on, [lang="ar"] .jobs li:hover > .job { padding-right: 6px; padding-left: 124px; }
[lang="ar"] .paw { right: auto; left: 10px; }
[lang="ar"] .paw-n { right: auto; left: 100%; text-align: left; }
[lang="ar"] .fetch { direction: ltr; }
[lang="ar"] .close-fox { right: auto; left: -60px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
@media (hover: none) {
  [lang="ar"] .jobs .job, [lang="ar"] .jobs li:hover > .job { padding-left: 70px; padding-right: 6px; }
  [lang="ar"] .paw { left: 4px; }
  [lang="ar"] .paw-n { left: 0; right: 0; text-align: center; }
  [lang="ar"] .job .tag { text-align: right; }
}
@media (max-width: 760px) {
  [lang="ar"] .fox, [lang="ar"] .talk { left: 50%; }
  [lang="ar"] .close-fox { left: auto; margin: 30px auto -110px -18%; }
  .lang { min-width: 44px; height: 44px; padding: 0 10px; }
  .top nav { gap: 10px; }
}

/* Netlify adds a "Powered by Netlify" badge on its free plan; keep it off our pages.
   (If Netlify ever renames it, the badge may come back: the official fix is switching it off on a paid plan.) */
#nl-badge-frame, iframe[id^="nl-badge"] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .stage { cursor: default; }
}

/* ---------- Bigger tap areas (44px) without changing the look ---------- */
.work-link, .contact a, .foot-links a, .crumbs a { position: relative; }
.work-link::after, .contact a::after { content: ""; position: absolute; inset: -10px -6px; }

/* ---------- Links from the homepage cards and footer ---------- */
.card h3 a { text-decoration: none; }
.card h3 a:hover, .card h3 a:focus-visible { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.foot-links { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 0 24px; position: relative; z-index: 2; font-weight: 700; font-size: 15px; }
.foot-links a { display: inline-block; padding: 12px 0; text-decoration: none; border-bottom: 2px solid rgba(33, 2, 0, .3); }
.foot-links a:hover, .foot-links a:focus-visible { border-bottom-color: var(--red); }
.foot-links + .foot { margin-top: 48px; }

/* ---------- Film and service pages ---------- */
.site-head { background: var(--ink); color: var(--fur); }
.page { background: var(--fur); color: var(--ink); padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 110px); }
.crumbs { font-size: 15px; margin-bottom: 26px; color: #5A3F3A; }
.crumbs a { display: inline-block; padding: 10px 0; text-decoration: underline; text-underline-offset: 3px; }
.page h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(36px, 6vw, 72px); line-height: .95; margin: 8px 0 18px; max-width: 16em; }
[lang="ar"] .page h1 { line-height: 1.3; }
.page .lede { max-width: 34em; margin-bottom: 34px; }
.page .lede a { font-weight: 700; }
.page h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 48px 0 14px; }
[lang="ar"] .page h2 { line-height: 1.3; }
.prose { max-width: 42em; }
.prose p { margin-bottom: 14px; color: #3b2522; }
.prose a:not(.btn) { font-weight: 700; text-underline-offset: 3px; }
.prose .btn { margin-top: 10px; }
.film video { width: 100%; height: auto; max-height: 80vh; background: #000; border: 4px solid var(--ink); border-radius: 12px; box-shadow: 10px 10px 0 var(--red); }
.film.tall video { width: auto; max-width: 100%; }
.facts { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 34px 0 0; }
.facts dt { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--deep-red); }
[lang="ar"] .facts dt { letter-spacing: 0; font-size: 15px; }
.facts dd { font-weight: 700; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: s; background: var(--white); border-radius: 12px; padding: 26px; border-top: 8px solid var(--yellow); }
.steps li:nth-child(2) { border-top-color: var(--red); }
.steps li:nth-child(3) { border-top-color: var(--ink); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 700; color: var(--deep-red); margin-bottom: 6px; }
.steps h3 { margin-bottom: 8px; font-size: 22px; }
.steps p { color: #5A3F3A; font-size: 17px; line-height: 26px; }
.more { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.more a { display: block; height: 100%; background: var(--ink); color: var(--fur); border-radius: 12px; overflow: hidden; text-decoration: none; transition: transform .25s cubic-bezier(.2, 1.5, .4, 1), box-shadow .25s ease; }
.more a:hover, .more a:focus-visible { transform: translate(-4px, -6px); box-shadow: 8px 8px 0 var(--red); }
.more img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.more-name { display: block; padding: 16px 18px 2px; font-family: "Bowlby One", "Arial Black", sans-serif; text-transform: uppercase; font-size: 22px; line-height: 1.1; }
.more-tag { display: block; padding: 0 18px 18px; font-size: 14px; color: #cfc4c2; }
.svc-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-list a { display: inline-block; padding: 12px 18px; border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 700; }
.svc-list a:hover, .svc-list a:focus-visible { background: var(--ink); color: var(--fur); }
.sub-page .close .xl { font-family: var(--display); text-transform: uppercase; }
.nf { min-height: 50vh; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .steps, .more { grid-template-columns: 1fr; } .film video { box-shadow: 6px 6px 0 var(--red); } }

.foot-links { max-width: min(100%, 620px); }
.top .btn { white-space: nowrap; }

/* ---------- Service pages: the same sections as the homepage ---------- */
.svc-hero { background: var(--ink); color: var(--fur); padding: clamp(16px, 3vw, 36px) 0 clamp(64px, 9vw, 110px); overflow: hidden; }
.svc-hero .crumbs { color: #cfc4c2; margin-bottom: clamp(20px, 4vw, 48px); }
.svc-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 32vw, 440px); align-items: center; gap: 24px 48px; }
.svc-hero h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(38px, 5.6vw, 80px); line-height: .95; margin: 14px 0 22px; }
[lang="ar"] .svc-hero h1 { line-height: 1.25; }
.svc-hero .lede { max-width: 30em; margin-bottom: 30px; }
.svc-fox { width: 100%; height: auto; }
.svc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-cards.n3 { grid-template-columns: repeat(3, 1fr); }
.svc-cards .card h2 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.1; margin-bottom: 10px; }
[lang="ar"] .svc-cards .card h2 { line-height: 1.35; }
.svc-cards .card p + p { margin-top: 10px; }
.svc-work h2 { margin: 10px 0 30px; }
.svc-work .more a { background: #2e0705; border: 3px solid #4a2320; }
.svc-more { padding-top: clamp(56px, 8vw, 90px); padding-bottom: clamp(56px, 8vw, 90px); }
.svc-more h2 { margin-bottom: 24px; }
@media (max-width: 1020px) { .svc-cards.n3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .svc-hero-in { grid-template-columns: 1fr; }
  .svc-fox { width: 72%; margin: 0 auto; }
  .svc-cards, .svc-cards.n3 { grid-template-columns: 1fr; }
}
