/* Quvasoy City — shared layer: the design tokens every section uses, a minimal reset and two utilities.
   Each section is styled in its own file under its own root ([data-qc="…"] or #engine) and takes its fonts and
   colours from these tokens only; nothing here reaches inside a section. */
:root {
  /* Type: two families. Unbounded (wide and heavy, like the IZMIR logo) for headings, the wordmark and big
     figures; Manrope for all text, buttons and labels. Both Latin + Cyrillic. */
  --qc-f-display: 'Unbounded', 'Manrope', system-ui, sans-serif;                    /* 500 / 700 / 800 */
  --qc-f-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;  /* 300–800 */

  /* Type scale */
  --qc-fs-h2: clamp(30px, 4.2vw, 58px);        /* section titles: display 700 */
  --qc-fs-h3: clamp(21px, 2vw, 28px);          /* card and step titles: display 700 */
  --qc-fs-lede: clamp(17px, 1.3vw, 19px);
  --qc-fs-body: 16px;
  --qc-fs-small: 14px;
  --qc-fs-label: 12px;                          /* eyebrows and tags: sans 600, uppercase */
  --qc-track-label: 0.16em;
  --qc-track-head: -0.02em;
  --qc-lh-head: 1.06;

  /* Colour: the brand (the Izmir Group logo: maroon + copper) on the building's stone. */
  --qc-ivory: #f5f0ea;                          /* page ground: the facade stone */
  --qc-paper: #ffffff;                          /* cards and the form */
  --qc-sand: #e8dfd3;                           /* tiles and quiet fills on ivory */
  --qc-ink: #22160f;                            /* text: a warm near-black (15:1 on ivory) */
  --qc-ink-2: #5e524b;                          /* secondary text (6.7:1 on ivory) */
  --qc-ink-3: #8a7e77;                          /* hints and large text only */
  --qc-line: rgba(34, 22, 15, 0.14);
  --qc-brand: #450b09;                          /* Izmir maroon */
  --qc-accent: #a74c01;                         /* Izmir copper: buttons, active states, eyebrows (5:1 on ivory) */
  --qc-accent-hover: #8c3f01;
  --qc-glow: #f0a55a;                           /* copper light on dark grounds */
  --qc-night: #1a110d;                          /* every dark section */
  --qc-night-2: #271b16;                        /* tiles on night */
  --qc-on-night: #f5f0ea;
  --qc-on-night-2: rgba(245, 240, 234, 0.7);
  --qc-on-night-line: rgba(245, 240, 234, 0.18);
  --qc-danger: #b42318;
  --qc-radius: 18px;
  --qc-radius-sm: 10px;
  --qc-gutter: clamp(16px, 4vw, 64px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--qc-ivory);
  color: var(--qc-ink);
  font-family: var(--qc-f-sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

.qc-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;
}
.qc-skip {
  position: fixed; left: 16px; top: 16px; z-index: 1000;
  padding: 12px 18px; border-radius: 999px; background: var(--qc-paper); color: var(--qc-ink);
  font: 600 14px/1 var(--qc-f-sans); text-decoration: none;
  transform: translateY(calc(-100% - 64px)); /* clear of the screen together with its shadow */
}
.qc-skip:focus-visible {
  transform: none; box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
  outline: 2px solid var(--qc-accent); outline-offset: 2px;
}
/* Phones (25.11): links to a section glide there and stop below the fixed top capsule (12 + 54 px + air),
   so a section's eyebrow is never under it. js/bridge.js reads the same padding for its own scrolls. */
@media (max-width: 780px) {
  html { scroll-padding-top: 76px; }
}
@media (max-width: 780px) and (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
