/* SOHI Kebab Pizzeria, Fondi.
   Palette read off the counter: the blue and yellow of the SOHI boards over the till, the
   night sky over the piazza, the red of the terrace umbrella and the cream of the stone. */

:root {
  --notte: #141B3D;
  --notte-cupa: #0C1029;
  --blu: #2C31A8;
  --giallo: #F5C13B;
  --giallo-cupo: #C4901B;
  --brace: #C03B22;
  --crema: #FAF5EC;
  --crema-scura: #F1E8D8;
  --carta: #FFFDF8;
  --inchiostro: #1B1D2B;
  --grigio: #5F6274;
  --bordo: #DFD3BE;
  --shell: 69rem;
  --r: 3px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--crema);
  color: var(--inchiostro);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Familjen Grotesk', 'Manrope', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.018em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 1.4rem + 3.1vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.5vw, 2.2rem); }
h3 { font-size: 1.1rem; letter-spacing: -0.005em; }

p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--blu); }
a:hover { color: var(--notte); }

:focus-visible {
  outline: 3px solid var(--brace);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell {
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--notte);
  color: #fff;
  padding: 0.7rem 1.1rem;
  z-index: 20;
}
.skip:focus { left: 0; color: #fff; }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  padding: 0.72rem 1.25rem;
  border-radius: var(--r);
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}
.btn:active { transform: translateY(1px); }

.btn--giallo {
  background: var(--giallo);
  color: var(--notte);
  border-color: var(--giallo);
}
.btn--giallo:hover { background: #ffd45f; color: var(--notte); }

.btn--linea {
  color: var(--crema);
  border-color: rgba(250, 245, 236, 0.45);
}
.btn--linea:hover { background: rgba(250, 245, 236, 0.12); color: #fff; }

.btn--notte {
  background: var(--notte);
  color: var(--giallo);
  border-color: var(--notte);
}
.btn--notte:hover { background: #232c58; color: var(--giallo); }

/* ---------- top bar ---------- */

.topbar {
  background: var(--notte);
  color: var(--crema);
  position: relative;
  z-index: 5;
}

.topbar__in {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.mark {
  text-decoration: none;
  color: var(--crema);
  display: grid;
  line-height: 1.1;
  margin-right: auto;
}
.mark__word {
  font-family: 'Familjen Grotesk', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--giallo);
}
.mark__sub {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 245, 236, 0.7);
}

.nav {
  display: none;
  gap: 1.35rem;
  font-size: 0.93rem;
  font-weight: 500;
}
.nav a {
  color: rgba(250, 245, 236, 0.86);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: #fff; border-bottom-color: var(--giallo); }

.topbar__cta { padding: 0.55rem 1rem; font-size: 0.92rem; }

@media (min-width: 56rem) {
  .nav { display: flex; }
}

/* ---------- hero ---------- */

.hero {
  background: var(--notte);
  color: var(--crema);
  display: grid;
  gap: 0;
}

.hero__text {
  padding: 2.6rem 0 3rem;
  width: min(100% - 2.5rem, var(--shell));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--giallo);
  margin-bottom: 1.1rem;
}

.hero h1 { color: #fff; max-width: 15ch; }

.hero__lead {
  color: rgba(250, 245, 236, 0.86);
  font-size: 1.08rem;
  max-width: 42ch;
  margin-bottom: 1.6rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
}

.score {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(250, 245, 236, 0.18);
  max-width: 20rem;
}
.score__n {
  font-family: 'Familjen Grotesk', system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--giallo);
  line-height: 1;
}
.score__t {
  font-size: 0.83rem;
  line-height: 1.35;
  color: rgba(250, 245, 236, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.score__t span { letter-spacing: 0.04em; text-transform: none; }

.hero__shot img { width: 100%; object-fit: cover; }

@media (min-width: 62rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 42vw;
    align-items: stretch;
  }
  .hero__text {
    width: auto;
    margin: 0;
    padding: 4.5rem 3.5rem 4.5rem max(2.5rem, calc((100vw - var(--shell)) / 2));
    align-self: center;
  }
  .hero__shot { position: relative; }
  .hero__shot img { position: absolute; inset: 0; height: 100%; }
}

/* ---------- section furniture ---------- */

.kebab, .pizza, .dolci, .voci, .ordinare, .dove { padding: 3.4rem 0; }
.kebab { background: var(--crema); }

.h-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}
.h-rule::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--bordo);
}

.lead {
  max-width: 52ch;
  color: var(--grigio);
  margin-bottom: 2rem;
}

.nota {
  margin-top: 1.6rem;
  font-size: 0.94rem;
  color: var(--grigio);
  max-width: 56ch;
}

.segni {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.segni li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.98rem;
}
.segni li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--giallo);
  border-radius: 1px;
}

/* ---------- kebab grid ---------- */

.griglia {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.griglia li {
  background: var(--carta);
  border: 1px solid var(--bordo);
  border-radius: var(--r);
  overflow: hidden;
}
.griglia img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.griglia h3 { margin: 1rem 1.1rem 0.3rem; }
.griglia p { margin: 0 1.1rem 1.2rem; color: var(--grigio); font-size: 0.95rem; }

.listino {
  margin-top: 2.2rem;
  display: grid;
  gap: 1.6rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  background: var(--crema-scura);
  border-radius: var(--r);
  padding: 1.6rem 1.7rem;
}
.listino h3 {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grigio);
  margin-bottom: 0.8rem;
}

/* ---------- the late band ---------- */

.notte {
  background: var(--notte-cupa);
  color: var(--crema);
  padding: 2.8rem 0;
}
.notte__in {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}
.notte__ora {
  font-family: 'Familjen Grotesk', system-ui, sans-serif;
  font-size: clamp(3.4rem, 2rem + 6vw, 5.5rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--giallo);
  margin: 0;
  letter-spacing: -0.03em;
}
.notte__t {
  max-width: 46ch;
  color: rgba(250, 245, 236, 0.88);
  margin-bottom: 1.2rem;
}
.notte a { color: var(--giallo); }

@media (min-width: 48rem) {
  .notte__in { grid-template-columns: auto minmax(0, 1fr); gap: 2.6rem; }
}

/* ---------- pizza ---------- */

.pizza { background: var(--carta); }
.pizza__in, .dolci__in, .ordinare__in {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.pizza__shot img, .dolci__shot img, .dove__shot img {
  border-radius: var(--r);
  border: 1px solid var(--bordo);
  width: 100%;
}
.pizza__text p { max-width: 46ch; }
.pizza__text .segni { margin-top: 1.4rem; }

@media (min-width: 62rem) {
  .pizza__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.2rem; }
}

/* ---------- dolci ---------- */

.dolci { background: var(--crema); }
.dolci__text p { max-width: 44ch; }
.dolci__text .segni { margin-top: 1.2rem; }

@media (min-width: 62rem) {
  .dolci__in { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 3.2rem; }
}

/* ---------- voci ---------- */

.voci {
  background: var(--blu);
  color: #fff;
}
.voci h2 { color: #fff; }
.voci__grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-top: 1.6rem;
}
.voci blockquote {
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--giallo);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1.3rem 1.4rem 1.1rem;
}
.voci blockquote p { font-size: 1.02rem; }
.voci cite {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.voci__nota { margin: 1.6rem 0 0; font-size: 0.93rem; }
.voci__nota a { color: var(--giallo); }
.voci__nota a:hover { color: #fff; }

/* ---------- ordinare ---------- */

.ordinare { background: var(--carta); }
.ordinare__in { gap: 1.8rem; }
.ordinare p { max-width: 50ch; }
.ordinare .segni { margin-top: 1.3rem; }
.ordinare__cta { margin: 0; }

@media (min-width: 62rem) {
  .ordinare__in { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

/* ---------- dove ---------- */

.dove { background: var(--crema); padding-bottom: 4rem; }
.dove__in { display: grid; gap: 2.2rem; }
.dove__cols { display: grid; gap: 2rem; }
.dove__box h2 { font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.7rem); }
.indirizzo {
  font-family: 'Familjen Grotesk', system-ui, sans-serif;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.35;
}
.dove p { max-width: 40ch; color: var(--grigio); }
.dove__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-weight: 600;
}

@media (min-width: 62rem) {
  .dove__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 3rem; }
  .dove__cols { gap: 2.4rem; }
}

/* ---------- footer ---------- */

.pie {
  background: var(--notte);
  color: rgba(250, 245, 236, 0.8);
  padding: 2.4rem 0;
}
.pie__in { display: grid; gap: 0.5rem; }
.pie__mark {
  font-family: 'Familjen Grotesk', system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--giallo);
  margin: 0;
}
.pie__addr { margin: 0; font-size: 0.95rem; }
.pie a { color: rgba(250, 245, 236, 0.9); }
.pie a:hover { color: var(--giallo); }
.pie__social {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- 404 ---------- */

.perso {
  min-height: 82vh;
  display: grid;
  align-content: center;
  background: var(--notte);
  color: var(--crema);
  text-align: left;
  padding: 3rem 0;
}
.perso h1 { color: #fff; max-width: 18ch; }
.perso p { max-width: 44ch; color: rgba(250, 245, 236, 0.85); }
.perso__cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
