/* Switzer, versão web variável: um único ficheiro cobre todos os pesos
   (100 a 900), mais leve do que carregar um ficheiro por peso. */
@font-face{
  font-family:'Switzer';
  src:url('../fonts/Switzer-Variable.woff2') format('woff2');
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'Switzer';
  src:url('../fonts/Switzer-VariableItalic.woff2') format('woff2');
  font-weight:100 900;
  font-style:italic;
  font-display:swap;
}

/* ============================================================
   base.css — tokens, reset, typography primitives
   ============================================================ */

:root{
  /* surface */
  --paper:#FFFFFF;
  --paper-warm:#F7F7F5;
  --ink:#151312;
  --ink-soft:#4a4744;
  --ink-faint:rgba(21,19,18,.5);
  --rule:rgba(21,19,18,.14);

  /* accents — saturated, not muted */
  --burnt:#F2481B;
  --cobalt:#1F3FE0;
  --moss:#12A94C;
  --gold:#FFBE0B;
  --plum:#B02890;

  /* tipo: uma só família, Switzer */
  --sans:'Switzer', 'Helvetica Neue', Arial, sans-serif;

  /* rhythm */
  --gutter:clamp(1.25rem, 6vw, 6rem);
  --ease:cubic-bezier(.16,.8,.24,1);
}


*{ box-sizing:border-box; }

/* No global smooth-scroll: it makes every wheel tick feel like it drags.
   Smooth scrolling is opted into per-jump in JS instead. Keeping
   overflow-x on <body> only avoids a nested scroll container, which is
   what makes a page feel like it "catches" on a full-height section. */
/* O site é agora um ecrã só (o hero, e por cima dele a vista de projetos):
   não há scroll de página. A reserva de espaço para a barra de scroll que
   havia aqui deixava, sem barra nenhuma, uma faixa vazia à direita em
   computadores com barras clássicas. */
html{ overflow:hidden; height:100%; }
html,body{
  margin:0;
  padding:0;
  background:var(--paper);
  color:var(--ink);
}
body{ overflow:hidden; height:100%; }

body{
  font-family:var(--sans);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

h1,h2,h3,h4{
  font-family:var(--sans);
  margin:0;
  font-weight:500;
  letter-spacing:-.015em;
}

p{ margin:0; }
a{ color:inherit; }

/* ---- shared editorial primitives ---- */

.eyebrow{
  font-family:var(--sans);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ink-faint);
}

.section{
  position:relative;
  padding:clamp(5rem, 12vh, 9rem) var(--gutter);
}

.rule{
  height:1px;
  background:var(--rule);
  border:0;
  margin:0;
}

/* accessibility */
.visually-hidden{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

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