/* ------------------------------------------------------------------
   alessiosuppressa.com — stile essenziale, griglia svizzera
   Font: metti Inter Tight (woff2) in /fonts per la resa ottimale.
   Self-hosting = niente richieste a Google Fonts (GDPR) e più veloce.
------------------------------------------------------------------- */
@font-face {
  font-family: "Inter Tight";
  src: local("Inter Tight SemiBold"), url("fonts/InterTight-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: local("Inter Tight"), url("fonts/InterTight-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #fafafa;
  --ink: #111;
  --muted: #8a8a8a;
  --line: #e4e4e4;
  --pad: clamp(16px, 2.2vw, 32px);
  --gap: clamp(12px, 1.4vw, 20px);
  --font: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --small: 11px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--small);
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .55; }
a:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
img { display: block; width: 100%; height: auto; }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-inline: var(--pad);
}

/* Header */
.top { padding-top: var(--pad); align-items: start; }
.top__name  { grid-column: 1 / 5; }
.top__mail  { grid-column: 7 / 10; }
.top__clock { grid-column: 10 / 13; text-align: right; }

/* Display type (titoli grandi) */
.display {
  font-size: clamp(44px, 7.4vw, 118px);
  font-weight: 600;
  line-height: .88;
  letter-spacing: -0.035em;
}

/* Hero */
.hero { padding-top: clamp(80px, 14vh, 160px); }
.hero h1 { grid-column: 7 / 13; }

/* About */
.about { padding-top: clamp(80px, 16vh, 180px); }

/* Ambiti */
.areas { padding-block: clamp(40px, 7vh, 80px) clamp(60px, 10vh, 120px); border-bottom: 1px solid var(--line); margin-inline: var(--pad); padding-inline: 0; }
.areas .label { grid-column: 1 / 5; }
.areas__list { grid-column: 7 / 10; }
.areas__list--muted { grid-column: 10 / 13; color: var(--muted); }
.label { font-size: var(--small); font-weight: 400; }
.about .label { grid-column: 1 / 5; }
.about__text {
  grid-column: 7 / 10;
  text-transform: none;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0;
}

/* Work */
.work { padding-top: var(--pad); }
.work__list { row-gap: var(--pad); }
.work__list li { grid-column: span 4; }
.work__list img { aspect-ratio: 10 / 7; object-fit: cover; background: #ececec; filter: grayscale(1); }
.work__list figcaption { margin-top: 8px; }

/* Contact */
.contact { padding-top: clamp(80px, 14vh, 160px); }
.contact .label { grid-column: 1 / 5; }
.contact__links { grid-column: 7 / 13; }

/* Footer */
.bottom { padding-block: clamp(80px, 14vh, 160px) var(--pad); }
.bottom p:first-child { grid-column: 1 / 7; }
.bottom__right { grid-column: 7 / 13; text-align: right; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Tablet / mobile */
@media (max-width: 760px) {
  .top__name  { grid-column: 1 / 7; }
  .top__mail  { grid-column: 1 / 13; grid-row: 2; margin-top: 12px; }
  .top__clock { grid-column: 7 / 13; grid-row: 1; }
  .hero h1, .contact__links { grid-column: 1 / 13; }
  .display { font-size: clamp(40px, 13vw, 72px); }
  .about .label, .contact .label, .areas .label { grid-column: 1 / 13; margin-bottom: 16px; }
  .areas__list { grid-column: 1 / 7; }
  .areas__list--muted { grid-column: 7 / 13; }
  .about__text { grid-column: 1 / 13; max-width: 34ch; }
  .work__list li { grid-column: 1 / 13; }
  .bottom p:first-child, .bottom__right { grid-column: 1 / 13; text-align: left; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
