/* Malvasia Fiumicino - preview site.
   Palette taken from the venue itself: majolica blue from the tablecloths and the painted
   plates, ochre from the ceramics, terracotta from the pans, warm paper from the printed card. */

:root {
  --ink: #16233f;
  --ink-soft: #3d4a68;
  --blue: #24407e;
  --blue-deep: #172c5c;
  --ochre: #c8912f;
  --terracotta: #b7512c;
  --paper: #f8f3e9;
  --paper-warm: #f1e7d6;
  --white: #ffffff;
  --line: rgba(22, 35, 63, .14);
  --shell: 1180px;
  --radius: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); }

h1, h2, h3 { font-family: 'Marcellus', Georgia, 'Times New Roman', serif; font-weight: 400; }

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.5rem);
  line-height: 1.08;
  margin: .3rem 0 1rem;
  letter-spacing: -.005em;
}

h1 em { font-style: normal; color: var(--terracotta); }

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  line-height: 1.18;
  margin: .1rem 0 1rem;
}

h3 {
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 .7rem;
}

p { margin: 0 0 1rem; }

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

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

:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 3px;
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.site-head__inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 68px;
  flex-wrap: wrap;
  padding: .55rem 0;
}

.wordmark {
  font-family: 'Marcellus', Georgia, serif;
  font-size: 1.28rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.1;
}

.wordmark span {
  display: block;
  font-family: 'Karla', sans-serif;
  font-size: .58rem;
  letter-spacing: .42em;
  color: var(--ochre);
  text-transform: uppercase;
  padding-left: .18em;
}

.site-nav {
  display: flex;
  gap: 1.35rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .92rem;
  padding: .25rem 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover { color: var(--blue); border-bottom-color: var(--ochre); }

.head-tel {
  font-weight: 700;
  color: var(--blue-deep);
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--line);
  padding: .45rem .85rem;
  border-radius: var(--radius);
}

.head-tel:hover { border-color: var(--ochre); }

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

.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.3rem 0 1.1rem; }

.btn {
  display: inline-block;
  padding: .82rem 1.4rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: .97rem;
  border: 1px solid transparent;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}

.btn--primary { background: var(--blue-deep); color: #fff; }
.btn--primary:hover { background: var(--terracotta); }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

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

.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: clamp(2.4rem, 5vw, 4rem) 0 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
  padding-bottom: clamp(2rem, 4vw, 3.4rem);
}

.eyebrow {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

.lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 34em; }

.stars {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
  color: var(--ink-soft);
  margin: 0;
}

.stars strong { color: var(--ink); }

.hero__shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 22px 44px rgba(22, 35, 63, .18);
}

.hero__shot { margin: 0; }

/* ---------- bands ---------- */

.band { padding: clamp(2.8rem, 6vw, 4.6rem) 0; }

.band--paper { background: var(--paper); }

.band--ink { background: var(--blue-deep); color: #eef2fb; }
.band--ink h2 { color: #fff; }
.band--ink .band__label { color: #d8b370; }
.band--ink a { color: #ffd79a; }

.band__label {
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 .35rem;
}

.split {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  align-items: center;
}

.split--reverse .frame--tall { order: 0; }

.frame { margin: 0; }

.frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.frame figcaption {
  font-size: .87rem;
  color: var(--ink-soft);
  padding-top: .6rem;
  border-top: 1px solid var(--line);
  margin-top: .7rem;
}

.band--ink .frame figcaption { color: #c6d0e6; border-top-color: rgba(255, 255, 255, .2); }

.intro { max-width: 46em; color: var(--ink-soft); }

/* ---------- carta ---------- */

.carta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.6rem 2.4rem;
  margin: 1.8rem 0 1.2rem;
}

.carta__col ul { list-style: none; margin: 0; padding: 0; }

.carta__col li {
  padding: .5rem 0;
  border-bottom: 1px dotted var(--line);
  font-size: .97rem;
  line-height: 1.45;
}

.carta__col li:last-child { border-bottom: 0; }

.note {
  font-size: .92rem;
  color: var(--ink-soft);
  max-width: 44em;
  border-left: 3px solid var(--ochre);
  padding-left: .95rem;
  margin-top: 1.2rem;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  margin-top: 2rem;
}

.strip img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- sala ---------- */

.frame--tall img { max-height: 620px; object-fit: cover; }

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0;
  margin: 1.4rem 0 0;
}

.tags li {
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: .3rem .9rem;
  font-size: .85rem;
  color: #e7edfa;
}

/* ---------- quotes ---------- */

.quotes {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.quotes li {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ochre);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1rem;
}

.quotes blockquote {
  margin: 0 0 .8rem;
  font-family: 'Marcellus', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.5;
}

.who { font-size: .84rem; color: var(--ink-soft); margin: 0; }

.wide { margin: 2rem 0 0; }

.wide img {
  width: 100%;
  height: clamp(240px, 34vw, 420px);
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: var(--radius);
}

.wide figcaption {
  font-size: .87rem;
  color: var(--ink-soft);
  padding-top: .6rem;
  margin-top: .7rem;
  border-top: 1px solid var(--line);
}

/* ---------- contatti ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.4rem, 4vw, 3rem);
  margin-top: 1.4rem;
}

.service { list-style: none; margin: 0 0 1rem; padding: 0; max-width: 26rem; }

.service li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--line);
}

.svc { font-weight: 600; }
.time { color: var(--ink-soft); }

.addr {
  font-style: normal;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  line-height: 1.75;
}

.addr strong { display: block; }

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

.site-foot {
  background: var(--ink);
  color: #d5dcec;
  padding: 1.8rem 0;
  font-size: .9rem;
}

.site-foot a { color: #ffd79a; }

.site-foot__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-foot p { margin: 0; }

.site-foot__social { display: flex; gap: 1.1rem; flex-wrap: wrap; }

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

.oops {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(100% - 2.5rem, 640px);
  margin-inline: auto;
  padding: 3rem 0;
}

.oops .wordmark { margin-bottom: 1.6rem; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero__inner,
  .split,
  .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .frame--tall { order: 2; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip img { height: 210px; }
  .site-nav { display: none; }
  .head-tel { margin-left: auto; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .strip img { height: 165px; }
  .btn { width: 100%; text-align: center; }
  .site-foot__inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
