/* Ciaooo, 62-64 Swan Street, Manchester.
   Palette taken from the venue's own logo: #ed3225 on white. Everything else is built
   around a wood-oven scale – charred crust, ember, flour, semola. */

:root {
  --ember:   #ed3225;   /* the logo red, unchanged */
  --ember-d: #c31f14;
  --char:    #16110f;   /* charred crust */
  --char-2:  #1f1815;
  --char-3:  #2b211d;
  --flour:   #f6efe6;
  --flour-d: #d9cdbe;
  --semola:  #e8b45a;   /* the crust edge */
  --mute:    #a2938a;

  --shell: min(1180px, 100% - 2.5rem);
  --r: 4px;

  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --text: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--char);
  color: var(--flour);
  font-family: var(--text);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-variation-settings: 'SOFT' 20, 'WONK' 1;
}

h1 { font-size: clamp(2.75rem, 1.6rem + 5.2vw, 5.75rem); }
h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.4rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--semola);
  outline-offset: 3px;
  border-radius: 2px;
}

.shell { width: var(--shell); margin-inline: auto; }

.eyebrow {
  font-family: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--semola);
  margin: 0 0 1rem;
}

.lede { font-size: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem); color: var(--flour-d); }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--r);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn--fill { background: var(--ember); color: #fff; }
.btn--fill:hover { background: var(--ember-d); }

.btn--line { border-color: rgba(246, 239, 230, 0.35); color: var(--flour); }
.btn--line:hover { border-color: var(--flour); background: rgba(246, 239, 230, 0.07); }

/* ---------- skip link ---------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ember);
  color: #fff;
  padding: 0.8rem 1.3rem;
  z-index: 100;
  text-decoration: none;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

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

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(22, 17, 15, 0.93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(246, 239, 230, 0.1);
}

.masthead__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--flour);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
}
.wordmark span { color: var(--ember); }

.nav { display: flex; align-items: center; gap: 1.5rem; }

/* display:contents so the links sit directly in the flex row; the media query below still
   collapses them, which an inline style on the span would have blocked. */
.nav__links { display: contents; }

.nav a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--flour-d);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--flour); border-bottom-color: var(--ember); }

.nav__call {
  font-weight: 600;
  color: var(--flour);
  white-space: nowrap;
}

@media (max-width: 820px) {
  .nav__links { display: none; }
}

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

.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: 7rem 0 3.5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(22, 17, 15, 0.97) 6%, rgba(22, 17, 15, 0.72) 42%, rgba(22, 17, 15, 0.45) 100%);
}

.hero__in { position: relative; z-index: 1; max-width: 46rem; }

.hero h1 { margin-bottom: 0.35em; }
.hero h1 em { font-style: normal; color: var(--ember); }

.hero__sub { font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.3rem); color: var(--flour-d); max-width: 34rem; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.hero__strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(246, 239, 230, 0.16);
  font-size: 0.88rem;
  color: var(--mute);
}
.hero__strip b { color: var(--flour); font-weight: 600; }

/* ---------- sections ---------- */

.section { padding: clamp(3.5rem, 2.4rem + 4.4vw, 6.5rem) 0; }
.section--alt { background: var(--char-2); }
.section__head { max-width: 46rem; margin-bottom: 3rem; }

/* ---------- story ---------- */

.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

.story__figure { position: relative; }
.story__figure img { border-radius: var(--r); }

.story__stat {
  position: absolute;
  right: -0.75rem;
  bottom: -1.25rem;
  background: var(--ember);
  color: #fff;
  padding: 1rem 1.3rem;
  border-radius: var(--r);
  max-width: 13rem;
}
.story__stat b { display: block; font-family: var(--display); font-size: 2rem; line-height: 1; }
.story__stat span { font-size: 0.78rem; line-height: 1.35; display: block; margin-top: 0.3rem; opacity: 0.92; }

@media (max-width: 880px) {
  .story { grid-template-columns: 1fr; }
  .story__stat { right: 0.75rem; }
}

/* ---------- menu ---------- */

/* Two explicit columns rather than auto-fit: with four blocks of very different lengths,
   auto-fit left the last block stretched across the full width on its own row. */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.75rem 3.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .menu-grid { grid-template-columns: 1fr; }
}

.menu-col h3 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  color: var(--semola);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(232, 180, 90, 0.3);
  margin-bottom: 1.1rem;
}
.menu-col h3::after {
  content: '';
  flex: 1;
}

.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed rgba(246, 239, 230, 0.12);
}
.dish:last-child { border-bottom: 0; }

.dish__name { font-weight: 600; }
.dish__price { font-variant-numeric: tabular-nums; color: var(--semola); font-weight: 600; white-space: nowrap; }
.dish__note { grid-column: 1 / -1; font-size: 0.85rem; color: var(--mute); line-height: 1.45; }

.tag {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.12rem 0.36rem;
  margin-left: 0.4rem;
  border: 1px solid rgba(232, 180, 90, 0.55);
  border-radius: 2px;
  color: var(--semola);
  vertical-align: 0.1em;
}

.menu-foot {
  margin-top: 3rem;
  padding: 1.4rem 1.6rem;
  background: var(--char-3);
  border-left: 3px solid var(--ember);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 0.92rem;
  color: var(--flour-d);
}

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.9rem;
}
.gallery img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 0.8rem; color: var(--mute); margin-top: 0.5rem; }

/* ---------- reviews ---------- */

.reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

@media (max-width: 760px) {
  .reviews { grid-template-columns: 1fr; }
}

.review {
  background: var(--char-3);
  border-radius: var(--r);
  padding: 1.6rem;
  border-top: 3px solid var(--ember);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review blockquote { margin: 0; font-size: 0.98rem; color: var(--flour); }
.review figcaption { font-size: 0.83rem; color: var(--mute); margin-top: auto; }
.review figcaption b { color: var(--flour); font-weight: 600; }

/* ---------- visit ---------- */

.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
}

@media (max-width: 880px) { .visit { grid-template-columns: 1fr; } }

.hours { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid rgba(246, 239, 230, 0.12); font-weight: 400; }
.hours th { font-weight: 600; width: 10rem; }
.hours td { color: var(--flour-d); font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

.contact-list { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.9rem; }
.contact-list li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: center; min-height: 44px; }
.contact-list dt, .contact-list b {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--semola);
  font-weight: 600;
}
.contact-list a { color: var(--flour); display: inline-flex; align-items: center; min-height: 44px; }

.note {
  font-size: 0.85rem;
  color: var(--mute);
  border-left: 2px solid rgba(232, 180, 90, 0.4);
  padding-left: 0.9rem;
  margin-top: 1.5rem;
}

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

.foot {
  background: var(--char-2);
  border-top: 1px solid rgba(246, 239, 230, 0.1);
  padding: 3rem 0 2.5rem;
  font-size: 0.88rem;
  color: var(--mute);
}

.foot__in { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; justify-content: space-between; align-items: flex-start; }
.foot a { color: var(--flour-d); }
.foot a:hover { color: var(--flour); }
.foot__social { display: flex; gap: 1.2rem; list-style: none; margin: 0.6rem 0 0; padding: 0; }
.foot__legal { width: 100%; padding-top: 1.5rem; margin-top: 0.5rem; border-top: 1px solid rgba(246, 239, 230, 0.08); font-size: 0.8rem; }

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

.oops {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.oops__in { max-width: 32rem; }

/* ---------- motion ---------- */

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