/* ============================================================================
   UNO CREATIVE GROUP — main.css
   Design system: tokens, reset, base typography, 12-column grid.
   Direction: "Atelier" — Swiss modular grid, light theme, one signal red.
   ========================================================================== */

:root {
  /* Palette */
  --paper:  #E9E9E4;
  --panel:  #E1E1DB;
  --ink:    #16171B;
  --soft:   #5A5B5E;
  --red:    #E2231A;
  --line:   rgba(22, 23, 27, .16);
  --line-2: rgba(22, 23, 27, .08);

  /* Type */
  --f-d: 'Archivo', Arial, 'Helvetica Neue', sans-serif;
  --f-n: 'Archivo Narrow', 'Arial Narrow', Arial, sans-serif;

  /* Metrics */
  --bar-h: 62px;
  --gutter: clamp(20px, 4vw, 40px);
  --maxw: 1320px;

  color-scheme: light;
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-d);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---- Selection ------------------------------------------------------------ */
::selection { background: var(--red); color: var(--paper); }

/* ---- Type scale ----------------------------------------------------------- */
.display {
  font-family: var(--f-d);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.045em;
}
.eyebrow {
  font-family: var(--f-n);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
}
.lead {
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.5;
  color: var(--soft);
}

/* ---- Layout helpers ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Full-bleed 12-col grid with left border (Swiss register look) */
.grid12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.section { border-top: 1px solid var(--line); }
.section-pad { padding-block: clamp(64px, 10vw, 128px); }

/* Skip link for a11y */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
  font-family: var(--f-n); font-weight: 700; font-size: 13px;
}
.skip:focus { left: 12px; top: 12px; }

/* Visible keyboard focus */
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---- Print ---------------------------------------------------------------- */
@media print {
  :root { --paper: #fff; --ink: #000; }
  body { background: #fff; color: #000; }
  .bar, .menu, .burger, .lang-toggle, #heroSolid, .visual-tag,
  .hero-visual, .scroll-cue, .cta .actions, .filter { display: none !important; }
  html.js [data-hero-h1], html.js [data-hero-sub] { opacity: 1 !important; }
  .hero, .hero-grid, .hero-type { display: block; min-height: auto; padding-top: 0; border: 0; }
  .section, .register, .svc, .cta, .foot { break-inside: avoid; border-color: #ccc; }
  a { color: #000; text-decoration: underline; }
  .work-thumb { background: #f3f3f3; }
}
