/* Khalesni «خلّصني»: shared styles for index.html (Arabic, RTL) and en.html (English, LTR).

   The system, in short
   - Colour: the brand only (Khalesni-Brand/Brand-Guide.md). One ground (Sand, used as paper), one ink (Deep Ink),
     one accent (Deep Teal) for actions and links. Amber is for small marks: dots, short bars, the underline in the
     headline. It is never text on a light ground (2.2:1); amber text appears only on Deep Ink (6.3:1).
     Surfaces are told apart by a step in tone, not by shadows. Whole sections may change colour (Deep Ink, Teal).
   - Type: one family, IBM Plex Sans Arabic, for Arabic and Latin. Five sizes (tokens --t-*): caption, body, lead,
     section title, display. Arabic is never letter-spaced (it would break the joins between letters) and gets more
     line height than Latin. Short handwritten notes use Aref Ruqaa (Arabic) or Caveat (English).
   - Space: a 4 px base, mostly in 8 px steps. One 12-column grid on wide screens: columns 1 to 3 carry the
     section numbers and labels, columns 4 to 12 the headings and text.
   - Lines: 1 px hairlines in ink do the work that boxes and shadows used to do.
   - Motion: only feedback on links and buttons, and none at all for visitors who ask for reduced motion.
   The only other colours are inside the pictures of the sample pages: the café tones of the hero picture
   (.mc, .float), which pictures sample/cafe.html, and the small gallery previews (.pv-*), each drawn in its own
   sample's palette on purpose (sample/*.css).
   Layout uses logical properties (inline-start, block-end...), so the same rules work right-to-left and left-to-right. */

/* Section numbers in Arabic-Indic digits with a leading zero: ٠١ ٠٢ ... (browsers without @counter-style show 1 2 ...) */
@counter-style ar-lz {
  system: extends arabic-indic;
  pad: 2 "٠";
}

:root {
  --teal: #0E6670;       /* actions and links (6.2:1 on Sand, 6.7:1 on white) */
  --teal-dark: #0A4F57;  /* hover shade */
  --teal-50: #EEF5F5;
  --ink: #06323A;        /* text (12.8:1 on Sand) */
  --ink-2: #46636A;      /* secondary text (6.0:1 on Sand, 5.5:1 on Sand 2) */
  --amber: #EF9F27;      /* marks only */
  --paper: #FAF6EE;      /* Sand: the page */
  --paper-2: #F3EBDD;    /* a step darker, for alternate sections */
  --desk: #ECE3D3;       /* the surface behind the gallery previews */
  --white: #FFFFFF;

  --rule: rgba(6, 50, 58, 0.16);
  --rule-2: rgba(6, 50, 58, 0.34);
  --rule-inv: rgba(255, 255, 255, 0.22);

  /* Type: five sizes */
  --t-cap: 0.875rem;                                    /* 14 px: captions, tags, fine print */
  --t-body: 1.0625rem;                                  /* 17 px: running text */
  --t-lead: 1.375rem;                                   /* 22 px: item titles, intros, statements */
  --t-h2: clamp(1.875rem, 1.35rem + 2.1vw, 2.75rem);    /* 30 to 44 px: section titles, prices */
  --t-h1: clamp(2.375rem, 1.2rem + 5vw, 5rem);          /* 38 to 80 px: the headline */
  --t-hand: 1.5rem;

  /* Grid */
  --max: 1200px;
  --gutter: 16px;
  --gap: 24px;
  --cell: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", "Geeza Pro", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  --font-cafe: "Reem Kufi", "IBM Plex Sans Arabic", "Geeza Pro", sans-serif;
  --font-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  /* Sample-café colours: only inside the pictures of sample/cafe.html */
  --c-espresso: #2B1B12;
  --c-roast: #4B2E1F;
  --c-mocha: #6F4A33;
  --c-caramel: #C98A3D;
  --c-cream: #F6EEE3;
  --c-latte: #E7D6C1;
  --c-foam: #FFFBF6;

  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E6670' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l4.8 4.8L19.5 7'/%3E%3C/svg%3E");
  --cross: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2346636A' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E");
  --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E6670' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 3v18M3 12h18'/%3E%3C/svg%3E");
  /* Drawn pointing right; mirrored on the Arabic page so it always points the way the line reads */
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 12'%3E%3Cpath d='M1 6h23M19 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  /* The headline underline echoes the logo: a sweep that ends in a check mark */
  --swoosh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30' preserveAspectRatio='none' fill='none' stroke='%23EF9F27' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath vector-effect='non-scaling-stroke' d='M4 11 Q8 26 26 25 Q170 22 296 5'/%3E%3C/svg%3E");

  color-scheme: light;
}
html[lang="ar"] {
  --t-cap: 0.9375rem;    /* Arabic sits smaller than Latin at the same size, so captions and text go up 1 px */
  --t-body: 1.125rem;
  --t-h1: clamp(2.75rem, 1.5rem + 5.4vw, 5.5rem);
  --t-hand: 1.375rem;
  --font-hand: "Aref Ruqaa", "IBM Plex Sans Arabic", serif;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --cell: 24px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html[lang="ar"] body { line-height: 1.8; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; color: inherit; text-wrap: balance; }
h1 { line-height: 1.04; }
h2 { font-size: var(--t-h2); line-height: 1.15; }
h3 { font-size: var(--t-lead); line-height: 1.3; }
h4 { font-size: var(--t-body); line-height: 1.4; }
html[lang="ar"] h1 { line-height: 1.35; }
html[lang="ar"] h2 { line-height: 1.45; }
html[lang="ar"] h3 { line-height: 1.55; }
html[lang="ar"] h4 { line-height: 1.6; }
html[lang="en"] h1 { letter-spacing: -0.025em; }
html[lang="en"] h2 { letter-spacing: -0.015em; }

p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
strong, b { font-weight: 700; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
a:hover { color: var(--teal-dark); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--ink); }

.visually-hidden {
  position: absolute !important;
  inline-size: 1px; block-size: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

/* Keeps a short phrase on one line: a name, a sum in brackets, a part of a "·" line (each dot opens the part
   after it, so a line never ends on a dot). Only for phrases that fit a 320 px phone. inline-block, because WebKit
   lets a plain nowrap phrase at the end of a line run up to one space past the text column (measured: 3 px). */
.nw { display: inline-block; white-space: nowrap; }
/* A line break for phone widths only (360 to 599 px), where it gives a heading a cleaner break than the browser's */
@media (max-width: 359px), (min-width: 600px) { .br-phone { display: none; } }

.sprite { position: absolute; inline-size: 0; block-size: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--white); }

/* Placeholders: none on the pages now. While drafting, a value that is still missing goes in a .ph box,
   so a draft is never mistaken for the finished page; never publish a page that has one (see README.md). */
.ph {
  padding: 0 0.4em;
  border: 2px dashed var(--amber);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.flip { transform: none; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.section { position: relative; padding-block: 64px; }
@media (min-width: 768px) { .section { padding-block: 96px; } }
@media (min-width: 1200px) { .section { padding-block: 128px; } }

.bg-2 { background: var(--paper-2); }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: var(--white); }

/* Section head: a hairline across the grid, the section's number and name in the margin column,
   the title and its intro in the main column. On phones they stack. */
main { counter-reset: sec; }
.sec-head { margin-block-end: 48px; padding-block-start: 16px; border-block-start: 1px solid var(--ink); }
.sec-no {
  counter-increment: sec;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin: 0 0 24px;
  color: var(--ink-2);
  font-size: var(--t-cap);
  font-weight: 600;
  line-height: 1.5;
}
.sec-no::before { content: counter(sec, decimal-leading-zero); color: var(--teal); font-weight: 700; }
html[lang="ar"] .sec-no::before { content: counter(sec, ar-lz); }
.sec-head h2 { max-width: 20em; }
.sec-lede { max-width: 38em; margin: 16px 0 0; }
.sec-aside {
  max-inline-size: 16em;
  margin: 24px 0 0;
  color: var(--teal);
  font-size: var(--t-hand);
  transform: rotate(-1.5deg);
  transform-origin: left center;
}
[dir="rtl"] .sec-aside { transform: rotate(1.5deg); transform-origin: right center; }

@media (min-width: 960px) {
  .sec-head {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: baseline;
    margin-block-end: 64px;
    padding-block-start: 24px;
  }
  .sec-head > .sec-no { grid-column: 1 / span 3; grid-row: 1; margin: 0; }
  .sec-head > h2, .sec-head > .sec-lede { grid-column: 4 / -1; }
  .sec-head > .sec-lede { grid-row: 2; }
  .sec-aside { grid-column: 1 / span 3; grid-row: 2 / span 2; align-self: start; max-inline-size: 11em; margin-block-start: 16px; }
  /* Blocks that line up with the titles: the start of column 4 is 25% of the grid plus a quarter of a gap */
  .price-nav, .note, .strip { margin-inline-start: calc(25% + var(--gap) / 4); }
}

/* Handwritten notes */
.hand { font-family: var(--font-hand); font-weight: 700; line-height: 1.35; }
html[lang="en"] .hand { font-weight: 600; line-height: 1.15; }
.pen-note { display: flex; align-items: flex-start; gap: 0.3em; }
.pen-note svg { flex: none; inline-size: 1.5em; block-size: 1.5em; margin-block-start: -0.55em; }
[dir="ltr"] .pen-note svg { transform: scaleX(-1); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn svg { flex: none; inline-size: 1.3em; block-size: 1.3em; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); }
.btn-light { background: var(--white); color: var(--teal); }
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn-lg { min-height: 56px; padding: 16px 32px; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: var(--t-cap); }
.btn:active { transform: translateY(1px); }

/* Text links with an arrow that points the way the line reads */
.card-link, .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
}
.text-link { min-height: 44px; }
.card-link::after, .text-link::after {
  content: "";
  flex: none;
  inline-size: 1.3em;
  block-size: 0.6em;
  background: currentColor;
  -webkit-mask: var(--arrow) no-repeat center / contain;
  mask: var(--arrow) no-repeat center / contain;
  transition: transform 0.3s var(--ease);
}
[dir="rtl"] .card-link::after, [dir="rtl"] .text-link::after { transform: scaleX(-1); }
.text-link:hover { color: var(--teal-dark); }
.text-link:hover::after { transform: translateX(4px); }
[dir="rtl"] .text-link:hover::after { transform: translateX(-4px) scaleX(-1); }
/* The link covers its whole row or card, so the full block is one big tap target */
.card-link::before { content: ""; position: absolute; inset: 0; }
@supports selector(:has(*)) {
  .card-link:focus-visible { outline: none; }
  .svc:has(.card-link:focus-visible), .gcard:has(.card-link:focus-visible) { outline: 3px solid var(--ink); outline-offset: 4px; }
}

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: var(--paper); border-block-end: 1px solid var(--rule); transition: border-color 0.3s; }
.site-header.is-scrolled { border-block-end-color: var(--rule-2); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; padding-block-start: 8px; }
.brand { display: inline-flex; margin-inline-end: auto; }
.brand img { inline-size: 120px; } /* the full logo is never shown below 120 px wide */

.lang-switch {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 8px;
  color: var(--ink);
  font-size: var(--t-cap);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--rule-2);
  text-underline-offset: 0.35em;
}
.lang-switch:hover { color: var(--teal); text-decoration-color: currentColor; }
.header-wa { padding-inline: 16px; }

/* Phones and tablets: the links get their own row under the logo, the full width of the screen. If they ever
   don't fit (English below about 360 px), the last link wraps to a second line instead of scrolling sideways. */
.site-nav { order: 3; flex-basis: calc(100% + 2 * var(--gutter)); min-width: 0; margin-block-start: 8px; margin-inline: calc(-1 * var(--gutter)); border-block-start: 1px solid var(--rule); }
.site-nav ul { display: flex; flex-wrap: wrap; justify-content: space-between; padding-inline: calc(var(--gutter) - 8px); list-style: none; white-space: nowrap; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 8px;
  color: var(--ink);
  font-size: var(--t-cap);
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 0.4em; }
@media (min-width: 420px) {
  .site-nav ul { justify-content: flex-start; gap: 8px; }
}
@media (max-width: 374px) {
  .header-wa .label {
    position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .header-wa { padding-inline: 12px; }
}
@media (min-width: 960px) {
  .site-header { position: sticky; top: 0; }
  .header-inner { flex-wrap: nowrap; column-gap: 24px; padding-block: 12px; }
  .brand { margin-inline-end: 0; }
  .brand img { inline-size: 136px; }
  .site-nav { order: 0; flex-basis: auto; margin: 0; margin-inline: 32px auto; border: 0; }
  .site-nav ul { gap: 8px; padding: 0; }
  .site-nav a { padding-inline: 12px; font-size: var(--t-body); font-weight: 500; }
  [id] { scroll-margin-top: 96px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 40px 64px; }
@media (min-width: 768px) { .hero { padding-block: 64px 96px; } }
.hero-inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 48px; }
}

.hero-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--ink-2); font-size: var(--t-cap); font-weight: 600; }
.hero-kicker::before { content: ""; flex: none; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--amber); }

.hero h1 { margin-block-end: 24px; font-size: var(--t-h1); }
/* «تسويق مشروعك؟» is about 7.15 em wide. Below 360 px and between 960 and 1200 px it no longer fit its column
   and broke into «تسويق» / «مشروعك؟», so the Arabic headline also never grows wider than its column.
   At 360 to 959 px and from 1200 px up this changes nothing. */
html[lang="ar"] .hero h1 { font-size: min(var(--t-h1), calc(13.8vw - 4.5px)); }
@media (min-width: 960px) { html[lang="ar"] .hero h1 { font-size: min(var(--t-h1), calc(8.1vw - 9.1px)); } }
.h1-top { display: block; }
.hl { position: relative; display: inline-block; padding-block-end: 0.1em; }
.hl::after {
  content: "";
  position: absolute;
  inset-inline: -0.04em;
  bottom: -0.1em;
  block-size: 0.26em;
  background: var(--swoosh) no-repeat center / 100% 100%;
  pointer-events: none;
}

.lead { max-width: 34em; margin: 0; font-size: clamp(var(--t-body), 1rem + 0.5vw, var(--t-lead)); }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-block: 32px 16px; }
.hero-note { max-width: 32em; margin: 0 0 32px; color: var(--ink-2); font-size: var(--t-cap); }

.trust { display: grid; gap: 8px; padding-block-start: 16px; border-block-start: 1px solid var(--rule); list-style: none; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: var(--t-cap); font-weight: 600; }
.trust li::before { content: ""; flex: none; inline-size: 16px; block-size: 16px; background: var(--check) no-repeat center / contain; }
@media (min-width: 640px) {
  .trust { display: flex; flex-wrap: wrap; gap: 8px 0; }
  .trust li:not(:last-child) { margin-inline-end: 16px; padding-inline-end: 16px; border-inline-end: 1px solid var(--rule); }
}

/* Hero picture: the café sample on a phone, with an ad, an Instagram grid and a Maps card beside it.
   Decorative and sized in em, so the whole picture scales with one font size. */
.hero-figure { justify-self: center; inline-size: 30em; margin: 0; font-size: clamp(9px, 3vw, 14.5px); }
@media (min-width: 960px) { .hero-figure { justify-self: end; font-size: clamp(11px, 1.15vw, 14.5px); } }
.hero-visual { position: relative; block-size: 36em; line-height: 1.5; }

.phone {
  position: absolute;
  z-index: 1;
  top: 0;
  inset-inline-start: 1em;
  inline-size: 17em;
  block-size: 35.5em;
  padding: 0.55em;
  border-radius: 2.7em;
  background: var(--ink);
}
.phone::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 1.05em;
  inset-inline: 0;
  margin-inline: auto;
  inline-size: 4.6em;
  block-size: 1.3em;
  border-radius: 1em;
  background: #041F24;
}
.phone-screen { position: relative; block-size: 100%; overflow: hidden; border-radius: 2.2em; background: var(--c-cream); }

/* The café site inside the phone */
.mc { color: var(--c-espresso); line-height: 1.45; }
.mc-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  block-size: 2.6em;
  padding-inline: 1.7em 1.5em;
  font-size: 0.78em;
  font-weight: 700;
}
.mc-sig { display: flex; align-items: flex-end; gap: 0.18em; }
.mc-sig i { inline-size: 0.32em; border-radius: 0.1em; background: currentColor; }
.mc-sig i:nth-child(1) { block-size: 0.45em; }
.mc-sig i:nth-child(2) { block-size: 0.7em; }
.mc-sig i:nth-child(3) { block-size: 0.95em; }
.mc-flag {
  margin: 0.15em 0.85em 0;
  padding: 0.3em 0.6em;
  border-radius: 0.3em;
  background: var(--ink);
  color: var(--white);
  font-size: 0.68em;
  font-weight: 600;
  text-align: center;
}
.mc-nav { display: flex; align-items: center; justify-content: space-between; padding: 0.75em 1.2em 0.7em; }
.mc-logo { display: inline-flex; align-items: center; gap: 0.3em; font-family: var(--font-cafe); font-size: 1.05em; font-weight: 700; }
.mc-logo svg { inline-size: 1.7em; block-size: 1.7em; color: var(--c-caramel); }
.mc-burger { display: grid; gap: 0.28em; }
.mc-burger i { display: block; inline-size: 1.2em; block-size: 0.14em; border-radius: 1em; background: var(--c-espresso); }
.mc-hero {
  position: relative;
  overflow: hidden;
  margin-inline: 0.8em;
  padding: 1.25em 1.15em 1.3em;
  border-radius: 1.5em;
  background: var(--c-espresso);
  color: var(--c-cream);
}
.mc-cup { position: absolute; inset-inline-end: -0.5em; bottom: -0.3em; inline-size: 7.4em; block-size: 7.4em; color: rgba(246, 238, 227, 0.55); }
.mc-kicker { position: relative; margin: 0 0 0.3em; color: #E3B57C; font-size: 0.66em; font-weight: 600; }
.mc-title { position: relative; max-inline-size: 7.2em; margin: 0 0 0.75em; font-family: var(--font-cafe); font-size: 1.45em; font-weight: 700; line-height: 1.35; }
.mc-btn { position: relative; display: inline-block; padding: 0.5em 0.95em; border-radius: 2em; background: var(--c-caramel); color: var(--c-espresso); font-size: 0.7em; font-weight: 700; }
.mc-menu { padding: 0.95em 1.2em; }
.mc-h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 0.3em; font-family: var(--font-cafe); font-size: 1em; font-weight: 700; }
.mc-h span { padding: 0.1em 0.6em; border-radius: 1em; background: var(--c-latte); color: var(--c-roast); font-family: var(--font); font-size: 0.62em; font-weight: 600; }
.mc-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5em;
  margin: 0;
  padding-block: 0.5em;
  border-block-end: 1px dashed rgba(43, 27, 18, 0.16);
  font-size: 0.74em;
}
.mc-row b { color: var(--c-mocha); white-space: nowrap; }
.mc-bar {
  position: absolute;
  inset-inline: 0.9em;
  bottom: 0.9em;
  padding: 0.65em;
  border-radius: 1.2em;
  background: var(--c-espresso);
  color: var(--c-cream);
  font-size: 0.72em;
  font-weight: 700;
  text-align: center;
}

/* Cards beside the phone, one per service. Flat, with a hairline edge. */
.float {
  position: absolute;
  z-index: 2;
  padding: 0.75em;
  border: 1px solid rgba(6, 50, 58, 0.18);
  border-radius: 0.6em;
  background: var(--white);
}
.float-label { margin: 0 0 0.6em; color: var(--ink); font-size: 0.8em; font-weight: 700; line-height: 1.25; }
.float-ad { top: 1.5em; inset-inline-end: 0; inline-size: 12.5em; }
.ad-art {
  position: relative;
  display: grid;
  place-items: center;
  block-size: 6.6em;
  border-radius: 0.4em;
  background: var(--c-caramel);
}
.ad-art svg { inline-size: 5.4em; block-size: 5.4em; color: rgba(255, 255, 255, 0.75); }
.ad-art span {
  position: absolute;
  top: 0.55em;
  inset-inline-start: 0.55em;
  padding: 0.1em 0.5em;
  border-radius: 0.25em;
  background: rgba(255, 255, 255, 0.94);
  color: var(--c-espresso);
  font-size: 0.62em;
  font-weight: 700;
}
.ad-cta { margin: 0.55em 0 0; padding: 0.45em 0.5em; border-radius: 0.35em; background: var(--paper-2); color: var(--ink); font-size: 0.7em; font-weight: 700; text-align: center; }
.float-ig { top: 15em; inset-inline-end: 1.6em; inline-size: 11em; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.25em; }
.ig-grid i { display: block; aspect-ratio: 1; border-radius: 0.2em; background: var(--c-latte); }
/* Six flat squares in the café's colours: a cup from above, a plate, plain grounds */
.ig-grid i:nth-child(1) { background: radial-gradient(circle, var(--c-foam) 0 24%, var(--c-caramel) 25% 36%, transparent 37%), var(--c-mocha); }
.ig-grid i:nth-child(2) { background: var(--c-latte); }
.ig-grid i:nth-child(3) { background: radial-gradient(circle at 50% 55%, var(--c-cream) 0 17%, transparent 18%), var(--c-espresso); }
.ig-grid i:nth-child(4) { background: var(--c-caramel); }
.ig-grid i:nth-child(5) { background: radial-gradient(circle, var(--c-latte) 0 26%, var(--c-foam) 27% 38%, transparent 39%), var(--c-cream); }
.ig-grid i:nth-child(6) { background: var(--c-roast); }
.float-map { top: 27em; inset-inline-end: 0.2em; display: flex; align-items: center; gap: 0.65em; inline-size: 13.5em; padding: 0.8em 0.9em; }
.map-pin { display: grid; place-items: center; flex: none; inline-size: 2.7em; block-size: 2.7em; border-radius: 50%; background: var(--teal-50); color: var(--teal); }
.map-pin svg { inline-size: 1.5em; block-size: 1.5em; }
.float-map b { display: block; font-family: var(--font-cafe); font-size: 0.85em; line-height: 1.35; }
.float-map small { display: block; color: var(--ink-2); font-size: 0.72em; line-height: 1.35; }

/* The handwritten caption under the phone, its arrow pointing up at the picture */
.hv-caption { margin: 0.6em 0 0; padding-inline-start: 2.6em; color: var(--teal); font-size: 1.6em; }
html[lang="en"] .hv-caption { font-size: 1.75em; }

/* ---------- Services: a list, one row per service ---------- */
.svc-list { list-style: none; border-block-start: 1px solid var(--ink); }
.svc {
  position: relative;
  display: grid;
  gap: 12px;
  padding-block: 24px;
  border-block-end: 1px solid var(--rule);
}
.svc h3 { transition: color 0.2s; }
.svc-q { margin: 4px 0 0; color: var(--teal); font-size: var(--t-cap); font-weight: 600; }
.svc-desc { max-width: 34em; margin: 0; }
/* The price, then its link under it: the same on every row, at every width, in both languages */
.svc-end { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px; }
.from { margin: 0; color: var(--ink-2); font-size: var(--t-cap); }
.from strong { color: var(--ink); font-size: var(--t-lead); }
.svc:hover h3 { color: var(--teal); }
.svc:hover .card-link::after { transform: translateX(4px); }
[dir="rtl"] .svc:hover .card-link::after { transform: translateX(-4px) scaleX(-1); }

/* The Launch pack row: the one Deep Ink band in the list */
.svc-launch {
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  border-block-end: 0;
  background: var(--ink);
  color: var(--white);
}
.svc-launch:hover h3 { color: var(--white); }
.svc-launch .svc-q { color: var(--amber); } /* amber on Deep Ink: 6.3:1 */
.svc-launch .svc-desc { color: rgba(255, 255, 255, 0.9); }
.svc-launch .from { color: rgba(255, 255, 255, 0.85); }
.svc-launch .from strong { color: var(--amber); }
.svc-launch .card-link, .svc-launch .card-link:hover { color: var(--white); }
.svc-launch .card-link:focus-visible { outline-color: var(--amber); } /* only seen where :has() is missing; the row outline sits outside the band */

@media (min-width: 960px) {
  .svc { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding-block: 32px; }
  .svc-name { grid-column: 1 / span 3; }
  .svc-desc { grid-column: 4 / span 6; }
  .svc-end { grid-column: 10 / -1; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px; }
  .svc-launch { margin-inline: calc(-1 * var(--cell)); padding-inline: var(--cell); }
}

/* ---------- Sample work: a gallery of the 7 sample designs ---------- */
/* Phones: one row you swipe. Tablets: 2 columns. Wide screens: 12 columns, laid out by position:
   card 1 full width, cards 2 to 4 in thirds, cards 5 and 6 in halves, card 7 full width again. */
.gallery { display: grid; gap: 16px; list-style: none; }
.gallery-hint { display: none; align-items: center; gap: 8px; margin: -24px 0 16px; color: var(--ink-2); font-size: var(--t-cap); font-weight: 600; }
.gallery-hint svg { inline-size: 18px; block-size: 18px; }
@media (max-width: 639px) {
  .gallery {
    grid-auto-flow: column;
    grid-auto-columns: min(84%, 20rem);
    margin-inline: calc(-1 * var(--gutter));
    padding: 8px var(--gutter) 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: thin;
  }
  .gcard { scroll-snap-align: start; }
  .gallery-hint { display: flex; }
}

.gcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--white);
  transition: border-color 0.25s var(--ease);
}
.gcard:hover { border-color: var(--ink); }
.gcard:hover .card-link::after { transform: translateX(4px); }
[dir="rtl"] .gcard:hover .card-link::after { transform: translateX(-4px) scaleX(-1); }
.gcard-body { display: flex; flex: 1; flex-direction: column; padding: 16px 24px 24px; }
.gname { margin: 4px 0 8px; color: var(--teal); font-size: var(--t-cap); font-weight: 600; line-height: 1.5; }
.gname .nw { white-space: nowrap; }
.gcard-body > p:not(.gname) { margin-block-end: 16px; color: var(--ink-2); }
.gcard .card-link { margin-block-start: auto; }

/* The picture frame: the "sample design" tag, then the top of the sample's page */
.gshot {
  display: flex;
  flex-direction: column;
  flex: none;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  padding-inline: 12px;
  background: var(--desk);
  container-type: inline-size;
}
.pv-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-block: 12px 8px;
  padding: 0 8px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--white);
  font-size: var(--t-cap);
  font-weight: 600;
  line-height: 1.7;
}
.pv-tag::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--amber); }

@media (min-width: 640px) and (max-width: 999px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .gcard:first-child, .gcard:last-child:nth-child(even) { grid-column: 1 / -1; flex-direction: row; }
  .gcard:first-child .gshot, .gcard:last-child:nth-child(even) .gshot { flex: 0 0 56%; aspect-ratio: auto; min-block-size: 18rem; }
  .gcard:first-child .gcard-body, .gcard:last-child:nth-child(even) .gcard-body { justify-content: center; padding: 32px; }
  .gcard:first-child .card-link, .gcard:last-child:nth-child(even) .card-link { margin-block-start: 8px; }
}
@media (min-width: 1000px) {
  .gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
  .gcard { grid-column: span 4; }
  .gcard:nth-child(5), .gcard:nth-child(6) { grid-column: span 6; }
  .gcard:first-child, .gcard:nth-child(7) { grid-column: 1 / -1; flex-direction: row; }
  .gcard:nth-child(7) { flex-direction: row-reverse; }
  .gcard:first-child .gshot, .gcard:nth-child(7) .gshot { flex: 0 0 58%; aspect-ratio: auto; min-block-size: 26rem; }
  .gcard:nth-child(5) .gshot, .gcard:nth-child(6) .gshot { aspect-ratio: 16 / 10; }
  .gcard:first-child .gcard-body, .gcard:nth-child(7) .gcard-body { justify-content: center; padding: 48px; }
  .gcard:first-child .card-link, .gcard:nth-child(7) .card-link { margin-block-start: 8px; }
  .gcard:first-child .pv, .gcard:nth-child(7) .pv { font-size: clamp(12px, 2.6cqi, 16px); }
}

/* ---------- Gallery previews (decorative; sized in em, so each mini page scales with its card) ---------- */
/* Colours come from each sample's own stylesheet (sample/*.css). The samples' own web fonts are not
   loaded here: each preview names its font first, then falls back to the fonts this page already loads. */
.pv {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 0.9rem 0.9rem 0 0;
  font-family: var(--font);
  font-size: 11px;
  font-size: clamp(9px, 3.5cqi, 14px);
  line-height: 1.4;
  text-align: start; /* every preview is dir="rtl", so this is right on both pages; without it en.html's previews inherit "left" from their list item */
}
.pv p { margin: 0; }
.pv i { font-style: normal; }
.pv-nav { display: flex; align-items: center; justify-content: space-between; gap: 0.6em; padding: 0.85em 1.1em 0.7em; }
.pv-logo { display: inline-flex; align-items: center; gap: 0.4em; font-size: 1.05em; font-weight: 700; white-space: nowrap; }
.pv-logo > svg { flex: none; inline-size: 1.7em; block-size: 1.7em; }
.pv-mark { display: grid; place-items: center; flex: none; inline-size: 1.75em; block-size: 1.75em; border-radius: 0.5em; }
.pv-mark svg { inline-size: 1.1em; block-size: 1.1em; }
.pv-chip { flex: none; padding: 0.3em 0.9em; border-radius: 2em; font-size: 0.76em; font-weight: 700; white-space: nowrap; }
.pv-hero { position: relative; overflow: hidden; margin: 0 0.85em; padding: 1em 1.15em 1.1em; border-radius: 1em; }
.pv .pv-kicker { position: relative; z-index: 1; margin-block-end: 0.35em; font-size: 0.72em; font-weight: 600; }
.pv .pv-title { position: relative; z-index: 1; max-inline-size: 11em; margin-block-end: 0.55em; font-size: 1.5em; font-weight: 700; line-height: 1.3; }
.pv-title em { font-style: normal; }
.pv-cta { position: relative; z-index: 1; display: inline-block; padding: 0.42em 1em; border-radius: 2em; font-size: 0.74em; font-weight: 700; }
.pv-art { position: absolute; inset-inline-end: 0.3em; bottom: -0.5em; inline-size: 6.4em; block-size: 6.4em; }
.pv-list { padding: 0.65em 1.25em; }
.pv-list p { display: flex; justify-content: space-between; gap: 0.6em; padding-block: 0.38em; border-block-end: 1px dashed; font-size: 0.8em; }
.pv-list b { white-space: nowrap; }
.pv-list .pv-h { align-items: center; padding-block-start: 0; border: 0; font-weight: 700; }
.pv-h i { padding: 0.05em 0.6em; border-radius: 1em; font-size: 0.8em; font-weight: 600; }
.pv-price i { display: inline-block; margin-inline-start: 0.3em; padding: 0 0.45em; border-radius: 1em; font-size: 0.82em; font-weight: 600; }

/* Café: sample/cafe.css */
.pv-cafe { background: #F6EEE3; color: #2B1B12; }
.pv-cafe .pv-logo, .pv-cafe .pv-title { font-family: var(--font-cafe); }
.pv-cafe .pv-logo > svg { color: #C98A3D; }
.pv-cafe .pv-chip { background: #2B1B12; color: #F6EEE3; }
.pv-cafe .pv-hero { background: #2B1B12; color: #F6EEE3; }
.pv-cafe .pv-kicker { color: #E3B57C; }
.pv-cafe .pv-cta { background: #C98A3D; color: #2B1B12; }
.pv-cafe .pv-art { color: rgba(246, 238, 227, 0.5); }
.pv-cafe .pv-list p { border-color: rgba(43, 27, 18, 0.16); }
.pv-cafe .pv-list b { color: #6F4A33; }
.pv-cafe .pv-h i { background: #E7D6C1; color: #4B2E1F; }

/* Dental clinic: sample/clinic.css */
.pv-clinic { background: #F1F5FD; color: #0B1846; }
.pv-clinic .pv-logo { font-family: "Almarai", var(--font); }
.pv-clinic .pv-mark { background: #2457D6; color: #FFFFFF; }
.pv-clinic .pv-chip { background: #2457D6; color: #FFFFFF; }
.pv-clinic .pv-hero { background: #FFFFFF; box-shadow: inset 0 0 0 1px #D5E1F5; }
.pv-clinic .pv-kicker { color: #4A5D7A; }
.pv-clinic .pv-title { font-family: "Almarai", var(--font); }
.pv-clinic .pv-title span { color: #2457D6; }
.pv-clinic .pv-cta { background: #2457D6; color: #FFFFFF; }
.pv-clinic .pv-art { inset-inline-end: 0.6em; bottom: -0.3em; inline-size: 5.8em; block-size: 5.8em; color: #E6EEFB; }
.pv-book { padding: 0.75em 1.1em; }
.pv .pv-steps { display: flex; gap: 0.35em; margin-block-end: 0.55em; font-size: 0.68em; font-weight: 700; }
.pv-steps span { flex: 1; padding: 0.3em 0.4em; border-radius: 0.5em; background: #E6EEFB; color: #4A5D7A; text-align: center; white-space: nowrap; }
.pv-steps .done { background: #D9FDD3; color: #0B7A62; }
.pv-steps .on { background: #2457D6; color: #FFFFFF; }
.pv-pills { display: flex; gap: 0.4em; }
.pv-pills span { padding: 0.28em 0.75em; border-radius: 2em; background: #FFFFFF; box-shadow: inset 0 0 0 1px #D5E1F5; font-size: 0.74em; font-weight: 700; }
.pv-pills .on { background: #2457D6; color: #FFFFFF; box-shadow: none; }

/* Gym: sample/gym.css */
.pv-gym { background: #0A0C0F; color: #F4F6F1; }
.pv-gym .pv-logo, .pv-gym .pv-title { font-family: "Changa", var(--font); }
.pv-gym .pv-mark { background: #C6F432; color: #0A0C0F; }
.pv-gym .pv-chip { background: #C6F432; color: #0A0C0F; }
.pv-gym .pv-hero { background: #171C22; }
.pv-gym .pv-kicker { color: #C6F432; }
.pv-gym .pv-title { color: #FFFFFF; font-size: 1.6em; font-weight: 800; line-height: 1.25; }
.pv-gym .pv-title span { padding: 0 0.2em; border-radius: 0.18em; background: #C6F432; color: #0A0C0F; }
.pv-sched { padding: 0.7em 0.85em; }
.pv .pv-days { display: flex; gap: 0.35em; margin-block-end: 0.5em; }
.pv-days span { padding: 0.22em 0.75em; border-radius: 2em; background: #171C22; color: #A3ADB7; font-size: 0.72em; font-weight: 700; }
.pv-days .on { background: #C6F432; color: #0A0C0F; }
.pv .pv-row { display: flex; align-items: center; gap: 0.7em; margin-block-end: 0.35em; padding: 0.42em 0.7em; border-radius: 0.6em; background: #171C22; font-size: 0.76em; }
.pv-row b { color: #C6F432; white-space: nowrap; }
.pv-row span { flex: 1; }
.pv-row i { position: relative; flex: none; overflow: hidden; inline-size: 2.6em; block-size: 0.45em; border-radius: 1em; background: #2A323B; }
.pv-row i::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 66%; background: #C6F432; }
.pv-row i.hi::before { inline-size: 100%; background: #FF6B3D; }

/* Real estate office: sample/realestate.css */
.pv-re { background: #F8F5EF; color: #0B1B30; }
.pv-re .pv-top { padding-block-end: 2.3em; background: #0B1B30; color: #F8F5EF; }
.pv-re .pv-logo > svg { color: #C9A35E; }
.pv-re .pv-chip { background: #C9A35E; color: #0B1B30; }
.pv-re .pv-hero { margin: 0; padding: 0.15em 1.2em 0; border-radius: 0; }
.pv-re .pv-kicker { color: #C9A35E; }
.pv-re .pv-title { margin: 0; font-family: "El Messiri", var(--font-cafe); }
.pv-re .pv-title em { color: #C9A35E; }
.pv-listing { position: relative; display: flex; align-items: center; gap: 0.8em; margin: -1.6em 0.85em 0; padding: 0.55em; border-radius: 0.9em; background: #FFFFFF; box-shadow: 0 0.4em 1.2em rgba(11, 27, 48, 0.16); }
.pv-pic { position: relative; flex: none; overflow: hidden; inline-size: 7.4em; block-size: 5.2em; border-radius: 0.6em; }
.pv-pic svg { inline-size: 100%; block-size: 100%; }
.pv-pic span { position: absolute; top: 0.45em; inset-inline-start: 0.45em; padding: 0.05em 0.55em; border-radius: 1em; background: #C9A35E; color: #0B1B30; font-size: 0.62em; font-weight: 700; }
.pv-re .pv-meta { color: #4A5A70; font-size: 0.68em; }
.pv-re .pv-name { font-size: 0.86em; font-weight: 700; line-height: 1.35; }
.pv-re .pv-price { margin-block-start: 0.2em; color: #775A23; font-size: 0.74em; }
.pv-re .pv-price b { font-size: 1.25em; }
.pv-re .pv-price i { background: #F0E4C8; color: #775A23; }

/* Car showroom: sample/cars.css */
.pv-cars { background: #0B0E13; color: #F2F4F7; }
.pv-cars .pv-logo, .pv-cars .pv-title { font-family: "Cairo", var(--font); }
.pv-cars .pv-logo > svg { color: #D9DFE7; }
.pv-cars .pv-chip { background: #D3271D; color: #FFFFFF; }
.pv-cars .pv-hero { margin: 0; padding: 0.15em 1.2em 0.85em; border-radius: 0; }
.pv-cars .pv-kicker { color: #A7B2C0; }
.pv-cars .pv-title { font-weight: 800; }
.pv-cars .pv-title em { color: #FF5646; }
.pv-car { display: flex; align-items: center; gap: 0.8em; margin: 0 0.85em; padding: 0.55em; border-radius: 0.9em; background: #161C25; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09); }
.pv-carpic { display: grid; place-items: center; flex: none; inline-size: 8.4em; block-size: 4.8em; border-radius: 0.6em; background: #212935; color: #2A5A9E; }
.pv-carpic svg { inline-size: 88%; block-size: auto; }
.pv-cars .pv-name { font-size: 0.84em; font-weight: 700; }
.pv-cars .pv-meta { color: #A7B2C0; font-size: 0.68em; }
.pv-cars .pv-price { margin-block-start: 0.15em; color: #F2F4F7; font-size: 0.74em; }
.pv-cars .pv-price b { font-size: 1.3em; font-weight: 800; }
.pv-cars .pv-price i { background: #212935; color: #C5CDD8; }

/* Ladies' salon: sample/salon.css */
.pv-salon { background: #FFF9F7; color: #2D1427; }
.pv-salon .pv-logo, .pv-salon .pv-title { font-family: "Amiri", "Noto Naskh Arabic", "Geeza Pro", serif; }
.pv-salon .pv-logo > svg { color: #8C3B62; }
.pv-salon .pv-chip { background: #4A1D3C; color: #FFF9F7; }
.pv-salon .pv-hero { background: #F9ECE9; }
.pv-salon .pv-kicker { color: #845F2C; }
.pv-salon .pv-title { line-height: 1.45; }
.pv-salon .pv-title span { color: #8C3B62; }
.pv-salon .pv-art { bottom: 0.1em; inline-size: 5.6em; block-size: 5.6em; color: #E6A4B1; }
.pv-salon .pv-list p { border-color: rgba(45, 20, 39, 0.14); }
.pv-salon .pv-list b { color: #845F2C; }
.pv-salon .pv-h i { background: #F3CDD3; color: #4A1D3C; }

/* Brand identity «حلويات نموذج» (Namoothaj Sweets): sample/branding.html. Its colours are set once here,
   as custom properties, because the drawings in the #s-noon, #s-cupb and #s-bag symbols read them too.
   Rose: boxes and ads. Cardamom: logo and text. Milk: paper. Pistachio: cups and stickers. Saffron: small touches. */
.pv-brand {
  --b-accent: #F0A0B5;
  --b-deep: #1F3D2B;
  --b-paper: #FFF5F2;
  --b-soft: #B8CF86;
  --b-gold: #F2A93B;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 0.8em;
  padding: 1.1em 1.2em 0;
  background: var(--b-paper);
  color: var(--b-deep);
}
.pvb-sheet { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 0.7em; }
.pvb-mark { display: grid; place-items: center; grid-row: span 2; inline-size: 3em; block-size: 3em; border-radius: 50%; background: #FFFFFF; }
.pvb-mark svg { inline-size: 2.1em; block-size: 2.1em; }
.pvb-word { font-family: "Lalezar", var(--font-cafe); font-size: 1.55em; font-weight: 700; line-height: 1.2; }
.pvb-sub { font-size: 0.72em; font-weight: 600; }
.pvb-swatches { display: flex; gap: 0.35em; }
.pvb-swatches i { flex: 1; block-size: 1.7em; border-radius: 0.45em; box-shadow: inset 0 0 0 1px rgba(31, 61, 43, 0.12); }
.pvb-swatches i:nth-child(1) { background: var(--b-accent); }
.pvb-swatches i:nth-child(2) { background: var(--b-deep); }
.pvb-swatches i:nth-child(3) { background: var(--b-paper); }
.pvb-swatches i:nth-child(4) { background: var(--b-soft); }
.pvb-swatches i:nth-child(5) { background: var(--b-gold); }
.pvb-items { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 0.5em; min-block-size: 0; }
.pvb-item { display: grid; place-items: center; min-block-size: 0; border-radius: 0.7em 0.7em 0 0; background: #FFFFFF; }
.pvb-item svg { inline-size: 72%; block-size: auto; max-block-size: 5em; }
.pvb-card { align-content: center; justify-items: start; gap: 0.15em; padding: 0.6em 0.8em; background: var(--b-deep); color: var(--b-paper); }
.pvb-card b { font-family: "Lalezar", var(--font-cafe); font-size: 1.05em; font-weight: 700; line-height: 1.2; }
.pvb-card small { font-size: 0.66em; }

/* ---------- Check lists ---------- */
.checks { display: grid; gap: 8px; margin: 0 0 24px; list-style: none; }
.checks li { position: relative; padding-inline-start: 24px; }
.checks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.42em;
  inline-size: 14px;
  block-size: 14px;
  background: var(--check) no-repeat center / contain;
}
html[lang="ar"] .checks li::before { top: 0.55em; }

/* ---------- Prices: set like a printed price list ---------- */
.price-nav { margin-block: -24px 48px; }
.price-nav ul { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; }
.price-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: var(--t-cap);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--rule-2);
  text-underline-offset: 0.4em;
}
.price-nav a:hover { color: var(--teal); text-decoration-color: currentColor; }

.price-group { margin-block-end: 64px; }
.group-head { display: grid; gap: 8px; padding-block-end: 16px; border-block-end: 1px solid var(--ink); }
.group-head p { max-width: 40em; margin: 0; color: var(--ink-2); }
@media (min-width: 960px) {
  .group-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; }
  .group-head h3 { grid-column: 1 / span 3; }
  .group-head p { grid-column: 4 / -1; }
}

/* Price columns: divided by hairlines, not boxed */
.price-grid { display: grid; }
.price-card { position: relative; display: flex; flex-direction: column; padding-block: 24px 32px; }
.price-card + .price-card { border-block-start: 1px solid var(--rule); }
@media (min-width: 760px) {
  .price-grid { margin-inline: calc(-1 * var(--cell)); }
  .price-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card { padding-inline: var(--cell); }
  .price-card + .price-card { border-block-start: 0; border-inline-start: 1px solid var(--rule); }
  .price-grid.cols-4 > .price-card:nth-child(odd) { border-inline-start: 0; }
  .price-grid.cols-4 > .price-card:nth-child(n+3) { border-block-start: 1px solid var(--rule); }
  .price-grid > .price-card:only-child { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .price-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .price-grid.cols-4 > .price-card:nth-child(odd):not(:first-child) { border-inline-start: 1px solid var(--rule); }
  .price-grid.cols-4 > .price-card:nth-child(n+3) { border-block-start: 0; }
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin: 8px 0 16px;
}
.amount { color: var(--ink); font-size: var(--t-h2); font-weight: 700; line-height: 1.1; }
html[lang="en"] .amount { letter-spacing: -0.02em; }
.cur { color: var(--teal); font-weight: 700; }
.per { color: var(--ink-2); font-size: var(--t-cap); }

.founder {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-block-start: auto;
  padding-block-start: 16px;
  border-block-start: 1px dashed var(--rule-2);
  color: var(--ink);
  font-size: var(--t-cap);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.founder::before { content: ""; flex: none; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--amber); transform: translateY(-0.15em); }
.founder:hover { color: var(--teal); text-decoration: underline; }

.opt { color: var(--teal); font-size: var(--t-cap); font-weight: 600; }
.fine { margin: 0; padding-block-start: 12px; color: var(--ink-2); font-size: var(--t-cap); }

/* The bundle column: a white sheet among the paper ones */
.price-card.is-best { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); background: var(--white); }
@media (min-width: 760px) { .price-card.is-best { margin-inline: 0; padding-inline: var(--cell); } }
.best-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-block-end: 12px;
  padding: 0 8px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--white);
  font-size: var(--t-cap);
  font-weight: 600;
  line-height: 1.7;
}
.best-badge::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--amber); }

.all-include { max-width: 48em; margin: 8px 0 0; padding-block-start: 16px; border-block-start: 1px solid var(--rule); }

/* Launch pack: brand identity + one-page website + Google listing, set out like a quote */
.launch {
  display: grid;
  gap: 24px;
  margin-block: 64px 48px;
  padding: 32px 16px;
  border: 1px solid var(--ink);
  background: var(--white);
}
@media (min-width: 640px) { .launch { padding: 40px 32px; } }
@media (min-width: 960px) {
  .launch { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; padding: 48px; }
  .launch .best-badge { grid-column: 1 / -1; }
  .launch-copy { grid-column: 1 / span 5; }
  .launch-parts, .launch .fine { grid-column: 7 / -1; }
  .launch-parts { grid-row: 2; align-self: center; }
}
.launch .best-badge { justify-self: start; margin: 0; }
.launch h3 { margin-block-end: 16px; font-size: var(--t-h2); }
.launch-copy > p { margin-block-end: 0; color: var(--ink-2); }
.launch .price { margin: 24px 0 4px; }
.launch-copy .launch-save { color: var(--teal); font-weight: 700; }

/* Each part with a dotted leader to its price; the total under a rule */
.launch-parts { display: grid; list-style: none; }
.launch-parts li {
  display: grid;
  grid-template-columns: auto minmax(24px, 1fr) auto;
  align-items: baseline;
  column-gap: 12px;
  padding-block: 12px;
}
.launch-parts li::before { content: ""; grid-column: 2; grid-row: 1; border-block-end: 1px dotted var(--ink-2); }
.lp-text { display: contents; }
.lp-text b { grid-column: 1; grid-row: 1; }
.lp-text small { grid-column: 1 / -1; grid-row: 2; margin-block-start: 4px; color: var(--ink-2); font-size: var(--t-cap); line-height: 1.5; }
.lp-price { grid-column: 3; grid-row: 1; font-weight: 700; white-space: nowrap; }
.launch-parts .lp-total { margin-block-start: 8px; padding-block-start: 16px; border-block-start: 1px solid var(--ink); color: var(--ink-2); font-weight: 600; }
.lp-total .lp-text { display: block; grid-column: 1; grid-row: 1; }
.launch .fine { padding: 0; }

/* Founding-client prices: the one Deep Ink block in the prices */
.founding { margin-block: 0 48px; padding: 32px 16px; background: var(--ink); color: var(--white); }
@media (min-width: 640px) { .founding { padding: 48px 32px; } }
@media (min-width: 960px) {
  .founding { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: 64px 48px; }
  .founding-head { grid-column: 1 / span 4; margin: 0; }
  .founding-grid, .founding-foot { grid-column: 5 / -1; }
}
.founding-head { display: grid; align-content: start; gap: 16px; margin-block-end: 32px; }
.founding-badge { color: var(--amber); font-size: var(--t-h1); font-weight: 700; line-height: 1; } /* amber on Deep Ink: 6.3:1 */
.founding-head p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.85); }
.founding-grid { display: grid; gap: 32px; }
@media (min-width: 760px) {
  .founding-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
  .fi-monthly { grid-column: 1 / -1; }
  .fi-monthly .fi-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
}
.founding-item p { color: rgba(255, 255, 255, 0.88); }
.founding-item p:last-child { margin: 0; }
.founding-item .fi-label { margin: 0 0 8px; color: var(--amber); font-size: var(--t-cap); font-weight: 600; }
.fi-list { display: grid; margin: 0 0 16px; border-block-start: 1px solid var(--rule-inv); list-style: none; }
.fi-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding-block: 12px;
  border-block-end: 1px solid var(--rule-inv);
}
.fi-name { font-weight: 600; }
.fi-amt { color: rgba(255, 255, 255, 0.85); font-size: var(--t-cap); white-space: nowrap; }
.fi-amt b { color: var(--amber); font-size: var(--t-lead); line-height: 1.2; }
.founding-foot { margin: 32px 0 0; color: rgba(255, 255, 255, 0.85); font-size: var(--t-cap); }
.founding :focus-visible { outline-color: var(--white); }

.note { padding-block: 24px; border-block: 1px solid var(--rule); }
.note h3 { margin-block-end: 8px; font-size: var(--t-body); }
.note p { max-width: 46em; margin: 0; color: var(--ink-2); }

/* ---------- Try us first ---------- */
.try-flow { display: grid; margin: 0 0 48px; border-block: 1px solid var(--ink); list-style: none; }
.try-flow li { display: grid; align-content: start; gap: 4px; padding-block: 16px; }
.try-flow li + li { border-block-start: 1px solid var(--rule); }
.try-flow strong { font-size: var(--t-lead); line-height: 1.4; }
.try-flow small { color: var(--ink-2); font-size: var(--t-cap); line-height: 1.6; }
@media (min-width: 760px) {
  .try-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .try-flow li { position: relative; padding-block: 24px; padding-inline-end: 24px; }
  .try-flow li + li { padding-inline-start: 64px; border-block-start: 0; }
  /* An arrow between the steps, in reading order */
  .try-flow li + li::before {
    content: "";
    position: absolute;
    top: calc(24px + 0.7 * var(--t-lead) - 6px);
    inset-inline-start: 12px;
    inline-size: 32px;
    block-size: 12px;
    background: var(--ink);
    -webkit-mask: var(--arrow) no-repeat center / contain;
    mask: var(--arrow) no-repeat center / contain;
  }
  [dir="rtl"] .try-flow li + li::before { transform: scaleX(-1); }
}

/* The terms, one row each: what it is, what happens, when you pay */
.try-grid { border-block-start: 1px solid var(--ink); }
.try-card { display: grid; gap: 8px; padding-block: 24px; border-block-end: 1px solid var(--rule); }
.try-card > p:not(.when) { max-width: 36em; margin: 0; }
.when { margin: 0; font-size: var(--t-cap); font-weight: 600; }
.when span { display: block; color: var(--teal); font-weight: 700; }
@media (min-width: 960px) {
  .try-card { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding-block: 32px; }
  .try-title { grid-column: 1 / span 3; }
  .try-card > p:not(.when) { grid-column: 4 / span 6; }
  .when { grid-column: 10 / -1; }
}

.strip { max-width: 34em; margin: 48px 0 0; font-size: var(--t-lead); font-weight: 600; line-height: 1.6; }
html[lang="ar"] .strip { line-height: 1.75; }
.strip::before { content: ""; display: block; inline-size: 48px; block-size: 3px; margin-block-end: 16px; background: var(--amber); }

/* ---------- How it works ---------- */
.steps { display: grid; border-block-start: 1px solid var(--ink); list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 16px;
  padding-block: 24px;
  border-block-end: 1px solid var(--rule);
}
.steps li::before { content: counter(step); grid-row: 1 / span 2; color: var(--teal); font-size: var(--t-h2); font-weight: 700; line-height: 1; }
html[lang="ar"] .steps li::before { content: counter(step, arabic-indic); line-height: 1.2; }
.steps h3 { margin-block-end: 8px; }
.steps p { margin: 0; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); }
  .steps li { display: block; padding-block: 32px 0; border: 0; }
  .steps li::before { display: block; margin-block-end: 32px; font-size: var(--t-h1); }
}

/* ---------- Our rules (Deep Ink) ---------- */
.bg-ink .sec-head { border-block-start-color: var(--rule-inv); }
.bg-ink .sec-no { color: rgba(255, 255, 255, 0.85); }
.bg-ink .sec-no::before { color: var(--amber); }
.bg-ink :focus-visible { outline-color: var(--white); }
.rules { display: grid; gap: 32px; }
.rule { padding-block-start: 16px; border-block-start: 1px solid var(--rule-inv); }
.rule h3 { margin-block-end: 8px; }
.rule p { max-width: 30em; margin: 0; color: rgba(255, 255, 255, 0.85); }
@media (min-width: 640px) {
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
  .rule:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  /* Three in thirds, then two in halves */
  .rules { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 48px; }
  .rules > .rule { grid-column: span 2; }
  .rules > .rule:nth-child(n+4) { grid-column: span 3; }
}

/* ---------- Results: how we report them ---------- */
/* A sample one-page monthly report for the made-up café, with illustrative numbers (its first line says so), set
   like the real sheet: a white page on the desk tone. Phones: the report, then how often you hear from us.
   Tablets and small laptops: the same, with the three "how often" rows side by side.
   Wide screens: the report on the end side; beside it, held in view while the report goes by, how often you hear from us. */
.report-layout { display: grid; gap: 48px; }
@media (min-width: 640px) and (max-width: 1199px) {
  .report-rhythm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
}
@media (min-width: 1200px) {
  .report-layout { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .report-figure { grid-column: 5 / -1; grid-row: 1; }
  .report-copy { position: sticky; top: 112px; grid-column: 1 / span 3; grid-row: 1; }
}
.report-figure { min-inline-size: 0; margin: 0; }
.report-desk { margin-inline: calc(-1 * var(--gutter)); padding: 24px var(--gutter); background: var(--desk); }
@media (min-width: 640px) { .report-desk { margin-inline: 0; padding: 40px; } }
@media (min-width: 1200px) { .report-desk { padding: 56px; } }
.report { max-inline-size: 44rem; margin-inline: auto; padding: 24px 20px 20px; background: var(--white); }
@media (min-width: 640px) { .report { padding: 40px 40px 32px; } }

/* The first line of the sheet: the numbers are examples */
.report-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0 8px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--white);
  font-size: var(--t-cap);
  font-weight: 600;
  line-height: 1.7;
}
.report-tag::before { content: ""; flex: none; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--amber); }

/* The letterhead: on phones the logo sits on its own line above the title, so the title gets the full width */
.report-head { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 12px; padding-block-end: 16px; border-block-end: 1px solid var(--ink); }
@media (min-width: 640px) { .report-head { flex-direction: row; justify-content: space-between; gap: 16px; } }
.report-head h3 { font-size: var(--t-lead); }
.report-for { margin: 4px 0 0; color: var(--ink-2); font-size: var(--t-cap); line-height: 1.5; }
.report-for .nw { white-space: nowrap; } /* a line breaks only between the parts, never inside one */
.report-logo { flex: none; inline-size: 80px; }
@media (min-width: 640px) { .report-logo { inline-size: 96px; margin-block-start: 4px; } }

/* The four numbers: two by two, each with where it comes from */
.report-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.report-figs > div { min-inline-size: 0; padding-block: 16px; border-block-end: 1px solid var(--rule); }
.report-figs > div:nth-child(odd) { padding-inline-end: 12px; }
.report-figs > div:nth-child(even) { padding-inline-start: 12px; border-inline-start: 1px solid var(--rule); }
@media (min-width: 640px) {
  .report-figs > div { padding-block: 20px; }
  .report-figs > div:nth-child(odd) { padding-inline-end: 24px; }
  .report-figs > div:nth-child(even) { padding-inline-start: 24px; }
}
.report-figs dt { color: var(--teal); font-size: var(--t-cap); font-weight: 700; line-height: 1.5; }
.report-figs dd { margin: 0; }
.report-figs b { display: block; margin-block: 4px 6px; color: var(--ink); font-size: var(--t-h2); font-weight: 700; line-height: 1.1; white-space: nowrap; }
html[lang="en"] .report-figs b { letter-spacing: -0.02em; }
.report-figs b span { color: var(--teal); font-size: var(--t-cap); letter-spacing: 0; }
.report-figs small { display: block; color: var(--ink-2); font-size: var(--t-cap); line-height: 1.5; }

/* Enquiries week by week: four bars, each with its number (24 + 31 + 29 + 36 = 120) */
.report-weeks { padding-block: 20px; border-block-end: 1px solid var(--rule); }
.rw-label { margin: 0 0 12px; color: var(--teal); font-size: var(--t-cap); font-weight: 700; line-height: 1.5; }
.rw-bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 12px; list-style: none; }
.rw-bars li { display: grid; justify-items: center; gap: 4px; }
.rw-bars b { font-size: var(--t-cap); line-height: 1.2; }
.rw-bars i { display: block; inline-size: 100%; max-inline-size: 64px; block-size: calc(var(--v) * 2.5px); border-radius: 2px 2px 0 0; background: var(--teal); }
.rw-bars small { color: var(--ink-2); font-size: var(--t-cap); line-height: 1.3; white-space: nowrap; }

/* What worked, what didn't, next month's plan */
.report-notes { display: grid; gap: 24px; padding-block: 20px; }
@media (min-width: 640px) { .report-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.report-notes h4 { margin-block-end: 8px; }
.report-notes h4 ~ h4 { margin-block-start: 20px; }
.rn-list { display: grid; gap: 8px; font-size: var(--t-cap); line-height: 1.6; list-style: none; }
html[lang="ar"] .rn-list { line-height: 1.75; }
.rn-list li { position: relative; padding-inline-start: 24px; }
.rn-good li::before, .rn-bad li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.3em;
  inline-size: 14px;
  block-size: 14px;
  background: var(--check) no-repeat center / contain;
}
html[lang="ar"] .rn-good li::before, html[lang="ar"] .rn-bad li::before { top: 0.42em; }
.rn-bad li::before { background-image: var(--cross); }
.rn-plan { counter-reset: plan; }
.rn-plan li { counter-increment: plan; }
.rn-plan li::before { content: counter(plan); position: absolute; inset-inline-start: 2px; top: 0; color: var(--teal); font-weight: 700; }
html[lang="ar"] .rn-plan li::before { content: counter(plan, arabic-indic); }
.report-foot { margin: 0; padding-block-start: 16px; border-block-start: 1px solid var(--ink); color: var(--ink-2); font-size: var(--t-cap); line-height: 1.6; }

/* The handwritten note under the report, its arrow pointing up at the sheet */
.report-caption { margin: 16px 0 0; padding-inline-start: 24px; color: var(--teal); font-size: var(--t-hand); }

/* How often you hear from us, and the line on real case studies */
.report-rhythm { margin: 0; border-block-start: 1px solid var(--ink); }
.report-rhythm div { display: grid; align-content: start; gap: 4px; padding-block: 16px; border-block-end: 1px solid var(--rule); }
.report-rhythm dt { color: var(--teal); font-size: var(--t-cap); font-weight: 700; }
.report-rhythm dd { margin: 0; }
.report-real { max-width: 34em; margin: 40px 0 0; font-size: var(--t-lead); font-weight: 600; line-height: 1.5; }
html[lang="ar"] .report-real { line-height: 1.75; }
.report-real::before { content: ""; display: block; inline-size: 48px; block-size: 3px; margin-block-end: 16px; background: var(--amber); }

/* ---------- FAQ: the title stays beside the questions on wide screens ---------- */
@media (min-width: 960px) {
  .faq-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .faq-layout .sec-head { position: sticky; top: 112px; display: block; grid-column: 1 / span 4; margin: 0; }
  .faq-layout .sec-no { margin-block-end: 24px; }
  .faq-layout .faq-list, .faq-layout .faq-more { grid-column: 5 / -1; }
}
.faq-list { border-block-start: 1px solid var(--ink); }
.faq-list details { border-block-end: 1px solid var(--rule); }
.faq-list summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  inline-size: 14px;
  block-size: 14px;
  margin-block-start: 0.5em;
  margin-block-start: calc((1lh - 14px) / 2);
  background: var(--plus) no-repeat center / contain;
  transition: transform 0.3s var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--teal); }
.answer { max-width: 40em; padding-block-end: 24px; }
.answer p { margin: 0; }
.faq-more { margin: 24px 0 0; color: var(--ink-2); }

/* ---------- Contact (Teal) ---------- */
.contact { background: var(--teal); color: var(--white); }
.contact-inner { display: grid; gap: 48px; padding-block-start: 16px; border-block-start: 1px solid rgba(255, 255, 255, 0.3); }
@media (min-width: 960px) {
  .contact-inner { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-block-start: 24px; }
  .contact-main { grid-column: 1 / span 7; }
  .contact-side { grid-column: 9 / -1; }
}
.contact .sec-no { color: rgba(255, 255, 255, 0.85); }
.contact .sec-no::before { color: var(--white); }
.contact h2 { margin-block-end: 24px; font-size: var(--t-h1); }
html[lang="ar"] .contact h2 { line-height: 1.35; }
html[lang="en"] .contact h2 { line-height: 1.04; letter-spacing: -0.025em; }
.contact h2 .line { display: block; }
.contact .lead { max-width: 30em; margin-block-end: 32px; color: rgba(255, 255, 255, 0.92); }
.contact-note { margin: 16px 0 0; padding-inline-start: 24px; color: var(--white); font-size: var(--t-hand); }
.contact a:not(.btn) { color: var(--white); }
.contact a:not(.btn):hover { color: var(--paper); }
.contact :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
.contact-logo { inline-size: 120px; margin-block-end: 32px; }
.contact-list { border-block-start: 1px solid rgba(255, 255, 255, 0.3); list-style: none; }
.contact-list li { display: grid; gap: 4px; padding-block: 16px; border-block-end: 1px solid rgba(255, 255, 255, 0.18); }
.contact-list .label { color: rgba(255, 255, 255, 0.85); font-size: var(--t-cap); font-weight: 600; }
.contact-list a { overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 32px; background: var(--ink); color: rgba(255, 255, 255, 0.85); font-size: var(--t-cap); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.site-footer p { margin: 0; }
.footer-text { display: grid; gap: 4px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--paper); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
/* Room for the floating button, kept only where it can show over the footer: with no script, or no IntersectionObserver.
   When script.js watches the page ("fab-io"), the button is hidden whenever the contact section, and so the footer, is on screen. */
@media (max-width: 959px) {
  .site-footer { padding-block-end: 104px; }
  .fab-io .site-footer { padding-block-end: 32px; }
}

/* ---------- Floating WhatsApp button (phones and tablets) ---------- */
/* With JavaScript on, it starts hidden (the "js" class is set in <head> before anything is drawn) and script.js
   shows it once the top of the page is scrolled away. With JavaScript off it is simply always there. */
.wa-fab {
  position: fixed;
  z-index: 60;
  inset-inline-end: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  inline-size: 56px;
  block-size: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 0 0 3px var(--paper), 0 8px 24px -8px rgba(6, 50, 58, 0.5); /* it floats over the page, so it gets the page's one shadow */
  transition: opacity 0.25s, visibility 0.25s, transform 0.3s var(--ease), background-color 0.2s;
}
.wa-fab svg { inline-size: 28px; block-size: 28px; }
.wa-fab:hover { background: var(--teal-dark); color: var(--white); }
.js .wa-fab:not(.is-shown) { opacity: 0; visibility: hidden; transform: translateY(16px); }
@media (min-width: 960px) { .wa-fab { display: none; } }

/* ---------- Motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .wa-fab, .site-nav, .hero-figure, .gallery-hint { display: none !important; }
  .site-header { position: static; }
  .bg-ink, .contact, .founding, .svc-launch, .site-footer { background: none !important; }
  .bg-ink *, .contact *, .founding *, .svc-launch *, .site-footer * { color: #000 !important; }
  /* The sample report's "illustrative numbers" line must survive printing without backgrounds */
  .report-desk { background: none !important; padding: 0 !important; }
  .report-tag { background: none !important; color: #000 !important; outline: 1px solid #000; }
}
