/*
  Salon Finder public site: "two shopfronts".
  Layout: a full-bleed split hero (men's shop | women's shop) under lit bilingual signs, then
  porcelain-and-tile chapters. Men own blue/purple, women pink/coral (Client/src/theme).
*/
:root {
  --porcelain: #f1f3f5;
  --porcelain-2: #e4e8ec;
  --ink: #10131a;
  --ink-soft: #3a4250;
  --muted: #6b7380;
  --rule: rgba(16, 19, 26, 0.14);
  --men: #50c2f7;
  --men-deep: #0a2340;
  --men-2: #1d4f86;
  --women: #ff4281;
  --women-deep: #330a1f;
  --women-2: #ff6e61;
  --whatsapp: #005c4b;
  --f-sign: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --f-sign-ar: "Lalezar", "IBM Plex Sans Arabic", Tahoma, sans-serif;
  --f-body-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--porcelain); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; }
html[lang="ar"] body { font-family: var(--f-body-ar); }
main { overflow-x: hidden; overflow-x: clip; width: 100%; max-width: 100%; } /* clip, not hidden: hidden would break the sticky contents list */
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--men-2); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--f-sign); font-weight: 900; text-transform: uppercase; line-height: 0.92; letter-spacing: 0.005em; text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: var(--f-sign-ar); font-weight: 400; text-transform: none; line-height: 1.25; letter-spacing: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Cement tile: the patterned floor of an old Cairo salon, drawn in CSS. */
.tile {
  --a: var(--porcelain); --b: var(--porcelain-2);
  background:
    radial-gradient(circle at 50% 50%, var(--a) 0 22%, transparent 23%) 0 0 / 56px 56px,
    conic-gradient(from 45deg, var(--b) 0 25%, var(--a) 0 50%, var(--b) 0 75%, var(--a) 0) 0 0 / 56px 56px;
}

/* Header: a slim sign strip */
.strip {
  position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  background: rgba(16, 19, 26, 0.86); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.brand b { font-family: var(--f-sign); font-weight: 900; font-size: 1.45rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1; }
html[lang="ar"] .brand b { font-family: var(--f-sign); }
.strip nav { display: flex; align-items: center; gap: 4px; }
.strip nav a { text-decoration: none; font-size: 0.92rem; padding: 8px 12px; border-radius: 8px; color: rgba(255, 255, 255, 0.78); }
.strip nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.lang { font: 600 0.9rem var(--f-body-ar); cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: #fff; border-radius: 8px; padding: 7px 14px; }
html[lang="ar"] .lang { font-family: var(--f-body); }
.lang:hover { background: #fff; color: var(--ink); }
@media (max-width: 720px) { .strip nav a.hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1rem; padding: 15px 24px; border-radius: 12px; transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
.btn { transform: translate(var(--mx, 0px), var(--my, 0px)); transition: transform 0.45s cubic-bezier(.16,1,.3,1); }
.btn:active { transform: translate(var(--mx, 0px), var(--my, 0px)) scale(0.97); transition-duration: 0.12s; }
.btn-men { background: var(--men); color: var(--ink); }
.btn-women { background: var(--women); color: #1a0710; }
.btn-ink { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
html[dir="rtl"] .btn svg { transform: scaleX(-1); }

/* Hero: two shopfronts side by side. Backgrounds span both rows; fronts sit in row 1, the headline in row 2,
   so nothing overlaps at any height. */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; min-height: 100svh; padding-top: 60px; color: #fff; }
.shop { position: relative; overflow: hidden; grid-row: 1 / 3; }
.shop.men { grid-column: 1; background: radial-gradient(90% 60% at 50% 25%, #123a63, var(--men-deep) 70%); }
.shop.women { grid-column: 2; background: radial-gradient(90% 60% at 50% 25%, #5a1236, var(--women-deep) 70%); }
.shop::after { /* floor tiles in perspective */
  content: ""; position: absolute; inset: auto -20% -10% -20%; height: 42%;
  transform: perspective(500px) rotateX(58deg); transform-origin: bottom;
  background: conic-gradient(from 45deg, rgba(255,255,255,0.10) 0 25%, transparent 0 50%, rgba(255,255,255,0.10) 0 75%, transparent 0) 0 0 / 70px 70px;
  mask-image: linear-gradient(transparent, #000 60%); -webkit-mask-image: linear-gradient(transparent, #000 60%);
}
.front {
  --edge: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter)));
  position: relative; z-index: 1; grid-row: 1; display: grid; grid-template-columns: auto auto;
  align-content: end; align-items: center; row-gap: 28px; padding-block: 72px 20px;
}
.front.men { grid-column: 1; grid-template-areas: "prop sign" ". btn"; justify-content: start; padding-inline: var(--edge) var(--gutter); }
.front.women { grid-column: 2; grid-template-areas: "sign prop" "btn ."; justify-content: end; padding-inline: var(--gutter) var(--edge); }
.front .sign { grid-area: sign; min-width: 0; }
.front .btn { grid-area: btn; justify-self: center; }
.front .pole, .front .mirror { grid-area: prop; }
.front .pole { margin-inline-end: clamp(18px, 2.4vw, 32px); }
.front .mirror { margin-inline-start: clamp(18px, 2.4vw, 32px); }
/* The lit sign box */
.sign {
  position: relative; border-radius: 14px; padding: 18px 26px 16px; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.25)), #0a0d14;
  border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 0 0 6px rgba(0,0,0,0.35), 0 24px 48px -24px rgba(5, 10, 20, 0.7);
}
.sign .name { display: block; font-family: var(--f-sign); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 3.8vw, 3.6rem); line-height: 0.9; letter-spacing: 0.01em; color: #fff; white-space: nowrap; }
.sign .for { display: block; margin-top: 10px; font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.25rem); }
html[lang="ar"] .sign .for { font-family: var(--f-sign-ar); font-weight: 400; font-size: clamp(1.15rem, 1.7vw, 1.45rem); }
.front.men .sign .for, .app.men .sign .for { color: var(--men); text-shadow: 0 0 6px rgba(80, 194, 247, 0.45); }
.front.women .sign .for, .app.women .sign .for { color: var(--women); text-shadow: 0 0 6px rgba(255, 66, 129, 0.45); }
.front.men .sign .name { text-shadow: 0 0 4px rgba(214, 240, 255, 0.5); }
.front.women .sign .name { text-shadow: 0 0 4px rgba(255, 228, 236, 0.5); }
/* Barber pole */
.pole { position: relative; flex: none; width: 40px; height: 170px; border-radius: 20px; overflow: hidden; box-shadow: inset -8px 0 14px rgba(0,0,0,0.35), inset 6px 0 10px rgba(255,255,255,0.35); }
.pole::before { content: ""; position: absolute; inset: -60px 0 0 0; background: repeating-linear-gradient(-35deg, #fff 0 14px, var(--men) 14px 28px, #fff 28px 42px, var(--men-2) 42px 56px); animation: pole 2.4s linear infinite; }
.pole::after { content: ""; position: absolute; inset: 0; border-radius: 20px; border: 4px solid #c9d2dc; }
@keyframes pole { to { transform: translateY(68px); } }
/* Vanity mirror with bulbs */
.mirror { position: relative; flex: none; width: 132px; height: 160px; border-radius: 66px 66px 16px 16px; background: linear-gradient(160deg, rgba(255,255,255,0.35), rgba(255,255,255,0.05) 45%, rgba(255,110,97,0.15)); border: 9px solid #2a0a19; box-shadow: inset 0 1px 0 rgba(255,255,255,0.15); }
.mirror i { position: absolute; width: 13px; height: 13px; border-radius: 50%; background: #fff3d6; box-shadow: 0 0 6px 1px rgba(255, 214, 150, 0.7); animation: twinkle 3.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 290ms); }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
/* Headline under both shops */
.headline { position: relative; z-index: 1; grid-column: 1 / 3; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; max-width: 1280px; width: 100%; margin-inline: auto; padding: 48px var(--gutter) clamp(56px, 8vh, 96px); }
.headline h1 { font-size: clamp(2.8rem, 5.2vw, 4.8rem); color: #fff; }
.headline p { color: rgba(255,255,255,0.84); font-size: clamp(1rem, 1.35vw, 1.15rem); max-width: 40ch; justify-self: end; padding-bottom: 0.4em; }
@media (max-width: 1000px) { .front .pole, .front .mirror { display: none; } }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto; min-height: 0; }
  .shop { display: none; }
  .headline { grid-column: 1; grid-row: 1; grid-template-columns: minmax(0, 1fr); background: var(--ink); padding-block: 48px 40px; }
  .headline p { justify-self: start; }
  .front { grid-column: 1 !important; grid-row: auto; padding: 48px var(--gutter); justify-content: center !important; }
  .front.men { background: radial-gradient(90% 80% at 50% 20%, #123a63, var(--men-deep) 70%); }
  .front.women { background: radial-gradient(90% 80% at 50% 20%, #5a1236, var(--women-deep) 70%); }
  .front .pole, .front .mirror { display: block; }
  .front .pole { height: 120px; width: 32px; }
  .front .mirror { width: 100px; height: 120px; border-width: 7px; }
  .sign .name { font-size: clamp(1.7rem, 8vw, 2.4rem); }
}
@media (max-width: 420px) { .front .pole, .front .mirror { display: none; } }

/* Services marquee: a shop-window price list without prices */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding-block: 22px; border-block: 4px solid var(--ink); }
.marquee-track { display: flex; width: max-content; gap: 40px; animation: marquee 44s linear infinite; }
html[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee span { font-family: var(--f-sign); font-weight: 700; text-transform: uppercase; font-size: clamp(1.6rem, 3.2vw, 2.4rem); white-space: nowrap; letter-spacing: 0.02em; }
.marquee span.ar { font-family: var(--f-sign-ar); font-weight: 400; text-transform: none; }
.marquee span.m { color: var(--men); }
.marquee span.w { color: var(--women); }
.marquee b { color: rgba(255,255,255,0.35); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }

/* Chapters */
.chapter { padding-block: clamp(96px, 13vw, 184px); }
.chapter-head { display: grid; gap: 18px; max-width: 64rem; margin-bottom: clamp(44px, 6vw, 80px); }
.chapter-head h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.chapter-head p { font-size: 1.15rem; color: var(--ink-soft); max-width: 42rem; }

/* How a booking works: steps beside an appointment ticket */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.steps li::before { counter-increment: step; content: counter(step); font-family: var(--f-sign); font-weight: 900; font-size: 3.6rem; line-height: 0.8; color: var(--ink); }
.steps h3 { font-size: 1.9rem; margin-bottom: 6px; }
.steps p { color: var(--ink-soft); }
.ticket-slot { position: relative; padding-top: 18px; }
.ticket-slot::before { content: ""; position: absolute; inset: 0 6% auto 6%; height: 22px; border-radius: 11px; background: var(--ink); z-index: 2; box-shadow: inset 0 -6px 10px rgba(255,255,255,0.08); }
.ticket-clip { overflow: hidden; margin-inline: 9%; }
.ticket {
  position: relative; background: #fff; color: var(--ink); padding: 34px 30px 26px; display: grid; gap: 18px;
  font-family: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.95rem;
  -webkit-mask: radial-gradient(circle 9px at 50% 100%, transparent 98%, #000) 0 0 / 22px 100% repeat-x;
          mask: radial-gradient(circle 9px at 50% 100%, transparent 98%, #000) 0 0 / 22px 100% repeat-x;
  padding-bottom: 40px; box-shadow: 0 30px 60px -30px rgba(16,19,26,0.4);
}
.ticket .t-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 2px dashed var(--rule); padding-bottom: 14px; }
.ticket .t-head b { font-family: var(--f-sign); font-weight: 900; font-size: 1.8rem; text-transform: uppercase; letter-spacing: 0.02em; }
.ticket dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.ticket dt { color: var(--muted); }
.ticket dd { margin: 0; font-weight: 600; text-align: end; }
.ticket .t-foot { border-top: 2px dashed var(--rule); padding-top: 14px; display: flex; justify-content: space-between; color: var(--muted); font-size: 0.82rem; }
.ticket .bar { height: 34px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 14px); opacity: 0.85; }
@media (max-width: 860px) { .how { grid-template-columns: minmax(0, 1fr); } }

/* Bento: 4 cols x 3 rows desktop, 2 cols tablet, 1 mobile; grid-auto-flow: dense; spans interlock exactly */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); grid-auto-flow: dense; gap: 14px; }
.cell { position: relative; overflow: hidden; border-radius: 18px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: #fff; border: 1px solid var(--rule); transition: transform 0.6s cubic-bezier(.2,.8,.2,1), box-shadow 0.6s; }
.cell:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(16,19,26,0.35); }
.cell:active, .slice:active { transform: scale(0.985); }
.cell h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.cell p { color: var(--ink-soft); font-size: 0.98rem; }
.s-2x2 { grid-column: span 2; grid-row: span 2; }
.s-2x1 { grid-column: span 2; }
.s-4x1 { grid-column: span 4; }
.cell.wa { background: #0b141a; color: #fff; border-color: transparent; }
.cell.wa p { color: rgba(255,255,255,0.75); }
.chat { display: grid; gap: 10px; }
.bubble { padding: 11px 15px; border-radius: 14px; font-size: 0.95rem; line-height: 1.45; width: fit-content; max-width: min(100%, 340px); }
.bubble.out { background: var(--whatsapp); color: #e9fff6; margin-inline-start: auto; border-end-end-radius: 4px; }
.bubble.in { background: #202c33; color: #e9edef; border-end-start-radius: 4px; }
.bubble small { display: block; font-size: 0.72rem; opacity: 0.6; margin-top: 3px; text-align: end; }
.typing { display: none; gap: 4px; padding: 14px 16px; background: #202c33; border-radius: 14px; border-end-start-radius: 4px; width: fit-content; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; animation: typing 1.2s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat.is-typing .typing { display: flex; } .chat.is-typing .bubble.in { display: none; }
.cell.men { background: var(--men); border-color: transparent; }
.cell.men p { color: rgba(16,19,26,0.78); }
.cell.women { background: var(--women); border-color: transparent; color: #1a0710; }
.cell.women p { color: rgba(26,7,16,0.78); }
.big { font-family: var(--f-sign); font-weight: 900; font-size: clamp(2.6rem, 4.4vw, 4rem); line-height: 0.85; white-space: nowrap; }
.people { display: flex; gap: 0; }
.people span { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-sign); font-weight: 900; font-size: 1.4rem; border: 3px solid #fff; margin-inline-end: -12px; transition: transform 0.5s cubic-bezier(.2,.8,.2,1); }
.people span:nth-child(1) { background: var(--men); }
.people span:nth-child(2) { background: var(--women-2); }
.people span:nth-child(3) { background: var(--men-2); color: #fff; }
.people span:nth-child(4) { background: var(--women); }
.cell:hover .people span:nth-child(2) { transform: translateY(-8px); }
.cell.queue { flex-direction: row; align-items: center; flex-wrap: wrap; background: var(--ink); color: #fff; border-color: transparent; }
.cell.queue p { color: rgba(255,255,255,0.75); }
.cell.queue .copy { flex: 1 1 320px; display: grid; gap: 10px; }
.board { display: flex; gap: 10px; align-items: stretch; }
.board div { border-radius: 12px; padding: 12px 18px; background: #1c2230; display: grid; gap: 2px; text-align: center; min-width: 96px; }
.board small { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
html[lang="ar"] .board small { letter-spacing: 0; }
.board b { font-family: var(--f-sign); font-weight: 900; font-size: 2.6rem; line-height: 1; color: #ffd27a; text-shadow: 0 0 5px rgba(255, 210, 122, 0.4); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .s-4x1 { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: minmax(0, 1fr); } .s-2x2, .s-2x1, .s-4x1 { grid-column: auto; grid-row: auto; } }

/* Statement scrubbed word by word */
.statement { background: var(--ink); color: #fff; }
.statement p { font-family: var(--f-sign); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 5.2vw, 4.6rem); line-height: 1.02; max-width: 70rem; }
html[lang="ar"] .statement p { font-family: var(--f-sign-ar); font-weight: 400; text-transform: none; line-height: 1.45; }
.statement .m { color: var(--men); }
.statement .w { color: var(--women); }

/* The two apps, pinned title + scrolling sign cards */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.split-title { display: grid; gap: 18px; }
.split-title h2 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); }
.split-title p { color: var(--ink-soft); font-size: 1.12rem; }
.apps { display: grid; gap: 22px; }
.app { position: relative; border-radius: 22px; padding: clamp(24px, 4vw, 40px); color: #fff; display: grid; gap: 22px; overflow: hidden; isolation: isolate; }
.app.men { background: var(--men-deep); }
.app.women { background: var(--women-deep); }
.app { box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 30px 60px -36px rgba(16, 19, 26, 0.55); }
.app .sign { min-width: 0; justify-self: start; text-align: start; }

.app ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: rgba(255,255,255,0.82); }
.app li { display: flex; gap: 12px; align-items: baseline; }
.app li::before { content: ""; width: 10px; height: 2px; flex: none; transform: translateY(-5px); }
.app.men li::before { background: var(--men); }
.app.women li::before { background: var(--women); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-grid; gap: 2px; min-width: 156px; padding: 10px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.22); line-height: 1.2; }
.store small { font-size: 0.7rem; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; text-transform: uppercase; }
html[lang="ar"] .store small { letter-spacing: 0; }
.store b { font-weight: 600; }
.separate { border: 2px dashed var(--rule); border-radius: 22px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 8px; color: var(--ink-soft); }
.separate b { color: var(--ink); font-size: 1.15rem; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Shop owners: inline objects inside the heading, then a horizontal accordion */
.owners .chapter-head h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 72rem; }
.inline-pole, .inline-bulbs { display: inline-block; vertical-align: middle; height: 0.74em; border-radius: 999px; margin-inline: 0.12em; transform: translateY(-0.08em); }
.inline-pole { width: 1.9em; background: repeating-linear-gradient(-35deg, #fff 0 0.14em, var(--men) 0.14em 0.28em, #fff 0.28em 0.42em, var(--men-2) 0.42em 0.56em); box-shadow: inset 0 0 0 0.05em var(--ink); background-size: 200% 100%; animation: inline-pole 3s linear infinite; }
@keyframes inline-pole { to { background-position: 100% 0; } }
.inline-bulbs { width: 1.9em; background: radial-gradient(circle, #fff3d6 0 0.07em, transparent 0.08em) 0 50% / 0.3em 100% repeat-x, var(--women); box-shadow: inset 0 0 0 0.05em var(--ink); }
.accordion { display: flex; gap: 12px; height: 440px; }
.slice { position: relative; flex: 1 1 0; min-width: 0; border-radius: 18px; overflow: hidden; color: #fff; transition: flex-grow 0.8s cubic-bezier(.2,.8,.2,1); }
.slice .pat { position: absolute; inset: 0; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.slice:nth-child(1) .pat { background: conic-gradient(from 45deg, #123a63 0 25%, var(--men-deep) 0 50%, #123a63 0 75%, var(--men-deep) 0) 0 0 / 60px 60px; }
.slice:nth-child(2) .pat { background: radial-gradient(circle at 50% 50%, #5a1236 0 30%, transparent 31%) 0 0 / 44px 44px, var(--women-deep); }
.slice:nth-child(3) .pat { background: repeating-linear-gradient(45deg, #1c2230 0 18px, #10131a 18px 36px); }
.slice:nth-child(4) .pat { background: conic-gradient(from 0deg, #1e2a38 0 25%, #141b25 0 50%, #1e2a38 0 75%, #141b25 0) 0 0 / 72px 72px; }
.slice::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(10, 12, 18, 0.9)); }
.slice .inner { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 24px; display: grid; gap: 10px; }
.slice .n { font-family: var(--f-sign); font-weight: 900; font-size: 3rem; line-height: 0.8; }
.slice h3 { font-size: 1.7rem; }
.slice p { color: rgba(255,255,255,0.82); font-size: 0.97rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.8s, opacity 0.6s; }
.slice:hover, .slice:focus-within { flex-grow: 2.4; }
.slice:hover .pat, .slice:focus-within .pat { transform: scale(1.08); }
.slice:hover p, .slice:focus-within p { max-height: 9em; opacity: 1; }
@media (max-width: 860px) { .accordion { flex-direction: column; height: auto; } .slice { min-height: 210px; } .slice p { max-height: none; opacity: 1; } }

/* Action */
.action { text-align: center; }
.action .sign { display: inline-block; padding: 26px 40px 22px; }
.action .sign .name { font-size: clamp(2.6rem, 7vw, 6rem); }
.action .sign .for { color: #ffd27a; text-shadow: 0 0 6px rgba(255, 210, 122, 0.45); }
.action p { color: var(--ink-soft); margin: 26px auto 0; max-width: 40rem; font-size: 1.12rem; }
.action .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* Footer */
footer { background: var(--ink); color: rgba(255,255,255,0.78); padding-block: 44px calc(44px + env(safe-area-inset-bottom, 0px)); }
.foot { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.95rem; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }
.foot .copy { font-size: 0.88rem; color: rgba(255,255,255,0.5); }

/* Privacy policy: a reading page on porcelain */
.doc { padding-block: 120px 96px; }
.doc-head { display: grid; gap: 14px; margin-bottom: 48px; }
.doc-head h1 { font-size: clamp(3rem, 7vw, 5.6rem); }
.doc-head .updated { color: var(--muted); }
.doc-grid { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: 92px; display: grid; gap: 2px; font-size: 0.93rem; border-inline-start: 3px solid var(--ink); padding-inline-start: 16px; }
.toc a { text-decoration: none; color: var(--ink-soft); padding: 5px 0; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.doc article { max-width: 48rem; display: grid; gap: 16px; background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: clamp(22px, 4vw, 44px); }
.doc article section { scroll-margin-top: 84px; display: grid; gap: 12px; }
.doc article h2 { font-size: 2rem; margin-top: 22px; }
.doc article p, .doc article li { color: var(--ink-soft); }
.doc article ul { margin: 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.doc article strong { color: var(--ink); }
.doc .callout { background: #fff; border: 1px solid var(--rule); border-inline-start: 6px solid var(--women); border-radius: 12px; padding: 18px 20px; }
.doc .callout.men { border-inline-start-color: var(--men); }
.doc a.mail { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 860px) { .doc-grid { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }
html[lang="en"] .only-ar, html[lang="ar"] .only-en { display: none; }

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