/* =====================================================================
   Dupedia — "Play environments" design layer
   Loaded after site.css and premium.css on every page.
   Palette: Paper #FFFFFF · Stone #EFECE6 · Ink #16191B · Palm #103B2C · Lime #B8D241 (brand)
   Type: Archivo (variable width + weight) for Latin, Alexandria for Arabic. Both SIL OFL, self-hosted.
   ===================================================================== */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  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; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alexandria"; src: url("/assets/fonts/alexandria-arabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-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; }
@font-face { font-family: "Alexandria"; src: url("/assets/fonts/alexandria-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --c-paper: #FFFFFF; --c-stone: #EFECE6; --c-stone-2: #E4E0D7; --c-ink: #16191B; --c-ink-2: #4A4F52; --c-ink-3: #6A6F71;
  --c-line: #DEDAD2; --c-palm: #103B2C; --c-palm-2: #0B2D21; --c-lime: #B8D241;
  --c-gutter: clamp(20px, 4.4vw, 64px); --c-max: 1440px; --c-r: 18px; --c-r-s: 12px;
  --c-ease: cubic-bezier(.2, .7, 0, 1);
  --c-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  /* re-point the existing site tokens so every legacy page inherits the identity */
  --text: var(--c-ink); --text-2: var(--c-ink-2); --text-3: var(--c-ink-3); --line: var(--c-line); --line-2: #BDB8AE;
  --bg-deep: var(--c-stone); --surface: #F4F2EE; --surface-2: var(--c-stone);
  --accent: var(--c-lime); --lime: var(--c-lime); --charcoal: var(--c-ink);
  --f-display: var(--c-sans); --f-text: var(--c-sans);
}
html[lang="ar"] { --c-sans: "Alexandria", "Archivo", Tahoma, sans-serif; }

html body { font-family: var(--c-sans); font-stretch: 100%; color: var(--c-ink); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html body h1, html body h2, html body h3, html body h4 { font-family: var(--c-sans); }
::selection { background: var(--c-lime); color: var(--c-ink); }
:focus-visible { outline: 2.5px solid var(--c-palm); outline-offset: 3px; border-radius: 6px; }

/* ---------- shared type: one heading scale, no accent-word styling ---------- */
html body .h1, html body .phero h1 { font-family: var(--c-sans); font-stretch: 112%; font-weight: 760; letter-spacing: -.035em; line-height: .96; font-size: clamp(42px, 6vw, 92px); }
html body .h2 { font-stretch: 108%; font-weight: 720; letter-spacing: -.03em; line-height: 1.02; font-size: clamp(32px, 4.2vw, 60px); }
html body .h3 { font-stretch: 104%; font-weight: 680; letter-spacing: -.02em; }
html body .h4 { font-stretch: 100%; font-weight: 650; letter-spacing: -.01em; }
html body :is(.h1, .h2, .h3, .h4, h1, h2, h3) em { font-style: normal; font-family: inherit; color: inherit; font-weight: inherit; }
html[lang="ar"] body :is(.h1, .h2, .h3, h1, h2, .c-display, .c-h2) { letter-spacing: 0; line-height: 1.2; font-stretch: 100%; }
html body .eyebrow { font: 600 14px/1.3 var(--c-sans); letter-spacing: 0; text-transform: none; color: var(--c-ink-2); }
html body .eyebrow.dot::before { width: 10px; height: 10px; border-radius: 3px; background: var(--tone, var(--c-lime)); }
html body .lede { color: var(--c-ink-2); }
.tbc { font: 500 12px/1.4 var(--c-sans) !important; letter-spacing: 0 !important; }

/* ---------- buttons: soft rectangles echoing the logo's rounded letterforms ---------- */
html body .btn, html body .p-button, .c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: var(--c-r-s); border: 0; font: 600 15.5px/1 var(--c-sans); font-stretch: 104%; letter-spacing: 0; text-decoration: none; cursor: pointer;
  background: var(--c-palm); color: #fff; box-shadow: none; transition: background .25s, color .25s, box-shadow .25s, transform .25s var(--c-ease);
}
html body .btn:hover, html body .p-button:hover, .c-btn:hover { background: var(--c-palm-2); color: #fff; transform: translateY(-1px); }
html body .btn:active, .c-btn:active { transform: translateY(0) scale(.98); }
html body .btn::before { display: none; }
html body .btn .ic { display: none; }
html body .btn-lime, .c-btn-lime { background: var(--c-lime); color: var(--c-ink); }
html body .btn-lime:hover, .c-btn-lime:hover { background: #C9E05C; color: var(--c-ink); }
html body .btn-ghost, .c-btn-quiet { background: transparent; color: var(--c-ink); box-shadow: inset 0 0 0 1.5px var(--c-ink); }
html body .btn-ghost:hover, .c-btn-quiet:hover { background: var(--c-ink); color: #fff; }
.c-btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.c-btn-ghost:hover { background: #fff; color: var(--c-palm); }
.c-btn[aria-pressed="true"] { background: var(--c-lime); color: var(--c-ink); box-shadow: none; }
html body .btn-s { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
html body .btn-xl { min-height: 56px; padding: 0 30px; font-size: 16.5px; }
html body .band-dark .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
html body .band-dark .btn-ghost:hover { background: #fff; color: var(--c-palm); }

.c-link, html body a.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 3px; transition: background-size .35s var(--c-ease); }
.c-link:hover, html body a.link:hover { background-size: 100% 1.5px; }
.c-link .ic { transition: transform .3s var(--c-ease); }
.c-link:hover .ic { transform: translateX(3px); }
html[dir="rtl"] .c-link .ic, html[dir="rtl"] .c-paths .ic { transform: scaleX(-1); }

/* ---------- header ---------- */
html body .hdr { background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; }
html body .hdr.is-solid { border-bottom-color: var(--c-line); }
html body .hdr-in { min-height: 72px; max-width: calc(var(--c-max) + 2 * var(--c-gutter)); padding-inline: var(--c-gutter); gap: 28px; }
html body .hdr-logo img { width: 150px; height: auto; }
html body .nav { gap: clamp(16px, 2vw, 34px); }
html body .nav a { font: 550 15px/1 var(--c-sans); color: var(--c-ink-2); padding: 12px 0; }
html body .nav a:hover, html body .nav a[aria-current="page"] { color: var(--c-ink); }
html body .nav a::after { width: 100%; height: 2px; left: 0; margin: 0; bottom: 2px; border-radius: 2px; background: var(--c-ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--c-ease); }
html body .nav a:hover::after, html body .nav a[aria-current="page"]::after { transform: scaleX(1); }
html body .hdr-act .btn { font-size: 14.5px; min-height: 44px; padding-inline: 18px; font-weight: 600; }
html body .header-careers, html body .hdr-act .lang, html body .hdr-act a:not(.btn) { font-weight: 550; color: var(--c-ink-2); }
html body .burger { background: transparent; color: var(--c-ink); box-shadow: inset 0 0 0 1.5px var(--c-line); width: 46px; height: 46px; }
html body .sheet nav a { font: 700 30px/1.1 var(--c-sans); font-stretch: 110%; letter-spacing: -.025em; }
html body .sheet nav a[aria-current="page"] { font-style: normal; color: var(--c-palm); }

/* ---------- footer: the one dark Palm band shared by every page ---------- */
html body .ftr { --bg: var(--c-palm); background: var(--c-palm); color: rgba(255,255,255,.72); border-top: 0; }
html body .ftr a { color: rgba(255,255,255,.82); text-decoration: none; }
html body .ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
html body .ftr h2 { font: 650 14px/1.3 var(--c-sans); letter-spacing: 0; text-transform: none; color: #fff; }
html body .ftr-brand img { width: 220px; height: auto; }
html body .ftr .brandline, html body .ftr .brandline em { color: rgba(255,255,255,.72); font-style: normal; font-family: var(--c-sans); }
html body .ftr .block-band { opacity: .9; }
html body .ftr .tbc { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.25); background: transparent; }
html body .ftr-base { color: rgba(255,255,255,.6); border-top-color: rgba(255,255,255,.14); }

/* ---------- page heroes on legacy pages take the section's tone ---------- */
html body .phero h1 { max-width: 14em; }
html body .phero .corner-mark { --c: var(--tone, var(--c-lime)) !important; }
body[data-tone="play"] { --tone: #B8D241; } body[data-tone="soft"] { --tone: #F2643D; } body[data-tone="water"] { --tone: #1E9FB0; }
body[data-tone="arcade"] { --tone: #F7B32B; } body[data-tone="amuse"] { --tone: #6C5CE7; } body[data-tone="furniture"] { --tone: #C49A6C; }
html body .crumbs { font-size: 14px; }

/* ---------- homepage ------------------------------------------------------------------------ */
.c-wrap { width: 100%; max-width: calc(var(--c-max) + 2 * var(--c-gutter)); margin-inline: auto; padding-inline: var(--c-gutter); }
.c-sec { padding-block: clamp(80px, 9vw, 140px); }
.c-display { font-family: var(--c-sans); font-stretch: 115%; font-weight: 800; letter-spacing: -.045em; line-height: .9; margin: 0; }
.c-h2 { font-family: var(--c-sans); font-stretch: 108%; font-weight: 720; letter-spacing: -.032em; line-height: 1.02; font-size: clamp(34px, 4.1vw, 60px); margin: 0; max-width: 18ch; text-wrap: balance; }
.c-h3 { font-family: var(--c-sans); font-stretch: 104%; font-weight: 680; letter-spacing: -.015em; font-size: clamp(20px, 1.7vw, 24px); margin: 0; }
.c-lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--c-ink-2); margin: 0; max-width: 34em; }
.c-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.c-sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.c-sec-head-sm { margin: clamp(64px, 7vw, 104px) 0 28px; padding-top: 28px; border-top: 1px solid var(--c-line); }
main#main { overflow-x: clip; }

/* hero */
.c-hero { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(28px, 3vw, 44px); }
.c-hero-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: 24px 56px; align-items: end; }
.c-hero h1 .c-l1 { display: block; font-size: clamp(44px, 5.7vw, 92px); white-space: nowrap; }
.c-hero h1 .c-l2 { display: block; margin-top: .22em; font-size: clamp(25px, 2.95vw, 46px); font-stretch: 78%; font-weight: 420; letter-spacing: -.02em; line-height: 1.05; color: var(--c-ink-2); }
.c-hero-side { display: grid; gap: 24px; padding-bottom: 6px; }
.c-places { list-style: none; margin-top: clamp(28px, 3.4vw, 48px); margin-bottom: 0; display: flex; gap: 10px; height: clamp(360px, 49vh, 560px); }
.c-place { position: relative; flex: 1 1 0; min-width: 150px; border-radius: var(--c-r); overflow: hidden; background: var(--c-stone-2); transition: flex-grow .7s var(--c-ease); }
.c-place.is-open { flex-grow: 4.2; }
.c-place-body { position: absolute; inset: 0; }
.c-place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--c-ease), filter .7s; filter: saturate(.85) brightness(.82); }
.c-place.is-open img { transform: scale(1); filter: none; }
.c-place::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,20,16,0) 45%, rgba(10,20,16,.62) 100%); }
.c-place-tab { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding: 18px; overflow-wrap: anywhere; border: 0; background: transparent; color: #fff; text-align: start; cursor: pointer; font: 650 16px/1.2 var(--c-sans); }
.c-place-tab:focus-visible { outline-offset: -6px; outline-color: #fff; }
.c-place.is-open .c-place-tab { opacity: 0; pointer-events: none; }
.c-place-copy { position: absolute; z-index: 3; inset: auto 0 0 0; padding: clamp(20px, 2.4vw, 34px); color: #fff; display: grid; gap: 6px; max-width: 34em; opacity: 0; transform: translateY(12px); transition: opacity .4s, transform .6s var(--c-ease); pointer-events: none; }
.c-place.is-open .c-place-copy { opacity: 1; transform: none; transition-delay: .25s; pointer-events: auto; }
.c-place-copy p { margin: 0; font-size: 16px; color: rgba(255,255,255,.88); }
.c-place-copy .c-place-name { font-size: clamp(24px, 2.2vw, 34px); font-stretch: 110%; font-weight: 740; letter-spacing: -.025em; color: #fff; line-height: 1.05; }
.c-place-copy a { margin-top: 10px; justify-self: start; display: inline-flex; gap: 8px; align-items: center; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid rgba(255,255,255,.6); padding-bottom: 3px; }
.c-place-copy a:hover { border-color: #fff; }
.c-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 22px auto 0; }
.c-facts div { border-top: 1.5px solid var(--c-ink); padding-top: 12px; }
.c-facts dt { font-size: 13.5px; color: var(--c-ink-3); }
.c-facts dd { margin: 4px 0 0; font-size: clamp(20px, 1.9vw, 28px); font-stretch: 110%; font-weight: 720; letter-spacing: -.02em; }

/* entrance: one orchestrated load moment, never on scroll */
@media (prefers-reduced-motion: no-preference) {
  .c-hero[data-enter] .c-l1, .c-hero[data-enter] .c-l2, .c-hero[data-enter] .c-hero-side { animation: c-rise .9s var(--c-ease) both; }
  .c-hero[data-enter] .c-l2 { animation-delay: .08s; } .c-hero[data-enter] .c-hero-side { animation-delay: .16s; }
  .c-hero[data-enter] .c-place { animation: c-unveil 1.1s var(--c-ease) both; }
  .c-hero[data-enter] .c-place:nth-child(2) { animation-delay: .07s; } .c-hero[data-enter] .c-place:nth-child(3) { animation-delay: .14s; } .c-hero[data-enter] .c-place:nth-child(4) { animation-delay: .21s; }
}
@keyframes c-rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes c-unveil { from { clip-path: inset(100% 0 0 0 round var(--c-r)); } to { clip-path: inset(0 0 0 0 round var(--c-r)); } }

/* clients */
.c-clients { background: var(--c-stone); }
.c-client-rows { border-bottom: 1px solid var(--c-line); }
.c-client-row { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 12px 40px; padding: clamp(20px, 2.2vw, 30px) 0; border-top: 1px solid var(--c-line); align-items: baseline; }
.c-client-row h3 { font: 600 15px/1.3 var(--c-sans); color: var(--c-ink-2); margin: 0; }
.c-client-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.c-client-row li { font-size: clamp(22px, 2.3vw, 36px); font-stretch: 92%; font-weight: 560; letter-spacing: -.02em; line-height: 1.2; }
.c-client-row li:not(:last-child)::after { content: "/"; margin-inline: .45em; color: var(--c-ink-3); font-weight: 300; }

/* worlds */
.c-worlds-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.c-world-list { list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; border-top: 1px solid var(--c-line); }
.c-world-list a { position: relative; display: grid; grid-template-columns: 30px 1fr; column-gap: 18px; align-items: center; padding: 18px 40px 18px 0; border-bottom: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink); }
.c-world-list a::after { content: ""; position: absolute; inset-inline-end: 6px; top: 50%; width: 12px; height: 12px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); transition: transform .35s var(--c-ease), opacity .3s; opacity: .35; }
html[dir="rtl"] .c-world-list a::after { transform: translateY(-50%) rotate(-135deg); }
.c-world-list a:hover::after, .c-world-list a.is-on::after { opacity: 1; transform: translate(4px, -50%) rotate(45deg); }
html[dir="rtl"] .c-world-list a:hover::after, html[dir="rtl"] .c-world-list a.is-on::after { transform: translate(-4px, -50%) rotate(-135deg); }
.c-world-list .dmark, .c-glyph { grid-row: span 2; --dm: 22px; width: 22px; height: 22px; }
.c-glyph { display: block; border-radius: 6px; background: var(--c-ink); }
.c-world-list li:nth-child(6) .c-glyph { background: #C49A6C; border-radius: 50% 50% 6px 6px; }
.c-world-name { font-size: clamp(22px, 2.1vw, 32px); font-stretch: 106%; font-weight: 680; letter-spacing: -.022em; line-height: 1.1; transition: transform .4s var(--c-ease); }
.c-world-line { font-size: 15px; color: var(--c-ink-2); margin-top: 4px; transition: transform .4s var(--c-ease); }
.c-world-list a:hover .c-world-name, .c-world-list a.is-on .c-world-name, .c-world-list a:hover .c-world-line, .c-world-list a.is-on .c-world-line { transform: translateX(6px); }
html[dir="rtl"] .c-world-list a:hover :is(.c-world-name, .c-world-line), html[dir="rtl"] .c-world-list a.is-on :is(.c-world-name, .c-world-line) { transform: translateX(-6px); }
.c-world-pics { position: sticky; top: 104px; aspect-ratio: 4 / 5; border-radius: var(--c-r); overflow: hidden; background: var(--c-stone-2); }
.c-world-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .6s, transform 1.4s var(--c-ease); }
.c-world-pics img.is-on { opacity: 1; transform: scale(1); }
.c-world-thumb { display: none; }

/* feature */
.c-feature { padding-top: 0; }
.c-feature-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.c-feature-pic { display: block; border-radius: var(--c-r); overflow: hidden; aspect-ratio: 16 / 10.5; background: var(--c-stone-2); }
.c-feature-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--c-ease); }
.c-feature-pic:hover img { transform: scale(1.025); }
.c-feature-copy { display: grid; gap: 22px; }
.c-feature-copy > p { margin: 0; color: var(--c-ink-2); font-size: 18px; max-width: 30em; }
.c-specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; margin: 4px 0; }
.c-specs dt { font-size: 13.5px; color: var(--c-ink-3); } .c-specs dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; font-stretch: 108%; letter-spacing: -.015em; }
.c-pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.c-pcards a { display: grid; gap: 14px; text-decoration: none; color: var(--c-ink); transition: transform .35s var(--c-ease); }
.c-pcards a:hover { transform: translateY(-2px); }
.c-pcard-pic { display: block; border-radius: var(--c-r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-stone-2); }
.c-pcard-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--c-ease); }
.c-pcards a:hover img { transform: scale(1.03); }
.c-pcard-meta { display: grid; gap: 4px; }
.c-pcard-name { font-size: 21px; font-weight: 680; font-stretch: 106%; letter-spacing: -.015em; }
.c-pcard-facts { display: flex; gap: 16px; color: var(--c-ink-2); font-size: 15px; }

/* process (Palm band) */
.c-process { background: var(--c-palm); color: #fff; }
.c-process-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.c-process .c-h2 { color: #fff; }
.c-steps { list-style: none; margin: clamp(36px, 4vw, 56px) 0 clamp(36px, 4vw, 48px); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; counter-reset: none; }
.c-steps li { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); }
.c-step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--c-lime); color: var(--c-ink); font-weight: 750; font-size: 15px; }
.c-steps h3 { margin: 6px 0 0; font-size: 21px; font-weight: 680; font-stretch: 106%; letter-spacing: -.015em; color: #fff; }
.c-steps p { margin: 0; color: rgba(255,255,255,.75); font-size: 16px; }
.c-process-pic { margin: 0; border-radius: var(--c-r); overflow: hidden; aspect-ratio: 4 / 5; }
.c-process-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

/* fit tool frame */
html body .c-fit { background: var(--c-stone); padding-block: clamp(80px, 9vw, 140px); }
html body .c-fit .fit-panel, html body .c-fit .fit-stage { background: #fff; border-radius: var(--c-r); }
html body .c-fit .seg button[aria-pressed="true"] { background: var(--c-palm); color: #fff; }

/* CEO */
.c-ceo-grid { display: grid; grid-template-columns: minmax(200px, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.c-ceo-grid > img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--c-r); filter: grayscale(1); }
.c-ceo-grid > div { display: grid; gap: 22px; justify-items: start; }
.c-ceo .c-h3 { color: var(--c-ink-2); font-size: 16px; font-weight: 600; font-stretch: 100%; }
.c-quote { margin: 0; font-size: clamp(24px, 2.5vw, 38px); font-stretch: 96%; font-weight: 480; letter-spacing: -.02em; line-height: 1.22; max-width: 26em; text-wrap: pretty; }
.c-ceo-name { margin: 0; color: var(--c-ink-2); } .c-ceo-name b { display: block; color: var(--c-ink); font-weight: 650; }

/* close */
.c-close { background: var(--c-stone); padding-block: clamp(80px, 9vw, 140px); }
.c-close-t { font-size: clamp(48px, 7vw, 112px); max-width: 12ch; }
.c-paths { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.c-paths a { position: relative; display: grid; align-content: start; gap: 10px; min-height: 100%; padding: 28px 28px 72px; border-radius: var(--c-r); background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px var(--c-line); text-decoration: none; color: var(--c-ink); transition: background .3s, transform .35s var(--c-ease), box-shadow .3s; }
.c-paths a:hover { background: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--c-ink); }
.c-paths li:first-child a { background: var(--c-palm); color: #fff; box-shadow: none; }
.c-paths li:first-child a:hover { background: var(--c-palm-2); }
.c-paths li:first-child span { color: rgba(255,255,255,.78); }
.c-paths b { font-size: clamp(21px, 1.9vw, 27px); font-weight: 700; font-stretch: 108%; letter-spacing: -.02em; }
.c-paths span { color: var(--c-ink-2); font-size: 16px; max-width: 26em; }
.c-paths i { position: absolute; inset-inline-start: 28px; bottom: 26px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--c-lime); color: var(--c-ink); font-style: normal; transition: transform .35s var(--c-ease); }
.c-paths a:hover i { transform: translateX(4px); }
html[dir="rtl"] .c-paths a:hover i { transform: translateX(-4px); }

/* ---------- homepage responsive ---------- */
@media (max-width: 1100px) {
  .c-hero-head { grid-template-columns: 1fr; align-items: start; }
  .c-hero-side { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .c-worlds-grid, .c-feature-grid, .c-process-grid { grid-template-columns: 1fr; }
  .c-world-pics { display: none; }
  .c-world-thumb { display: block; grid-row: span 2; width: 76px; height: 76px; border-radius: 12px; object-fit: cover; }
  .c-world-list a { grid-template-columns: 30px 1fr 76px; }
  .c-world-list a::after { display: none; }
  .c-process-pic { aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .c-hero-side { grid-template-columns: 1fr; }
  .c-hero .c-actions .c-btn { flex: 1 1 100%; }
  .c-hero h1 .c-l1 { white-space: normal; font-size: clamp(40px, 11.5vw, 56px); }
  .c-places { flex-direction: column; height: auto; gap: 8px; }
  .c-place { min-width: 0; }
  .c-place { flex: none; height: 64px; transition: height .7s var(--c-ease); }
  .c-place.is-open { height: 400px; }
  .c-place-tab { align-items: center; padding: 0 20px; }
  .c-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .c-client-row { grid-template-columns: 1fr; }
  .c-pcards { grid-template-columns: 1fr; }
  .c-steps { grid-template-columns: 1fr; }
  .c-ceo-grid { grid-template-columns: 1fr; } .c-ceo-grid > img { max-width: 280px; }
  .c-paths { grid-template-columns: 1fr; }
  .c-specs { gap: 20px; }
  .c-world-list a { grid-template-columns: 26px 1fr 64px; column-gap: 14px; padding-inline-end: 0; }
  .c-world-thumb { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .c-place, .c-place img, .c-place-copy, .c-world-pics img, .c-world-name, .c-world-line, .c-pcards a, .c-pcards img, .c-paths a { transition: none !important; }
}

/* worlds rows: explicit placement so the optional thumbnail never steals a column */
.c-world-list .dmark, .c-world-list .c-glyph { grid-column: 1; grid-row: 1 / span 2; }
.c-world-name { grid-column: 2; grid-row: 1; }
.c-world-line { grid-column: 2; grid-row: 2; }
.c-world-thumb { grid-column: 3; grid-row: 1 / span 2; }

/* ---------- projects ---------- */
.cp-hero { padding-block: clamp(32px, 4vw, 56px) clamp(48px, 6vw, 88px); }
.cp-title { font-size: clamp(46px, 6.6vw, 104px); max-width: 13ch; margin-top: 28px; }
.cp-hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; margin-top: clamp(28px, 3vw, 44px); }
.cp-count { display: flex; gap: 40px; margin: 0; }
.cp-count div { border-top: 1.5px solid var(--c-ink); padding-top: 10px; min-width: 120px; }
.cp-count dt { font-size: 13.5px; color: var(--c-ink-3); } .cp-count dd { margin: 2px 0 0; font-size: 34px; font-weight: 760; font-stretch: 110%; letter-spacing: -.02em; }
.cp-list { display: grid; gap: clamp(72px, 9vw, 140px); padding-bottom: clamp(80px, 9vw, 140px); }
.cp-chapter { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.cp-flip .cp-pic { order: 2; }
.cp-pic { margin: 0; border-radius: var(--c-r); overflow: hidden; aspect-ratio: 5 / 4; background: var(--c-stone-2); }
.cp-pic img { width: 100%; height: 100%; object-fit: cover; }
.cp-copy { display: grid; gap: 20px; justify-items: start; }
.cp-line { margin: 0; color: var(--c-ink-2); font-size: 18px; max-width: 30em; }
.cp-clients { list-style: none; margin: 8px 0; padding: 0; width: 100%; border-top: 1px solid var(--c-line); }
.cp-clients li { padding: 12px 0; border-bottom: 1px solid var(--c-line); font-size: clamp(20px, 1.8vw, 26px); font-stretch: 94%; font-weight: 560; letter-spacing: -.015em; }
@media (max-width: 900px) {
  .cp-chapter { grid-template-columns: 1fr; } .cp-flip .cp-pic { order: 0; }
  .cp-hero-foot { grid-template-columns: 1fr; }
}
html[dir="rtl"] .c-place-copy .ic { transform: scaleX(-1); }

/* ---------- enquiry form ---------- */
html body .form { border-radius: var(--c-r); }
html body .field > span { font: 600 14.5px/1.3 var(--c-sans); color: var(--c-ink); }
html body .field :is(input, select, textarea) { font: 400 16px/1.4 var(--c-sans); border-radius: 10px; border: 1.5px solid var(--c-line); background: #fff; box-shadow: none; transition: border-color .2s, box-shadow .2s; }
html body .field :is(input, select, textarea):hover { border-color: #BDB8AE; box-shadow: none; }
html body .field :is(input, select, textarea):focus { outline: none; border-color: var(--c-palm); box-shadow: 0 0 0 3px rgba(16,59,44,.14); }
html body .field [aria-invalid="true"] { border-color: #B3261E; }
html body .req { font-style: normal; font-weight: 500; color: var(--c-ink-3); }
html body .form-err { color: #B3261E; font-weight: 600; }
