/* ============================================================
   B2 CREATE · WEB — noir edition (on top of ../css/style.css, the first edition)
   Adds: the brand-side link, the home "in this issue" cards, the plain list of websites,
   six process stages, and the desert journey (styles taken from ../site-web/web.css and set
   in this edition's Montserrat).
   ============================================================ */

/* ---------- nav: the way to the brand side ---------- */
.nav-end { display: flex; align-items: center; gap: 22px; }
.nav-side { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mute); text-decoration: none; transition: color 0.3s; }
.form-link[hidden] { display: none !important; }
.nav-side:hover { color: var(--ink); }
.nav { transition: padding 0.5s var(--ease), background 0.5s, backdrop-filter 0.5s, transform 0.6s var(--ease); }
body.desert-walk .nav { transform: translateY(-110%); }
@media (max-width: 820px) { .nav-side { display: none; } }
.mobile-menu .mm-side { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- home: in this issue ---------- */
.issue-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--hair-2); border: 1px solid var(--hair-2); }
.issue-list a { position: relative; display: grid; grid-template-rows: 220px auto; background: var(--bg); color: inherit; text-decoration: none; overflow: hidden; height: 100%; }
.issue-list .img { background-size: cover; background-position: center; filter: saturate(0.9); transition: transform 1.2s var(--ease), filter 0.6s; }
.issue-list a:hover .img { transform: scale(1.05); filter: saturate(1.1); }
.issue-list .txt { padding: 22px 22px 26px; display: grid; gap: 8px; }
.issue-list .n { font-size: 10px; letter-spacing: 0.28em; color: var(--mute); }
.issue-list h3 { margin: 0; font-size: 22px; font-weight: 400; }
.issue-list p { margin: 0; color: var(--ink-2); font-size: 14px; }
.issue-list .go { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sand); margin-top: 6px; }

/* ---------- process: six stages on the web side ---------- */
@media (min-width: 1081px) { .stages { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------- work: the plain list (readable without WebGL, and by search engines) ---------- */
.sites-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.sites-list li { display: grid; grid-template-columns: 60px 1.1fr 1.3fr auto; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--hair); align-items: baseline; }
.sites-list .n { font-size: 11px; letter-spacing: 0.28em; color: var(--mute); }
.sites-list h3 { margin: 0 0 4px; font-size: clamp(18px, 2vw, 26px); font-weight: 400; }
.sites-list .ind { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.sites-list p { margin: 0; color: var(--ink-2); font-size: 14px; }
.sites-list .hook { font-style: italic; color: var(--ink); margin-bottom: 4px; }
.sites-list .links { display: flex; gap: 18px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap; }
.sites-list .links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hair); padding-bottom: 3px; }
.sites-list .links a:hover { border-color: var(--sand); color: var(--sand); }
@media (max-width: 820px) { .sites-list li { grid-template-columns: 40px 1fr; } .sites-list li > div:nth-child(3), .sites-list .links { grid-column: 2; } }

/* ---------- contact closer ---------- */
.contact-ask { font-size: clamp(18px, 2vw, 26px); font-weight: 300; margin: 0 0 28px; }
.contact-ask + .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 48px; }

/* ---------- the desert journey (work page) ---------- */
.desert {
  --deep: #051414; --blush: #FFE9E0; --fg: #f3efe7; --bg: #051414; --mute: #8fa3a3; --glass-b: rgba(255,255,255,0.11);
  --gutter: clamp(16px, 5vw, 72px); --head: "Montserrat", system-ui, sans-serif; --label: "Montserrat", sans-serif; --mono: "Montserrat", sans-serif;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative; height: 1150vh; margin-top: -1px; padding: 0; color: #f3efe7;
}
.desert-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #24302e; }
.desert-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.desert-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(5,20,20,0.55)), linear-gradient(to top, rgba(5,20,20,0.6), transparent 30%); }
.desert .spec { font: 500 11px/1.4 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: rgba(243,239,231,0.7); }
.desert .kicker { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; }
.desert-intro, .desert-awake { position: absolute; left: 0; right: 0; top: 16vh; z-index: 2; text-align: center; padding: 0 var(--gutter); pointer-events: none; transition: opacity 0.9s var(--ease), transform 1.2s var(--ease), filter 0.9s; }
.desert-intro .kicker { color: rgba(243,239,231,0.75); }
.desert-line { font: 300 clamp(30px, 5vw, 72px)/1.08 var(--head); letter-spacing: -0.02em; margin: 16px 0 0; color: #f3efe7; text-shadow: 0 10px 40px rgba(0,0,0,0.35); opacity: calc(1 - var(--c, 0) * 0.6); filter: blur(calc(var(--c, 0) * 2px)); }
.desert-line b { font-weight: 400; color: #d9c7b4; }
.desert.awake .desert-intro { opacity: 0; transform: translateY(-30px); }
.desert-awake { opacity: 0; transform: translateY(24px); }
.desert.awake .desert-awake { opacity: 1; transform: none; transition-delay: 0.9s; }
.desert.walking .desert-awake { opacity: 0; transform: translateY(-30px); transition-delay: 0s; }
.desert-title { font: 300 clamp(40px, 7vw, 108px)/0.98 var(--head); letter-spacing: -0.03em; margin: 0 0 14px; color: #f3efe7; text-shadow: 0 12px 50px rgba(0,0,0,0.4); }
.desert-title em { font-style: normal; color: #d9c7b4; }
.desert-hold { position: absolute; left: 50%; bottom: clamp(48px, 13vh, 130px); transform: translateX(-50%); z-index: 3; display: grid; justify-items: center; gap: 12px; transition: opacity 0.6s, transform 0.8s var(--ease); }
.desert.awake .desert-hold { opacity: 0; transform: translate(-50%, 20px); pointer-events: none; }
.desert .hold-btn { position: relative; width: 88px; height: 88px; border-radius: 50%; border: 1px solid var(--glass-b); background: rgba(255,255,255,0.07); cursor: pointer; display: grid; place-items: center; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.desert .hold-btn svg.ring { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); transform: rotate(-90deg); pointer-events: none; }
.desert .ring circle { fill: none; stroke-width: 2.5; }
.desert .ring .track { stroke: rgba(243,239,231,0.16); }
.desert .ring .prog { stroke: #e7b98f; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; }
.desert-ring .core { width: 14px; height: 14px; border-radius: 50%; background: #e7b98f; pointer-events: none; box-shadow: 0 0 0 calc(var(--c, 0) * 26px) rgba(231,185,143,0.22), 0 0 30px #e7b98f; animation: noir-breathe 2.4s var(--ease) infinite; }
@keyframes noir-breathe { 50% { transform: scale(1.25); } }
.desert .hold-label { font: 500 11px var(--label); letter-spacing: 0.24em; text-transform: uppercase; background: var(--blush); color: var(--deep); padding: 9px 14px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.desert.charging .desert-ring .core { animation: none; }
.desert.charging .hold-label { opacity: 0; }
.desert-hud { position: absolute; left: var(--gutter); bottom: clamp(34px, 8vh, 80px); z-index: 3; max-width: min(26vw, 340px); display: grid; gap: 6px; justify-items: start; opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); pointer-events: none; }
.desert-hud.on { opacity: 1; transform: none; pointer-events: auto; }
.desert-hud .spec { color: #e7b98f; }
.desert-hud .t { font: 300 clamp(30px, 3.4vw, 52px)/1 var(--head); letter-spacing: -0.02em; margin: 0; color: #f3efe7; }
.desert-hud .h { font: 300 italic clamp(16px, 1.5vw, 20px)/1.35 var(--head); margin: 0 0 8px; color: rgba(243,239,231,0.85); }
.desert-hud .btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid #f3efe7; background: #f3efe7; color: #0a0a0d; font: 500 12px var(--label); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.desert-hud .btn:hover { background: #e7b98f; border-color: #e7b98f; }
@media (min-width: 761px) { .desert-hud.flip { left: auto; right: calc(var(--gutter) + 34px); justify-items: end; text-align: end; } }
.desert-dots { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 3; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; opacity: 0; transition: opacity 0.6s; }
.desert.awake .desert-dots { opacity: 1; transition-delay: 1.2s; }
.desert-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(243,239,231,0.6); background: transparent; padding: 0; cursor: pointer; transition: background 0.3s, transform 0.3s var(--spring); }
.desert-dots button.on { background: #e7b98f; border-color: #e7b98f; transform: scale(1.3); }
.desert-sound { position: absolute; left: var(--gutter); top: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(243,239,231,0.25); background: rgba(5,20,20,0.35); color: #f3efe7; border-radius: 999px; padding: 8px 13px; font: 500 10px var(--label); letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(8px); }
.desert-sound i { width: 14px; height: 10px; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 4px); opacity: 0.5; }
.desert-sound[aria-pressed="true"] i { opacity: 1; animation: noir-eq 0.9s ease-in-out infinite alternate; }
@keyframes noir-eq { to { transform: scaleY(0.4); } }
.desert-skip { position: absolute; right: var(--gutter); bottom: 22px; z-index: 3; font: 500 10px var(--label); letter-spacing: 0.22em; text-transform: uppercase; color: rgba(243,239,231,0.7); text-decoration: none; }
.desert-skip:hover { color: #f3efe7; }
.journey-line { position: absolute; left: 50%; top: clamp(96px, 18vh, 190px); z-index: 3; width: min(88vw, 760px); text-align: center; color: #f3efe7; pointer-events: none; opacity: 0; transform: translate(-50%, 10px); text-shadow: 0 2px 26px rgba(5,20,20,0.55); }
.journey-line .spec { color: #e7b98f; }
.journey-line p { margin: 0.35em 0 0; font: 300 italic clamp(26px, 3.6vw, 50px)/1.12 var(--head); letter-spacing: -0.02em; }
.desert-static { display: none; }
.desert.static { height: auto; }
.desert.static .desert-stage { position: relative; height: auto; padding: 120px var(--gutter) 70px; background: radial-gradient(80% 60% at 50% 0%, #0e3236, #051414); }
.desert.static .desert-gl, .desert.static .desert-hold, .desert.static .desert-hud, .desert.static .desert-dots, .desert.static .desert-sound, .desert.static .desert-intro, .desert.static .desert-skip { display: none; }
.desert.static .desert-awake { position: relative; top: auto; opacity: 1; transform: none; margin-bottom: 40px; }
.desert.static .desert-static { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1200px; margin: 0 auto; }
.mono-card { position: relative; display: grid; gap: 4px; text-decoration: none; color: #f3efe7; }
.mono-card img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; border-radius: 10px; border: 1px solid rgba(255,255,255,0.11); }
.mono-card b { font-weight: 500; font-size: 16px; } .mono-card span:last-child { font-size: 13px; opacity: 0.75; }
@media (max-width: 760px) {
  .desert-intro, .desert-awake { top: 13vh; }
  .desert-hold { bottom: calc(40px + env(safe-area-inset-bottom)); }
  .desert-hud { right: var(--gutter); max-width: none; bottom: calc(36px + env(safe-area-inset-bottom)); }
  .desert-hud .t { font-size: clamp(28px, 8vw, 38px); }
  .desert-hud::before { content: ""; position: absolute; z-index: -1; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: -56px; bottom: -120px; background: linear-gradient(to top, rgba(5,20,20,0.92) 45%, rgba(5,20,20,0.6) 75%, transparent); pointer-events: none; }
  .desert-dots { right: 10px; gap: 8px; }
  .desert-skip { bottom: auto; top: 22px; }
  .desert.static .desert-static { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* click to enter: until the desert is clicked it is one still screen that scrolling passes by */
.desert.gated { height: 100svh; }
.desert.gated .desert-stage { cursor: pointer; }
.desert.gated .desert-hud, .desert.gated .desert-dots { display: none; }
.desert .enter-hint { display: none; }
.desert.gated .enter-hint { display: inline-flex; }
.desert.gated .hold-hint { display: none; }
/* before entering, the way in comes first (22 Nov 2026, Charles: swap them "to make the visitor hooked to enter"):
   the ring and "Click to enter" sit up where the title was, larger, with a slow ripple; the title waits below */
.desert.gated .desert-hold { top: 17vh; bottom: auto; gap: 22px; }   /* ring and label 20% larger (Charles, 22 Nov 2026) */
.desert.gated .desert-intro { top: auto; bottom: clamp(56px, 13vh, 140px); }
.desert.gated .hold-btn { width: 134px; height: 134px; }
.desert.gated .desert-ring .core { width: 22px; height: 22px; }
.desert.gated .hold-btn::before, .desert.gated .hold-btn::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(231, 185, 143, 0.55); animation: noir-ripple 2.8s var(--ease) infinite; pointer-events: none; }
.desert.gated .hold-btn::after { animation-delay: 1.4s; }
@keyframes noir-ripple { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.1); opacity: 0; } }
.desert.gated .hold-label { font-size: 14.4px; padding: 13px 22px; }
@media (max-width: 760px) {
  .desert.gated .desert-hold { top: 15vh; bottom: auto; }
  .desert.gated .desert-intro { top: auto; bottom: calc(64px + env(safe-area-inset-bottom)); }
  .desert.gated .hold-btn { width: 115px; height: 115px; }
  .desert.gated .hold-label { font-size: 12px; padding: 11px 16px; letter-spacing: 0.2em; }
}
@media (prefers-reduced-motion: reduce) { .desert.gated .hold-btn::before, .desert.gated .hold-btn::after { animation: none; opacity: 0; } }

/* ============================================================
   The separate pages (22 Nov 2026): websites.html, systems.html, contact.html.
   The cover (index.html) stays one full page; these carry the same nav, field and closer.
   ============================================================ */
.nav-links { gap: 26px; align-items: center; }
.nav-sep { width: 1px; height: 14px; background: var(--hair); display: inline-block; }
.nav-links a[aria-current="page"] { color: var(--ink); }
@media (max-width: 1240px) and (min-width: 821px) { .nav-links { gap: 16px; } .nav-links a { letter-spacing: 0.16em; } .nav-side { display: none; } }
.mobile-menu a[data-page-link] { font-size: clamp(22px, 6vw, 34px); opacity: 0.85; }
.mobile-menu a[data-page-link="websites"] { margin-top: 6px; padding-top: 22px; border-top: 1px solid var(--hair); }

/* "Cover" groups the cover's first four chapters in a small drop-down */
.nav-group { position: relative; display: inline-flex; align-items: center; }
.nav-cover::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; }   /* keeps the drop-down open on the way down */
.nav-drop { position: absolute; top: calc(100% + 16px); left: 50%; transform: translate(-50%, -6px); min-width: 170px; display: grid; gap: 2px; padding: 10px;
  background: rgba(10, 10, 13, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--hair); border-radius: 12px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s; }
.nav-group:hover .nav-drop, .nav-group:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav-links .nav-drop a { padding: 10px 12px; border-radius: 8px; color: var(--ink-2); }
.nav-links .nav-drop a::after { display: none; }
.nav-links .nav-drop a:hover, .nav-links .nav-drop a.is-active { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
/* the game, set a little apart after Contact */
.nav-links .nav-game { margin-inline-start: 30px; display: inline-flex; align-items: center; gap: 8px; color: var(--sand); }
.nav-links .nav-game i { width: 6px; height: 6px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sand) 22%, transparent); }
.nav-links .nav-game::after { background: var(--sand); }
@media (max-width: 1240px) and (min-width: 821px) { .nav-links .nav-game { margin-inline-start: 14px; } }
.mobile-menu .mm-game { margin-top: 18px; font-size: clamp(20px, 5.4vw, 28px); color: var(--sand); }
.mobile-menu .mm-game span { font-size: 0.55em; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }
.mobile-menu .mm-sub { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: -10px; }
.mobile-menu .mm-sub a { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); }
.mobile-menu a[aria-current="page"] { color: var(--sand); opacity: 1; }

.nw-page { position: relative; z-index: 2; padding: clamp(120px, 16vh, 180px) var(--gutter) clamp(72px, 10vh, 120px); }
.nw-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 5vh, 56px); }
.nw-head .display, .nw-head .lead { margin: 0; }
.nw-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(28px, 4vh, 44px); }
.nw-filter { border: 1px solid var(--hair); border-radius: 999px; padding: 9px 16px; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.nw-filter:hover { color: var(--ink); border-color: var(--ink-2); }
.nw-filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nw-filter:focus-visible { outline: 1px solid var(--sand); outline-offset: 3px; }

.nw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 56px); }
.nw-card { display: block; color: inherit; min-width: 0; }
.nw-card[hidden] { display: none; }
.nw-card .head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--hair); }
.nw-card h2 { margin: 0; font-size: clamp(20px, 1.9vw, 28px); font-weight: 400; letter-spacing: -0.01em; }
.nw-card .spec { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nw-card .line { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; }
.nw-card .desc { margin: 10px 0 0; color: var(--mute); font-size: 13.5px; max-width: 60ch; }
a.nw-card:focus-visible { outline: 1px solid var(--sand); outline-offset: 8px; }

.nw-stack { position: relative; padding: 6% 9% 9% 4%; border-radius: 6px; isolation: isolate; }
.nw-stack::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0.75; transition: opacity 0.5s var(--ease);
  background: radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--tint) 34%, transparent), transparent 70%), rgba(255, 255, 255, 0.025); border: 1px solid var(--hair-2); }
.nw-card:hover .nw-stack::before { opacity: 1; }
.nw-browser { border-radius: 8px; overflow: hidden; background: #111116; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); transition: transform 0.7s var(--ease); }
.nw-card:hover .nw-browser { transform: translateY(-4px); }
.nw-browser .bar { display: flex; align-items: center; gap: 12px; height: 26px; padding: 0 12px; background: #17171d; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.nw-browser .dots { display: flex; gap: 5px; }
.nw-browser .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.nw-browser .url { font-size: 10px; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nw-browser .screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0d0d11; }
.nw-browser .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 0.7s var(--ease); }
.nw-browser .screen img.on { opacity: 1; }
.nw-phone { position: absolute; right: 3%; bottom: 4%; width: 22%; aspect-ratio: 520 / 1126; border-radius: 14px; padding: 4px; background: #0b0b0e; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.85); transition: transform 0.7s var(--ease); }
.nw-card:hover .nw-phone { transform: translateY(-8px); }
.nw-phone .screen { width: 100%; height: 100%; border-radius: 10px; overflow: hidden; }
.nw-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.nw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.nw-chips li { border: 1px solid var(--hair); border-radius: 999px; padding: 5px 11px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.nw-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* contact page: the short brief */
.nw-brief { padding-bottom: clamp(40px, 6vh, 72px); }
.nw-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; max-width: 980px; }
.nw-form .wide { grid-column: 1 / -1; }
.nw-form label > span, .nw-form legend { display: block; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; font-weight: 500; }
.nw-form input:not([type="radio"]), .nw-form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--hair); color: var(--ink); font: inherit; font-size: 17px; font-weight: 300; padding: 8px 0 12px; border-radius: 0; transition: border-color 0.3s; }
.nw-form textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.nw-form input:focus, .nw-form textarea:focus { outline: none; border-bottom-color: var(--sand); }
.nw-form input.is-missing { border-bottom-color: #d77a62; }
.nw-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.nw-form fieldset legend { width: 100%; padding: 0; }
.nw-form .pick { position: relative; cursor: pointer; }
.nw-form .pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.nw-form .pick span { display: inline-block; border: 1px solid var(--hair); border-radius: 999px; padding: 10px 18px; font-size: 13px; color: var(--ink-2); margin: 0; letter-spacing: 0; text-transform: none; font-weight: 400; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.nw-form .pick input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nw-form .pick input:focus-visible + span { outline: 1px solid var(--sand); outline-offset: 3px; }
.nw-form-note { margin: 0; min-height: 1.4em; font-size: 13px; color: var(--sand); }
.nw-form .nw-actions { margin-top: 0; }

@media (max-width: 960px) { .nw-head { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 760px) {
  .nw-grid { grid-template-columns: 1fr; gap: 56px; }
  .nw-form { grid-template-columns: 1fr; }
  .nw-card .head { flex-direction: column; gap: 4px; }
  .nw-card .spec { white-space: normal; }
  .nw-phone { width: 26%; }
}

/* ============================================================
   Every screen (22 Nov 2026, Charles: "iphone and android adaptable ... as well all pc and laptops")
   ============================================================ */
/* the closer never grows wider than the screen: its footer links wrap */
.contact { grid-template-columns: minmax(0, 1fr); }
.footer-links { flex-wrap: wrap; gap: 12px 22px; }
/* touch screens: small text links get a finger-sized target without moving anything */
@media (pointer: coarse) {
  .desert-skip, .hero-foot a, .nav .brand, .footer-links a, .nav-side { padding-block: 12px; margin-block: -12px; }
}
/* the menu stays across the top down to 821px (29 Nov 2026, Charles: it "was always on the main screen not only accessed by the three lines");
   phones and narrow tablets use the burger. In between it tightens: smaller type and gaps, then "Set in motion" gives way below 1000px. */
@media (max-width: 1100px) and (min-width: 821px) {
  .nav { padding-inline: 28px; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 10px; letter-spacing: 0.12em; }
  .nav-links .nav-game { margin-inline-start: 8px; }
  .nav-sep { margin-inline: -2px; }
  .nav-end { gap: 10px; }
  .nav-cta { padding: 10px 14px; font-size: 10px; letter-spacing: 0.14em; }
}
@media (max-width: 1000px) and (min-width: 821px) { .nav-cta { display: none; } }
/* the phone menu scrolls when the screen is short (phones held sideways) */
.mobile-menu { overflow-y: auto; overscroll-behavior: contain; justify-content: flex-start; padding-block: max(80px, env(safe-area-inset-top)) max(32px, env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
.mobile-menu > :first-child { margin-top: auto; } .mobile-menu > :last-child { margin-bottom: auto; }   /* centred when it fits, scrolls from the top when it does not (works on older Safari too) */
/* short screens (phones held sideways): the desert's way in and its title both fit */
@media (max-height: 520px) {
  .desert.gated .desert-hold { top: 58px; gap: 10px; }
  .desert.gated .hold-btn { width: 84px; height: 84px; }
  .desert.gated .hold-label { font-size: 11px; padding: 9px 14px; }
  .desert.gated .desert-intro { bottom: 14px; }
  .desert.gated .desert-intro .kicker { display: none; }
  .desert.gated .desert-line { font-size: clamp(24px, 7vh, 34px); }
}
/* very wide screens: the pages keep a readable width instead of growing without end */
.nw-page > * { max-width: 1760px; margin-inline: auto; }
.nw-page > .nw-form { margin-inline: 0; }
@media (min-width: 1900px) { .nw-page > .nw-form { margin-inline: auto; max-width: 1760px; } .nw-form { grid-template-columns: repeat(2, minmax(0, 480px)); } }
/* older iPhones (before iOS 15.4) do not know svh: a plain vh height first */
.desert-stage { height: 100vh; height: 100svh; }
.desert.gated { height: 100vh; height: 100svh; }

/* ============================================================
   Arabic (22 Nov 2026): the ع / EN switch and right-to-left details (strings in noir-ar.js)
   ============================================================ */
.nav .noir-lang { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--hair); background: transparent; color: var(--ink); font: 600 14px "Noto Kufi Arabic", "Montserrat", sans-serif; letter-spacing: 0; display: inline-grid; place-items: center; cursor: pointer; transition: border-color 0.3s, color 0.3s, background 0.3s; }
.nav .noir-lang:hover { border-color: var(--sand); color: var(--sand); transform: none; background: transparent; }
@media (max-width: 820px) { .nav-end { gap: 12px; } .nav .noir-lang { width: 40px; height: 40px; } }
.mobile-menu .mm-lang { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 0; font: 500 15px "Montserrat", "Noto Kufi Arabic", sans-serif; letter-spacing: 0.04em; text-transform: none; color: var(--mute); background: none; border: 0; cursor: pointer; }
.mobile-menu .mm-lang .mm-lang-a { font-family: "Noto Kufi Arabic", sans-serif; }
.mobile-menu .mm-lang:not(.is-ar) .mm-lang-a, .mobile-menu .mm-lang.is-ar .mm-lang-e { color: var(--sand); }
/* Arabic text: Noto Kufi for Arabic letters (Latin names stay in Montserrat), no tracking (it breaks the joins), no italics */
html.is-ar body, html.is-ar body *:not(canvas):not(svg):not(svg *) { font-family: "Montserrat", "Noto Kufi Arabic", system-ui, sans-serif !important; letter-spacing: 0 !important; }
html.is-ar em { font-style: normal; }
html.is-ar .display-xl, html.is-ar .display, html.is-ar .desert-line, html.is-ar .desert-title, html.is-ar .nw-head h1 { line-height: 1.25; }
html.is-ar .nw-browser .url, html.is-ar .nw-card .spec, html.is-ar a[href^="tel:"], html.is-ar a[href^="mailto:"], html.is-ar .brand { direction: ltr; unicode-bidi: isolate; }
html.is-ar .nw-phone { right: auto; left: 3%; }
html.is-ar .nw-stack { padding: 6% 4% 9% 9%; }

/* ---------- BRAND | WEB: the two sides, the same switch as on the brand side (29 Nov 2026, Charles: "add this switch inside the web site as well") ---------- */
.nav .side-switch { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; border: 1px solid rgba(243, 239, 231, 0.3); background: rgba(243, 239, 231, 0.06);
  font: 600 9.5px "Montserrat", sans-serif; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; color: var(--ink); }
.nav .side-switch a, .nav .side-switch span { padding: 7px 11px; border-radius: 999px; color: inherit; text-decoration: none; transition: background 0.3s, color 0.3s; }
.nav .side-switch span { background: #f3efe7; color: #0a0a0d; }
.nav .side-switch a:hover, .nav .side-switch a:focus-visible { background: rgba(243, 239, 231, 0.16); }
body[data-theme="light"] .nav .side-switch { border-color: rgba(15, 15, 18, 0.2); background: rgba(15, 15, 18, 0.04); }
body[data-theme="light"] .nav .side-switch span { background: #0f0f12; color: #f3efe7; }
@media (max-width: 1100px) and (min-width: 821px) { .nav .side-switch { font-size: 8.5px; letter-spacing: 0.12em; } .nav .side-switch a, .nav .side-switch span { padding: 6px 8px; } }
@media (max-width: 820px) { .nav .side-switch { font-size: 8.5px; letter-spacing: 0.12em; } .nav .side-switch a, .nav .side-switch span { padding: 7px 9px; } }
html.is-ar .nav .side-switch { font-family: "Noto Kufi Arabic", "Montserrat", sans-serif; letter-spacing: 0; }
