/* VOLATILE vineria e cucina - Pietrasanta.
   Palette taken from the room in the venue's own photos: enamelled grey walls, light wood,
   amber light over the counter, one wine red. */

:root {
  --ink: #191816;
  --ink-soft: #4a4844;
  --paper: #f3efe6;
  --paper-warm: #ece5d8;
  --enamel: #333432;
  --enamel-soft: #43443f;
  --grey-line: #cec6b6;
  --amber: #b9762a;
  --amber-light: #d99a45;
  --wine: #74202f;
  --shell: 1140px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.06rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.02em; }

p { margin: 0 0 1.1em; }

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

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

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

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

.site-head {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-line);
}

.site-head__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 68px;
}

.wordmark { text-decoration: none; display: flex; align-items: baseline; gap: 0.55rem; }
.wordmark__name {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  letter-spacing: 0.01em;
}
.wordmark__tag {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-soft);
}

.site-nav { margin-left: auto; display: flex; gap: 1.35rem; }
.site-nav a {
  text-decoration: none; font-size: 0.9rem; font-weight: 500;
  color: var(--ink-soft); padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--amber); }

.head-tel {
  text-decoration: none; font-weight: 600; font-size: 0.94rem;
  white-space: nowrap;
  border: 1px solid var(--ink); border-radius: 999px;
  padding: 0.42rem 1rem;
}
.head-tel:hover { background: var(--ink); color: var(--paper); }

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

.hero { padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(2.4rem, 5vw, 4rem); }

.hero__inner {
  display: grid; gap: clamp(1.8rem, 4vw, 3.4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  align-items: center;
}

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.7rem;
  font-weight: 600; color: var(--amber); margin-bottom: 1.2rem;
}

.hero h1 em { font-style: italic; font-weight: 400; }

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

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.6rem 0 1.4rem; }

.btn {
  display: inline-block; text-decoration: none;
  font-weight: 600; font-size: 0.95rem;
  padding: 0.78rem 1.4rem; border-radius: 2px;
  border: 1px solid var(--ink);
  transition: background-color 0.18s ease, color 0.18s ease;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--wine); border-color: var(--wine); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.stars {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.92rem; color: var(--ink-soft); margin: 0;
}
.stars svg { color: var(--amber); flex: none; }
.stars strong { color: var(--ink); }

.hero__shot { margin: 0; }
.hero__shot img {
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 18px 44px -28px rgba(25, 24, 22, 0.7);
}

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

.band { padding: clamp(3rem, 6.5vw, 5.2rem) 0; border-top: 1px solid var(--grey-line); }
.band--paper { background: var(--paper-warm); }

.band--dark {
  background: var(--enamel); color: #eae4d8; border-top-color: var(--enamel);
}
.band--dark .band__label { color: var(--amber-light); }
.band--dark .note-inline { border-color: var(--enamel-soft); }
.band--dark .service { border-color: var(--enamel-soft); }
.band--dark .service li { border-color: var(--enamel-soft); }
.band--dark .btn { border-color: #eae4d8; }
.band--dark .btn--primary { background: #eae4d8; color: var(--enamel); }
.band--dark .btn--primary:hover { background: var(--amber-light); border-color: var(--amber-light); color: var(--enamel); }
.band--dark .btn--ghost { color: #eae4d8; }
.band--dark .btn--ghost:hover { background: #eae4d8; color: var(--enamel); }
.band--dark .frame figcaption { color: #b8b1a4; }
.band--dark .addr a { color: var(--amber-light); }

.band__label {
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.68rem;
  font-weight: 600; color: var(--amber); margin-bottom: 0.9rem;
}

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

.split {
  display: grid; gap: clamp(1.8rem, 4vw, 3.4rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
}
.split--reverse .split__text { order: 2; }
.split--reverse .frame { order: 1; }
.split__text > :last-child { margin-bottom: 0; }

.frame { margin: 0; }
.frame img { width: 100%; border-radius: 2px; }
.frame figcaption {
  margin-top: 0.7rem; font-size: 0.85rem; color: var(--ink-soft);
  font-style: italic;
}

.pull {
  margin: 0 0 1.4rem; padding-left: 1.1rem;
  border-left: 2px solid var(--amber);
}
.pull p {
  font-family: var(--serif); font-style: italic;
  font-size: 1.22rem; line-height: 1.4; margin-bottom: 0.5rem;
}
.pull cite {
  font-style: normal; font-size: 0.8rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-soft);
}
.band--dark .pull cite { color: #b8b1a4; }

.note-inline {
  border-top: 1px solid var(--grey-line);
  padding-top: 0.9rem; font-size: 0.96rem; margin-bottom: 0;
}

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

.carta {
  display: grid; gap: clamp(1.4rem, 3vw, 2.6rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.2rem;
}
.carta__col h3 {
  border-bottom: 1px solid var(--grey-line);
  padding-bottom: 0.45rem; margin-bottom: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.13em; font-size: 0.76rem;
  color: var(--ink-soft);
}
.carta__col h3 + ul + h3 { margin-top: 1.7rem; }
.carta ul { list-style: none; margin: 0; padding: 0; }
.carta li {
  padding: 0.42rem 0; font-size: 0.97rem; line-height: 1.45;
  border-bottom: 1px dotted color-mix(in srgb, var(--grey-line) 75%, transparent);
}
.carta li:last-child { border-bottom: 0; }

.strip {
  display: grid; gap: 0.9rem; margin-top: 2.6rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.strip__shot { margin: 0; }
.strip__shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.strip__shot--wide { grid-column: span 2; }

/* ---------- contact ---------- */

.contact-grid {
  display: grid; gap: clamp(1.6rem, 4vw, 3.2rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
}

.service { list-style: none; margin: 0 0 1.2rem; padding: 0; border-top: 1px solid var(--grey-line); }
.service li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--grey-line);
}
.svc { font-weight: 600; }
.time { font-family: var(--serif); font-size: 1.05rem; }

.note { font-size: 0.95rem; opacity: 0.86; }

.addr {
  font-style: normal; line-height: 1.75;
  border-left: 2px solid var(--amber); padding-left: 1.1rem;
}
.addr strong { display: block; font-size: 1.05rem; margin-bottom: 0.2rem; }
.addr a { display: block; margin-top: 0.7rem; font-weight: 600; }

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

.site-foot {
  border-top: 1px solid var(--grey-line);
  padding: 2.2rem 0;
  font-size: 0.9rem; color: var(--ink-soft);
}
.site-foot__inner { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; align-items: baseline; }
.site-foot p { margin: 0; }
.site-foot__mark { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.site-foot__mark span {
  font-family: var(--sans); font-size: 0.66rem; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--ink-soft);
}
.site-foot a { font-weight: 600; }

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

.lost { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 3rem 0; }
.lost .wordmark { justify-content: center; margin-bottom: 1.6rem; }
.lost p { max-width: 32em; margin-inline: auto; color: var(--ink-soft); }

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

@media (max-width: 900px) {
  .site-nav { display: none; }
  .head-tel { margin-left: auto; }
  .hero__inner, .split, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__text { order: 0; }
  .split--reverse .frame { order: 0; }
  .hero__shot { max-width: 480px; }
  .carta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__shot--wide { grid-column: span 2; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  /* the tag was wrapping to two lines next to the wordmark; stack it instead */
  .wordmark { flex-direction: column; align-items: flex-start; gap: 0.1rem; }
  .wordmark__name { font-size: 1.35rem; line-height: 1.1; }
  .wordmark__tag { letter-spacing: 0.14em; white-space: nowrap; }
  .carta { grid-template-columns: minmax(0, 1fr); }
  .carta__col h3 + ul + h3 { margin-top: 1.4rem; }
  .actions .btn { flex: 1 1 auto; text-align: center; }
}

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