/* 3004 website — layout. Mobile first; one breakpoint at 1024 px (SPEC §1).
   Colours, type, spacing and radii come from tokens.css (loaded first, unchanged).
   Logical properties throughout so the layout mirrors under dir="rtl" (SPEC §2). */

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Desktop only: reserve the scrollbar's space on every page, so short pages (no
   scrollbar) and long ones (scrollbar) centre the 1280 column identically with classic
   scrollbars. Not on phones: they overlay their scrollbars, and a reserved gutter would
   take 15 px from the 390 px layout wherever a classic bar is emulated. */
@media (min-width: 1024px) { html { scrollbar-gutter: stable; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* line-height stays at the browser default, as on the canvas: every paragraph role sets
   its own (lead, excerpt, body copy); labels, figures and tile titles use the default. */
body { margin: 0; background: var(--color-bg-canvas); color: var(--color-text-primary);
  font-family: var(--font-sans); font-size: var(--type-body-size); line-height: normal;
  min-height: 100vh; display: flex; flex-direction: column; }
main { display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 400; }
p { margin: 0; text-wrap: pretty; }
img { max-width: 100%; }
a { color: var(--color-accent); transition: color .15s, border-color .15s, background-color .15s; }
a:hover { color: var(--color-accent-hover); }
button { font: inherit; color: inherit; }
.mono { font-family: var(--font-mono); }
.icon { flex-shrink: 0; }
button:focus-visible, input:focus-visible, label:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .display, :lang(ar) .h2 { letter-spacing: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 50; padding: 12px 16px;
  background: var(--color-accent); color: var(--color-on-accent); border-radius: var(--radius-control); font-weight: 600; }
.skip:focus { top: 8px; }

.desk-only, .desk-only-flex { display: none !important; }
@media (min-width: 1024px) {
  .phone-only, .phone-only-flex { display: none !important; }
  .desk-only { display: revert !important; }
  .desk-only-flex { display: flex !important; }
}

/* Brand mark inside mono / small contexts keeps its own face (tokens.css .brand-3004). */

/* ── Type roles ───────────────────────────────────────────────────────── */
.display { font-size: var(--type-display-size); line-height: var(--type-display-lh);
  font-weight: var(--type-display-weight); letter-spacing: var(--type-display-tracking); }
.page-title { font-size: var(--type-page-title-size); line-height: var(--type-page-title-lh);
  font-weight: var(--type-page-title-weight); letter-spacing: var(--type-page-title-tracking); }
.h2 { font-size: var(--type-h2-size); line-height: var(--type-h2-lh); letter-spacing: var(--type-h2-tracking); }
.h3 { font-size: var(--type-h3-size); line-height: var(--type-h3-lh); font-weight: var(--type-h3-weight); }
.lead { font-size: var(--type-lead-size); line-height: var(--type-lead-lh); color: var(--color-text-body); }
.caption { font-size: var(--type-caption-size); line-height: var(--type-caption-lh); color: var(--color-text-subtle); }
@media (min-width: 1024px) { .lead { font-size: 18px; } }

/* ── Buttons (tokens.css .btn base) ───────────────────────────────────── */
.btn { font-family: var(--font-sans); transition: color .15s, border-color .15s, background-color .15s; }
.btn--primary, .btn--primary:hover { color: var(--color-on-accent); }
.btn--secondary:hover { color: var(--color-text-primary); }
.btn--portal:hover { color: var(--color-accent); }
.btn--sm { min-height: 48px; font-size: 15px; font-weight: 400; padding-inline: 16px; }
@media (min-width: 1024px) { .btn { align-self: flex-start; } }

/* ── Header (SPEC §3) ─────────────────────────────────────────────────── */
.hdr { height: var(--header-h); flex-shrink: 0; padding-inline: var(--gutter); display: flex; align-items: center;
  justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--color-border-hairline);
  background: var(--color-bg-canvas); }
.hdr__home { display: flex; align-items: center; text-decoration: none; min-height: 44px; }
.wordmark { display: flex; align-items: center; gap: 10px; }
.wordmark__mark { font-family: var(--font-mono); font-weight: 600; font-size: 22px; color: var(--color-text-primary); letter-spacing: 0.02em; }
.wordmark__words { display: flex; flex-direction: column; gap: 2px; font-size: 10px; line-height: 1.15; letter-spacing: 0.16em;
  color: var(--color-text-muted); text-transform: uppercase; }
.hdr__logo { display: block; height: 52px; width: auto; }
.hdr__end { display: flex; align-items: center; gap: 6px; }
/* nowrap: while web fonts load, the wider fallback (Impact) must not wrap the label. */
.hdr__portal { gap: 8px; white-space: nowrap; flex-shrink: 0; }
.hdr__burger { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0;
  background: transparent; border: 0; color: var(--color-text-primary); cursor: pointer; border-radius: var(--radius-control); }
.hdr__nav { align-items: center; gap: 28px; }
.hdr__nav a { font-size: 15px; color: var(--color-text-body); text-decoration: none; }
/* Only the current page looks active (white). Hover is a softer step: halfway between the
   body and primary text tokens, no weight change, so a hovered link never looks current. */
.hdr__nav a:hover { color: color-mix(in srgb, var(--color-text-body), var(--color-text-primary)); }
.hdr__nav a[aria-current], .hdr__nav a[aria-current]:hover { color: var(--color-text-primary); }
@media (min-width: 1024px) {
  .hdr { gap: 32px; }
  .hdr__end { gap: 28px; }
  .hdr__nav { display: flex !important; }
  .hdr__portal { padding-inline: 18px; font-size: 15px; }
}
@media (min-width: 1440px) { .hdr { padding-inline: max(var(--gutter), calc((100% - 1280px) / 2)); } }

/* The site header stays at the top (solid canvas background, the design's permanent
   bottom hairline). Phone: site.js hides it while scrolling down and brings it back on
   scrolling up; desktop: always shown. Anchors land below it ([id] scroll-margin-top). */
.hdr--site { position: sticky; top: 0; z-index: 30; }
@media (max-width: 1023px) {
  .hdr--site { transition: transform .2s ease; will-change: transform; }
  .hdr--site.is-hidden { transform: translateY(-100%); }
}
@media (prefers-reduced-motion: reduce) { .hdr--site { transition: none; } }

/* ── Back to top ──────────────────────────────────────────────────────── */
/* Bottom-right (inset-inline-end, so it mirrors in RTL), 44 px, gold outline. Under the
   header (30) and the phone menu (40). site.js shows it after about one screen of
   scrolling on long pages, and hides it while the form's Send button is on screen. */
#page-top { position: absolute; top: 0; width: 1px; height: 1px; outline: none; }
.to-top { position: fixed; z-index: 20; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 44px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill); border: 1px solid var(--color-accent); background: var(--color-bg-canvas);
  color: var(--color-accent); cursor: pointer; opacity: 0; visibility: hidden;
  transition: opacity .15s ease, visibility 0s linear .15s, background-color .15s; }
.to-top[hidden] { display: none; }
.to-top.is-shown { opacity: 1; visibility: visible; transition: opacity .15s ease, background-color .15s; }
.to-top:hover { background: rgba(255, 222, 95, 0.08); }
@media (min-width: 1024px) { .to-top { inset-inline-end: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top.is-shown { transition: none; } }

/* ── Phone menu (SPEC §3) ─────────────────────────────────────────────── */
.menu { position: fixed; inset: 0; z-index: 40; background: var(--color-bg-canvas); display: flex; flex-direction: column;
  overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__nav { flex-grow: 1; padding: 16px var(--gutter) 0; display: flex; flex-direction: column; }
.menu__nav a { height: 60px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--color-border-hairline); color: var(--color-text-primary); text-decoration: none; font-size: 24px; }
.menu__nav a .mono { font-size: 12px; color: var(--color-text-subtle); }
.menu__actions { padding: 20px var(--gutter) 32px; display: flex; flex-direction: column; gap: 12px; }
.menu__actions > .btn--primary { min-height: 56px; }
.menu__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body.menu-open { overflow: hidden; }
@media (min-width: 1024px) { .menu { display: none !important; } }

/* ── Sections (SPEC §1 rhythm) ────────────────────────────────────────── */
.sec { padding: var(--section-pad) var(--gutter); display: flex; flex-direction: column; gap: var(--stack-gap);
  border-top: 1px solid var(--color-border-hairline); }
.sec--raised { background: var(--color-bg-raised); }
.stack { display: flex; flex-direction: column; gap: var(--stack-gap); min-width: 0; }
@media (min-width: 1024px) {
  .sec { gap: 48px; }
  .stack { gap: 24px; }
  .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: start; }
  .split--center { align-items: center; }
}
@media (min-width: 1440px) {
  .sec { padding-inline: max(var(--gutter), calc((100% - 1280px) / 2)); }
}

/* ── Screenshots: composite (crop behind + phone in front) and single phone ── */
.gridbg { background-color: #12110E;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 24px 24px; }
.shot { position: relative; height: 540px; border-radius: var(--radius-media); border: 1px solid var(--color-border-hairline); overflow: hidden; }
.shot img { display: block; }
.shot__crop { position: absolute; top: 24px; width: 250px; max-width: calc(100% - 32px); border-radius: 10px; overflow: hidden;
  border: 1px solid var(--color-border-frame); box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.shot__crop img { width: 100%; height: auto; }
.shot__phone { position: absolute; bottom: 24px; width: 160px; height: 336px; border-radius: 26px; border: 5px solid #1A1916;
  box-shadow: 0 0 0 1px var(--color-border-frame), 0 24px 60px rgba(0,0,0,0.55); overflow: hidden; background: #1C1C1E; }
.shot__phone img { width: 100%; height: 100%; object-fit: contain; }
.shot--phone-end .shot__crop { inset-inline-start: 16px; }
.shot--phone-end .shot__phone { inset-inline-end: 16px; }
.shot--phone-start .shot__crop { inset-inline-end: 16px; }
.shot--phone-start .shot__phone { inset-inline-start: 16px; }
.shot--single { display: flex; align-items: center; justify-content: center; }
.shot--single .shot__phone { position: static; width: var(--pw); height: var(--ph); max-width: calc(100% - 32px); }
.shot--single .shot__phone img { object-fit: cover; object-position: top; }
@media (min-width: 1024px) {
  .gridbg { background-size: 32px 32px; }
  .shot { height: 660px; border-radius: var(--radius-media-lg); }
  .shot--tall { height: 720px; }
  .shot__crop { top: 36px; width: 440px; max-width: calc(100% - 48px); }
  .shot__phone { bottom: 36px; width: 236px; height: 499px; border-radius: 34px; border-width: 6px; }
  .shot--phone-end .shot__crop { inset-inline-start: 24px; }
  .shot--phone-end .shot__phone { inset-inline-end: 24px; }
  .shot--phone-start .shot__crop { inset-inline-end: 24px; }
  .shot--phone-start .shot__phone { inset-inline-start: 24px; }
  .shot--single .shot__phone { width: var(--dw); height: var(--dh); border-radius: 34px; }
}

/* ── 4.1 Hero ─────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-top: 36px; border-top: 0; }
.hero > :not(.hero__art) { position: relative; z-index: 1; }
.hero__art { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.24;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), #000 60%); mask-image: linear-gradient(180deg, rgba(0,0,0,.55), #000 60%); }
.hero__lead { font-size: 16px; line-height: 1.6; color: var(--color-text-body); }
/* Stroke widths: the wrapper carries "vph" (villa-lines.css, unchanged) for phone widths;
   from 1024 px these apply the same values as villa-lines.css's ".vdk" rules. The extra
   .hero__art makes them outrank ".vph .vb" / ".vph .vt" without touching that file. */
@media (min-width: 1024px) {
  .hero__art.vph .vb { stroke-width: 3.4; }
  .hero__art.vph .vt { stroke-width: 1.5; stroke-opacity: 0.85; }
}
@media (min-width: 1024px) {
  .hero { padding-top: 120px; padding-bottom: 128px; gap: 28px; }
  .hero__art { opacity: 0.2;
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.45), #000 55%); mask-image: linear-gradient(90deg, rgba(0,0,0,.45), #000 55%); }
  .hero .display { font-size: 76px; line-height: 1.03; letter-spacing: -0.028em; max-width: 1000px; }
  .hero__lead { font-size: 20px; max-width: 680px; }
}

/* ── 4.2 Why ──────────────────────────────────────────────────────────── */
.points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.points li { display: flex; gap: 16px; padding-block: 14px; border-top: 1px solid var(--color-border-hairline); font-size: 16px; line-height: 1.45; }
.points li:last-child { border-bottom: 1px solid var(--color-border-hairline); }
.points .mono { font-size: 12px; color: var(--color-accent); padding-top: 3px; }
.why__cta { margin-top: 8px; }
@media (min-width: 1024px) {
  .points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .points li { padding-block: 16px; font-size: 17px; }
  .points li:nth-last-child(2) { border-bottom: 1px solid var(--color-border-hairline); }
  .points .mono { padding-top: 4px; }
}

/* ── 4.3 Services ─────────────────────────────────────────────────────── */
.svc-list { display: flex; flex-direction: column; }
.svc { padding-block: 24px; border-top: 1px solid var(--color-border-hairline); display: flex; flex-direction: column; gap: 10px; }
.svc:last-child { border-bottom: 1px solid var(--color-border-hairline); }
.svc__top { display: flex; align-items: center; justify-content: space-between; }
.svc__n { font-size: 12px; color: var(--color-text-subtle); }
.tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-on-accent);
  background: var(--color-accent); border-radius: var(--radius-pill); padding: 4px 10px; line-height: 1.3; }
.svc__excerpt { font-size: 16px; line-height: 1.6; color: var(--color-text-body); }
.svc__link { min-height: 44px; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; text-decoration: none; }
.svc__link > span { display: inline; }
#services > .btn { margin-top: 8px; }
@media (min-width: 1024px) {
  #services .stack { gap: 20px; }
  .svc-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .svc { padding: 28px 24px; border: 1px solid var(--color-border-card); border-radius: var(--radius-card); gap: 14px;
    transition: border-color .15s; }
  .svc:last-child { border-bottom: 1px solid var(--color-border-card); }
  .svc:hover { border-color: var(--color-border-control); }
  .svc__top { min-height: 22px; }
  .svc__excerpt { font-size: 15px; flex-grow: 1; }
  .svc__link .desk-only { display: inline !important; }
  #services > .btn { margin-top: 0; }
}

/* ── 4.4 Portal ───────────────────────────────────────────────────────── */
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: start; }
.chip { padding: 14px; min-height: 44px; display: flex; flex-direction: column; align-items: stretch; gap: 8px; border-radius: var(--radius-control);
  cursor: pointer; text-align: start; font-size: 14px; line-height: 1.35; color: var(--color-text-primary);
  background: transparent; border: 1px solid var(--color-border-card); transition: border-color .15s, background-color .15s; }
.chip:hover { border-color: var(--color-border-control); }
/* Opening a chip never moves or resizes anything: only the border changes. */
.chip[aria-expanded="true"], .chip[aria-expanded="true"]:hover { border-color: var(--color-accent); }
.chip__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.chip__sign { flex-shrink: 0; font-size: 15px; line-height: 1.2; color: var(--color-accent); }
.chip .brand-3004 { margin-inline-end: 0.04em; }

/* The explanation bubble: floats over the content under the chip (or above it when
   there is no room below). site.js sets its position, width limit and pointer x. */
.chips-wrap { position: relative; }
.bubble { position: absolute; z-index: 5; top: 0; left: 0; width: max-content; max-width: 100%; padding: 12px 14px;
  background: var(--color-bg-raised); border: 1px solid var(--color-accent); border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55); font-size: 13px; line-height: 1.55; color: var(--color-text-body); text-align: start;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, visibility 0s linear .18s; }
.bubble.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .18s ease; }
.bubble__tip { position: absolute; left: var(--tip-x, 50%); width: 10px; height: 10px; margin-left: -5px;
  background: var(--color-bg-raised); transform: rotate(45deg); }
.bubble--below .bubble__tip { top: -6px; border-top: 1px solid var(--color-accent); border-left: 1px solid var(--color-accent); }
.bubble--above .bubble__tip { bottom: -6px; border-bottom: 1px solid var(--color-accent); border-right: 1px solid var(--color-accent); }
@media (prefers-reduced-motion: reduce) { .bubble, .bubble.is-open { transition: none; } }
.hint { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-subtle); }
@media (min-width: 1024px) { .chips { gap: 10px; } }

/* ── 4.5 Journey ──────────────────────────────────────────────────────── */
.journey { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.step { display: flex; gap: 16px; padding-block: 16px; border-top: 1px solid var(--color-border-hairline); }
.step:last-child { border-bottom: 1px solid var(--color-border-hairline); }
.step__n { width: 36px; height: 36px; flex-shrink: 0; border-radius: var(--radius-pill); border: 1px solid var(--color-border-control);
  color: var(--color-text-primary); background: var(--color-bg-canvas); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.step--first .step__n { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); font-weight: 600; }
.step__body { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.step__title { font-size: 17px; font-weight: 500; }
.step__caption { font-size: 14px; line-height: 1.5; color: var(--color-text-muted); }
@media (min-width: 1024px) {
  .journey__intro { max-width: 880px; gap: 20px; }
  .journey { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--color-border-card); }
  .step { padding: 28px 0 0; padding-inline-end: 20px; flex-direction: column; gap: 14px; border: 0; }
  .step:last-child { border: 0; }
  .step__n { width: 40px; height: 40px; font-size: 14px; margin-top: -48px; }
  .step__body { padding-top: 0; gap: 14px; }
  .step__title { font-size: 18px; }
}

/* ── 4.6 Fees ─────────────────────────────────────────────────────────── */
.fees__figure { gap: 6px; }
.fees__figure .label { margin-bottom: 14px; }
.figure { display: flex; align-items: baseline; gap: 10px; }
.figure__unit { font-size: 18px; color: var(--color-text-muted); }
.figure__num { font-size: var(--type-figure-size); line-height: var(--type-figure-lh); font-weight: var(--type-figure-weight);
  letter-spacing: var(--type-figure-tracking); color: var(--color-accent); }
.fees__per { font-size: 17px; }
.fees__side { display: flex; flex-direction: column; gap: var(--stack-gap); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tile { padding: 16px; border: 1px solid var(--color-border-card); border-radius: var(--radius-card-sm); display: flex; flex-direction: column; gap: 6px; }
.tile__num { font-size: 22px; }
.tile__title { font-size: 15px; font-weight: 500; }
.tile__text { font-size: 13px; line-height: 1.45; color: var(--color-text-muted); }
.indep { padding: 20px; border: 1px solid var(--color-accent); border-radius: 16px; display: flex; flex-direction: column; gap: 12px; }
.indep h3 { font-size: 20px; font-weight: 500; color: var(--color-accent); }
.indep p { font-size: 16px; line-height: 1.6; color: var(--color-text-body); }
@media (min-width: 1024px) {
  .fees__figure { gap: 20px; }
  .fees__figure .label { margin-bottom: 0; }
  .figure { gap: 14px; }
  .figure__unit { font-size: 24px; }
  .fees__per { font-size: 22px; }
  .fees__side { gap: 16px; }
  .tiles { gap: 16px; }
  .tile { padding: 32px; border-radius: var(--radius-media); gap: 10px; }
  .tile__num { font-size: 36px; }
  .tile__title { font-size: 19px; }
  .tile__text { font-size: 15px; line-height: 1.5; }
  .indep { padding: 32px; border-radius: var(--radius-media); }
  .indep h3 { font-size: 22px; }
}

/* ── 4.7 About ────────────────────────────────────────────────────────── */
.about { gap: 24px; }
.about__top { display: flex; flex-direction: column; gap: 24px; }
.about__top .stack { gap: 24px; }
.kpi { padding: 20px; border: 1px solid var(--color-border-card); border-radius: 16px; background: var(--color-bg-canvas);
  display: flex; flex-direction: column; gap: 14px; }
.kpi__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kpi__head h3 { font-size: 17px; line-height: 1.3; font-weight: 500; }
.live { flex-shrink: 0; display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent); }
.live__dot { width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--color-accent); }
.kpi__figures { display: flex; flex-direction: column; border-bottom: 1px solid var(--color-border-card); }
.kpi__fig { padding-block: 16px; border-top: 1px solid var(--color-border-card); display: flex; flex-direction: column; gap: 6px; }
.stat { font-size: var(--type-stat-size); line-height: var(--type-stat-lh); font-weight: var(--type-stat-weight); letter-spacing: var(--type-stat-tracking); }
.kpi__label { font-size: 14px; color: var(--color-text-muted); }
.vm { display: flex; flex-direction: column; gap: 24px; }
.vm__card { display: flex; flex-direction: column; gap: 8px; }
.vm__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-subtle); }
.vm__card p { font-size: 22px; line-height: 1.35; }
@media (min-width: 1024px) {
  .about { gap: 64px; }
  .about__top.split { display: grid; gap: 80px; }
  .about__top--solo { max-width: 880px; }
  .about__top .stack { gap: 20px; }
  .kpi { padding: 28px; border-radius: var(--radius-media); gap: 16px; }
  .kpi__head h3 { font-size: 20px; }
  .kpi__figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-bottom: 0; }
  .vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .vm__card { padding: 32px; border: 1px solid var(--color-border-card); border-radius: var(--radius-media); gap: 14px; }
  .vm__card p { font-size: 26px; line-height: 1.3; }
}

/* ── 4.8 Gallery ──────────────────────────────────────────────────────── */
.handle { min-height: 48px; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--color-text-primary); align-self: flex-start; }
.handle:hover { color: var(--color-text-primary); }
.handle__icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius-pill); border: 1px solid var(--color-accent);
  display: flex; align-items: center; justify-content: center; color: var(--color-accent); }
.handle__text { display: flex; flex-direction: column; gap: 2px; }
.handle__name { font-size: 16px; font-weight: 500; }
.handle__url { font-size: 11px; color: var(--color-text-subtle); }
.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; border-radius: var(--radius-card-sm); overflow: hidden; }
.feed__tile { position: relative; aspect-ratio: 1 / 1; display: block; background: var(--color-bg-media); overflow: hidden; }
.feed__tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .15s; }
.feed__tile::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .15s; pointer-events: none; }
.feed__tile:hover img { opacity: 0.8; }
.feed__tile:hover::after { box-shadow: inset 0 0 0 1px var(--color-accent); }
.feed__glyph { position: absolute; top: 8px; inset-inline-end: 8px; color: rgba(255,255,255,0.8); display: flex; }
@media (min-width: 1024px) { .feed { gap: 6px; border-radius: var(--radius-card); } }

/* ── 4.9 Contact ──────────────────────────────────────────────────────── */
.rows { display: flex; flex-direction: column; }
/* Phone: label over value, icon at the end. Desktop: label | value | (Maps) in one line. */
.row { min-height: 60px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label icon" "value icon";
  column-gap: 12px; row-gap: 2px; align-content: center; align-items: center; padding-block: 8px;
  border-top: 1px solid var(--color-border-card); color: var(--color-text-primary); text-decoration: none; }
.row:last-child { border-bottom: 1px solid var(--color-border-card); }
.row:hover { color: var(--color-text-primary); }
.row:hover .row__value { color: var(--color-accent-hover); }
.row--addr { min-height: 72px; }
.row__label { grid-area: label; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-subtle); }
.row__value { grid-area: value; font-size: 17px; line-height: 1.4; text-align: start; transition: color .15s; }
.row__icon { grid-area: icon; display: flex; }
.contact > .btn { margin-top: 4px; }
@media (min-width: 1024px) {
  .contact .stack { gap: 24px; }
  .row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 0; }
  .row__label { width: 120px; flex-shrink: 0; font-size: 12px; }
  .row__value { flex-grow: 1; font-size: 20px; }
  .row__maps { font-size: 14px; color: var(--color-accent); }
}

/* ── Footer (SPEC §4.10) ──────────────────────────────────────────────── */
.ftr { flex-grow: 1; padding: 40px var(--gutter); display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--color-border-hairline); }
.ftr--rows { gap: 20px; }
.ftr__mark { font-family: var(--font-mono); font-weight: 600; font-size: 22px; }
.ftr__text { font-size: 14px; line-height: 1.6; color: var(--color-text-muted); }
.ftr__nav { display: flex; flex-wrap: wrap; column-gap: 20px; }
.ftr__nav a { min-height: 44px; display: flex; align-items: center; font-size: 14px; color: var(--color-text-primary); }
.ftr--rows .ftr__nav { flex-direction: column; }
.ftr--rows .ftr__nav a { font-size: 15px; text-decoration: none; border-top: 1px solid var(--color-border-hairline); }
.ftr--rows .ftr__nav a:last-child { border-bottom: 1px solid var(--color-border-hairline); }
.ftr__copy { font-size: 12px; color: var(--color-text-subtle); }
@media (min-width: 1024px) {
  .ftr, .ftr--rows { padding: 48px var(--gutter); display: grid; grid-template-columns: minmax(0, 620px) 1fr; column-gap: 40px; row-gap: 14px;
    grid-template-areas: "logo nav" "text nav" "copy nav"; align-content: start; }
  .ftr__logo { grid-area: logo; display: block !important; height: 64px; width: auto; }
  .ftr__text { grid-area: text; }
  .ftr__copy { grid-area: copy; }
  .ftr__nav, .ftr--rows .ftr__nav { grid-area: nav; justify-self: end; align-self: start; flex-direction: row; gap: 28px; }
  .ftr--rows .ftr__nav a { font-size: 14px; text-decoration: underline; border: 0; }
  .ftr--rows .ftr__nav a:last-child { border: 0; }
}
@media (min-width: 1440px) { .ftr, .ftr--rows { padding-inline: max(var(--gutter), calc((100% - 1280px) / 2)); } }

/* ── Back link (service pages, form, policies) ────────────────────────── */
.back { min-height: 44px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 14px;
  color: var(--color-text-muted); text-decoration: none; }
.back:hover { color: var(--color-text-primary); }

/* ── Service pages (SPEC §5) ──────────────────────────────────────────── */
.svc-hero { padding: 20px var(--gutter) 40px; display: flex; flex-direction: column; gap: var(--stack-gap); }
.svc-hero__intro { font-size: 17px; line-height: 1.6; color: var(--color-text-body); }
.svc-rows { padding: 8px var(--gutter) 40px; }
.svc-rows__list { margin: 0; display: flex; flex-direction: column; }
.svc-row { padding-block: 20px; border-top: 1px solid var(--color-border-hairline); display: flex; flex-direction: column; gap: 8px; }
.svc-row:last-child { border-bottom: 1px solid var(--color-border-hairline); }
.svc-row__label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-subtle); }
.svc-row__text { margin: 0; font-size: 16px; line-height: 1.6; }
.svc-after { padding: 0 var(--gutter) 40px; }
.svc-after__frame { border-radius: 16px; border: 1px solid #2E2A20; overflow: hidden; background: #1C1C1E; }
.svc-after__frame img { display: block; width: 100%; height: auto; }
.fee-band { padding: 40px var(--gutter); display: flex; flex-direction: column; gap: 12px; background: var(--color-bg-raised);
  border-top: 1px solid var(--color-border-hairline); }
.fee-band__figure { display: flex; flex-direction: column; gap: 12px; }
.fee-band .figure__unit { font-size: 16px; }
.fee-band .figure__num { font-size: 56px; line-height: 1; letter-spacing: -0.03em; }
.fee-band__text { font-size: 16px; line-height: 1.6; color: var(--color-text-body); }
.svc-nav { padding: 40px var(--gutter); display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--color-border-hairline); }
.svc-nav__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 16px; }
.svc-card { min-height: 76px; padding: 12px 14px; border: 1px solid var(--color-border-card); border-radius: var(--radius-card-sm);
  display: flex; flex-direction: column; justify-content: space-between; gap: 6px; color: var(--color-text-primary); text-decoration: none;
  transition: border-color .15s; }
.svc-card:hover { color: var(--color-text-primary); border-color: var(--color-border-control); }
.svc-card__meta { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--color-text-subtle); }
.svc-card__title { font-size: 14px; line-height: 1.35; }
@media (min-width: 1024px) {
  .svc-hero { padding: 64px var(--gutter) 112px; display: grid; gap: 80px; }
  .svc-hero__text { gap: 24px; }
  .svc-hero .page-title { line-height: 1.06; }
  .svc-hero__intro { font-size: 19px; }
  .svc-hero__cta { margin-top: 8px; }
  .svc-rows { padding: 0 var(--gutter) 112px; }
  .svc-rows__list { border-bottom: 1px solid var(--color-border-hairline); }
  .svc-row { padding: 24px 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .svc-row:last-child { border-bottom: 0; }
  .svc-row__label { grid-column: span 4; padding-top: 4px; }
  .svc-row__text { grid-column: span 8; font-size: 19px; line-height: 1.55; }
  .svc-after { padding: 0 var(--gutter) 112px; }
  .svc-after__frame { border-radius: var(--radius-media); }
  .fee-band { padding: 80px var(--gutter); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
  .fee-band__figure { gap: 16px; }
  .fee-band .figure { gap: 14px; }
  .fee-band .figure__unit { font-size: 22px; }
  .fee-band .figure__num { font-size: 104px; line-height: 0.95; letter-spacing: -0.04em; }
  .fee-band__text { font-size: 19px; }
  .svc-nav { padding: 80px var(--gutter); }
  .svc-nav__pair { gap: 16px; padding-top: 0; }
  .svc-card { min-height: 120px; padding: 24px 28px; border-radius: var(--radius-card); gap: 12px; }
  .svc-card--end { align-items: flex-end; text-align: end; }
  .svc-card__meta { gap: 8px; font-size: 12px; }
  .svc-card__title { font-size: 22px; line-height: normal; }
}
@media (min-width: 1440px) {
  .svc-hero, .svc-rows, .svc-after, .fee-band, .svc-nav { padding-inline: max(var(--gutter), calc((100% - 1280px) / 2)); }
}

/* ── Policies (SPEC §4.11) ────────────────────────────────────────────── */
.policies { padding: 20px var(--gutter) 48px; display: flex; flex-direction: column; gap: 20px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { min-height: 44px; padding-inline: 16px; display: inline-flex; align-items: center; border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-control); font-size: 14px; color: var(--color-text-primary); text-decoration: none;
  transition: color .15s, border-color .15s, background-color .15s; }
.tab:hover { color: var(--color-text-primary); border-color: var(--color-text-subtle); }
.tab[aria-current="page"], .tab[aria-current="page"]:hover { background: var(--color-accent); border-color: var(--color-accent);
  color: var(--color-on-accent); font-weight: 600; }
.policy { display: flex; flex-direction: column; gap: 16px; }
.policy[hidden] { display: none; }
.policy h1 { font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; }
.policy h2 { font-size: 21px; line-height: 1.25; font-weight: 500; margin-top: 12px; }
.policy p { font-size: 16px; line-height: 1.7; color: var(--color-text-body); }
.policy ul { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.6;
  color: var(--color-text-body); }
.policy .policy__updated { font-size: 12px; line-height: normal; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-subtle); margin-top: 8px; }
@media (min-width: 1024px) {
  /* SPEC §4.11: the text column is 920 px wide at most (padding comes on top, as on the canvas). */
  .policies { padding: 64px var(--gutter) 112px; gap: 28px; max-width: calc(920px + 2 * var(--gutter)); }
  .policy { gap: 18px; }
  .policy h1 { font-size: 48px; }
  .policy h2 { font-size: 24px; }
  .policy p, .policy ul { font-size: 18px; }
}
@media (min-width: 1440px) {
  /* Above 1440 the 1280 column is centred; the 920 px text column starts at its left edge. */
  .policies { margin-inline-start: calc((100% - 1280px) / 2 - var(--gutter)); }
}

/* ── Free concept form (SPEC §6.3) ────────────────────────────────────── */
.fc { padding: 20px var(--gutter) 48px; display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 24px;
  grid-template-areas: "intro" "panel" "talk"; }
.fc__intro { grid-area: intro; display: flex; flex-direction: column; gap: 24px; }
.fc__copy { display: flex; flex-direction: column; gap: 14px; }
.fc__lead { font-size: 16px; line-height: 1.6; color: var(--color-text-body); }
.fc__panel { grid-area: panel; min-width: 0; }
.talk { grid-area: talk; }
/* Phone, sent: the page is the confirmation only (the intro copy and the talk row go,
   and so does the talk row's grid track, or its 24 px gap would stay behind). */
.fc--sent { grid-template-areas: "intro" "panel"; }
.fc--sent .fc__copy, .fc--sent .talk { display: none; }

.summary { margin-bottom: 24px; padding: 14px 16px; border: 1px solid var(--color-error); border-radius: var(--radius-control);
  display: flex; flex-direction: column; gap: 4px; }
.summary[hidden] { display: none; }
/* Focus is moved here for screen readers after a failed send; it's a message, not a control. */
.summary:focus { outline: none; }
.summary__title { font-size: 15px; font-weight: 500; color: var(--color-error); }
.summary__text { font-size: 14px; line-height: 1.5; color: var(--color-text-body); }

.fc-form { display: flex; flex-direction: column; gap: 20px; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld__label { font-size: 14px; font-weight: 500; }
.fld__error { font-size: 13px; line-height: 1.45; color: var(--color-error); display: flex; gap: 6px; align-items: flex-start; }
.fld__error[hidden] { display: none; }
.fld__error .icon { margin-top: 2px; }

.drop { position: relative; padding: 22px 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  border: 1.5px dashed var(--color-border-input); border-radius: var(--radius-card-sm); background: var(--color-bg-raised); cursor: pointer;
  transition: border-color .15s, background-color .15s; }
.drop:hover, .drop.is-drag { border-color: var(--color-accent); }
.drop.is-drag { background: rgba(255, 222, 95, 0.06); }
.drop:focus-within { border-color: var(--color-accent); box-shadow: var(--focus-ring); }
.drop.is-invalid { border-color: var(--color-error); }
.drop[hidden] { display: none; }
.drop__icon { width: 44px; height: 44px; border-radius: var(--radius-pill); background: #1F1D18; color: var(--color-accent);
  display: flex; align-items: center; justify-content: center; }
.drop__title { font-size: 16px; font-weight: 500; }
.drop__hint { font-size: 13px; line-height: 1.45; color: var(--color-text-subtle); }
.drop__pill { min-height: 44px; padding-inline: 18px; margin-top: 4px; display: flex; align-items: center; border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-control); font-size: 14px; font-weight: 500; }
.drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }

.file-row { padding: 10px 6px 10px 14px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--color-border-card);
  border-radius: var(--radius-card-sm); background: var(--color-bg-raised); }
.file-row[hidden] { display: none; }
.file-row__icon { color: var(--color-accent); display: flex; }
.file-row__meta { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.file-row__name { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row__size { font-size: 12px; color: var(--color-text-subtle); }
.file-row__remove { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 0;
  background: transparent; border: 0; border-radius: var(--radius-control); color: var(--color-text-muted); cursor: pointer; }
.file-row__remove:hover { color: var(--color-text-primary); }
.file-row__remove:disabled { opacity: .4; cursor: not-allowed; }
.progress { height: 4px; border-radius: var(--radius-pill); background: var(--color-border-card); overflow: hidden; }
.progress[hidden] { display: none; }
.progress__bar { display: block; height: 100%; width: 0; background: var(--color-accent); transition: width .15s; }

.tel { height: var(--input-h); display: flex; align-items: center; background: var(--color-bg-raised); border: 1px solid var(--color-border-input);
  border-radius: var(--radius-control); overflow: hidden; transition: border-color .15s; }
.tel:focus-within { border-color: var(--color-accent); box-shadow: var(--focus-ring); }
.tel.is-invalid { border-color: var(--color-error); }
.tel__prefix { height: 100%; padding-inline: 14px; display: flex; align-items: center; border-inline-end: 1px solid var(--color-border-card);
  font-size: 15px; color: var(--color-text-muted); }
.tel input { height: 100%; flex-grow: 1; min-width: 0; padding-inline: 14px; background: transparent; border: 0; font: inherit; font-size: 16px;
  color: var(--color-text-primary); }
.tel input:focus { outline: none; }
.tel input::placeholder { color: var(--color-text-subtle); }

.fc-form__note { font-size: 14px; line-height: 1.55; color: var(--color-text-muted); }
.fc-form__actions { display: flex; flex-direction: column; gap: 20px; }
.fc-form__send { width: 100%; min-height: 56px; border: 0; font-family: var(--font-sans); }
.fc-form__consent { font-size: 13px; line-height: 1.5; color: var(--color-text-subtle); }
.fc-form__consent a { color: var(--color-text-body); }

.talk { display: flex; flex-direction: column; border-top: 1px solid var(--color-border-hairline); border-bottom: 1px solid var(--color-border-hairline); }
.talk__toggle { min-height: 56px; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: transparent; border: 0; color: var(--color-text-primary); cursor: pointer; text-align: start; }
.talk__q { font-size: 15px; color: var(--color-text-muted); }
.talk__num { font-size: 16px; color: var(--color-accent); }
.talk__actions { padding-bottom: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.talk__actions[hidden] { display: none; }
.talk__btn { font-weight: 500; gap: 8px; }

.sent { display: flex; flex-direction: column; gap: 20px; }
.sent__check { width: 56px; height: 56px; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-on-accent);
  display: flex; align-items: center; justify-content: center; }
.sent__body { font-size: 17px; line-height: 1.6; color: var(--color-text-body); }
.sent__mobile { color: var(--color-text-primary); }
.sent__ref { font-size: 13px; color: var(--color-text-muted); }
.sent__ref [data-field] { color: var(--color-text-primary); }
.sent__actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.sent__btn { min-height: 52px; padding-inline: 24px; flex-grow: 1; }
.sent__again { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; color: var(--color-text-subtle); }
.sent__again:hover { color: var(--color-text-body); }

@media (min-width: 1024px) {
  .fc { padding: 80px var(--gutter) 112px; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px;
    grid-template-rows: auto 1fr; grid-template-areas: none; align-items: start; }
  .fc__intro { grid-column: 1 / span 5; grid-row: 1; padding-top: 16px; }
  .fc__copy { gap: 24px; }
  .fc__title { line-height: 1.05; }
  .fc__lead { font-size: 19px; }
  .talk { grid-column: 1 / span 5; grid-row: 2; }
  .fc__panel { grid-column: 7 / span 6; grid-row: 1 / span 2; padding: 40px; background: var(--color-bg-raised);
    border: 1px solid var(--color-border-card); border-radius: var(--radius-media-lg); }
  /* Desktop, sent: the left column (copy and talk row) stays; the panel confirms. */
  .fc--sent .fc__copy { display: flex; }
  .fc--sent .talk { display: flex; }
  .fc-form { gap: 22px; }
  .drop, .tel { background: var(--color-bg-canvas); }
  .file-row { background: var(--color-bg-canvas); }
  .fc-form__actions { flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 20px; }
  .fc-form__send { width: auto; padding-inline: 40px; flex-shrink: 0; align-self: auto; }
  .sent__title { font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; }
}
@media (min-width: 1440px) { .fc { padding-inline: max(var(--gutter), calc((100% - 1280px) / 2)); } }
