/* L'Arco Della Martana - Massa
   Tokens and rationale in ../../_brief.md. Palette sampled from the venue's own poster,
   the frontage awning and the charcoal mural in the dining room. */

:root {
  --paper:    #F8F5ED;
  --paper-2:  #EFE9DC;
  --ink:      #26221F;
  --graphite: #6B635B;
  --brick:    #9A2A20;
  --ochre:    #BE5A18;
  --line:     #DCD4C4;

  --display: 'Petrona', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --body: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --measure: 62ch;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --band: clamp(3.5rem, 9vw, 7rem);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  font-synthesis-weight: none;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0;
}

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

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

a { color: inherit; }

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

.wrap {
  width: min(100% - var(--gutter) * 2, 68rem);
  margin-inline: auto;
}

.narrow { width: min(100% - var(--gutter) * 2, 46rem); margin-inline: auto; }

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

/* ---------- shared marks ---------- */

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0 0 1.1rem;
}

.arch-mark { display: block; }
.arch-mark path { fill: none; stroke: currentColor; stroke-linecap: round; }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  font-family: var(--body);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn:hover { background: var(--brick); border-color: var(--brick); }

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

.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--ochre); border-color: var(--ochre); color: #fff; }

/* ghost on a dark ground */
.btn--onDark { background: transparent; border-color: var(--paper); color: var(--paper); }
.btn--onDark:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

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

.hero {
  position: relative;
  min-height: min(86svh, 46rem);
  display: grid;
  align-items: end;
  color: var(--paper);
  isolation: isolate;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(178deg, rgba(20,17,15,0.55) 0%, rgba(20,17,15,0.30) 30%, rgba(20,17,15,0.70) 62%, rgba(20,17,15,0.88) 100%);
}

.hero__inner {
  padding-block: clamp(4rem, 12vw, 7rem) clamp(2.5rem, 6vw, 4rem);
}

.hero .eyebrow { color: #E3D7C4; }

.hero__arch { color: var(--ochre); width: 46px; margin-bottom: 1.5rem; }

.hero h1 {
  font-size: clamp(2.7rem, 1.4rem + 6.2vw, 5.6rem);
  letter-spacing: -0.022em;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.hero__lede {
  font-size: clamp(1.05rem, 1rem + 0.45vw, 1.3rem);
  color: #F0E7D8;
  max-width: 34ch;
  margin-bottom: 2rem;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- intro ---------- */

.intro { padding-block: var(--band); }

.intro__grid {
  display: grid;
  gap: clamp(1.75rem, 5vw, 3.5rem);
}
@media (min-width: 62rem) {
  .intro__grid { grid-template-columns: 1fr 1.15fr; align-items: start; }
}

.intro h2 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
  text-wrap: balance;
}

.intro__body p { font-size: clamp(1.03rem, 1rem + 0.3vw, 1.15rem); }

.intro__facts {
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--graphite);
}
.intro__facts b {
  display: block;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

/* ---------- signature band: the offer under the arch ---------- */

.offer {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3.25rem, 8vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}

.offer__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: min(100%, 46rem);
  color: var(--ochre);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}
.offer__watermark path { stroke-width: 1.1; }

.offer__grid { display: grid; gap: clamp(1.75rem, 5vw, 3rem); }
@media (min-width: 54rem) {
  .offer__grid { grid-template-columns: auto 1fr; align-items: center; column-gap: clamp(2.5rem, 6vw, 5rem); }
}

.offer .eyebrow { color: #D8C7AC; }

.offer h2 {
  font-size: clamp(2.4rem, 1.5rem + 4.4vw, 4.2rem);
  font-style: italic;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.offer__price {
  font-family: var(--display);
  font-size: clamp(3.6rem, 2rem + 7vw, 6.5rem);
  font-weight: 600;
  line-height: 0.9;
  color: var(--ochre);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.offer__price span { font-size: 0.45em; letter-spacing: 0; }

.offer__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.7rem;
  font-size: clamp(1rem, 0.97rem + 0.25vw, 1.12rem);
}
.offer__list li {
  padding-left: 1.5rem;
  position: relative;
  color: #F1E8DA;
}
.offer__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.6rem;
  height: 1.5px;
  background: var(--ochre);
}

.offer__note {
  font-size: 0.88rem;
  color: #BDB1A0;
  border-top: 1px solid rgba(248,245,237,0.18);
  padding-top: 1.1rem;
  margin-bottom: 1.6rem;
  max-width: 44ch;
}

/* ---------- dishes ---------- */

.dishes { padding-block: var(--band); background: var(--paper-2); }

.dishes__head { margin-bottom: clamp(2rem, 5vw, 3rem); }
.dishes h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); margin-bottom: 0.9rem; }
.dishes__head p { color: var(--graphite); max-width: 52ch; }

.dishes__cols { display: grid; gap: clamp(2rem, 5vw, 3.25rem); }
@media (min-width: 48rem) { .dishes__cols { grid-template-columns: 1.4fr 1fr; } }

.dishes h3 {
  font-family: var(--body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
  padding-bottom: 0.8rem;
  border-bottom: 1.5px solid var(--brick);
  margin-bottom: 0.4rem;
}

.dishes ul { list-style: none; margin: 0; padding: 0; }
.dishes li {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.42rem);
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
}

/* the savoury list is long and the sweet one is short - split the long one so the
   two groups finish at roughly the same depth instead of leaving a dead column */
@media (min-width: 62rem) {
  .dishes__savoury { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(1.75rem, 4vw, 3rem); }
}

/* ---------- room ---------- */

.room { padding-block: var(--band); }

.room__grid {
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  grid-template-columns: 1fr;
}
@media (min-width: 44rem) {
  .room__grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .room__grid figure:nth-child(2) { margin-top: clamp(1.5rem, 4vw, 3rem); }
}

.room figure { margin: 0; }
.room img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.room figcaption {
  font-size: 0.82rem;
  color: var(--graphite);
  padding-top: 0.7rem;
}

.room__head { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.room h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); margin-bottom: 0.8rem; }

/* ---------- voices ---------- */

.voices { padding-block: var(--band); background: var(--ink); color: var(--paper); }

.voices h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); margin-bottom: 1.5rem; }

.voices__score {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(248,245,237,0.18);
}
.voices__score strong {
  font-family: var(--display);
  font-size: clamp(2.6rem, 1.8rem + 3.4vw, 4rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ochre);
}
.voices__score span { font-size: 0.9rem; color: #BDB1A0; }

.voices__grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 48rem) { .voices__grid { grid-template-columns: 1fr 1fr; } }

.voices blockquote { margin: 0; }
.voices blockquote p {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.05rem + 0.55vw, 1.45rem);
  line-height: 1.42;
  font-style: italic;
  color: #F3EBDD;
  margin-bottom: 0.9rem;
}
.voices cite {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A99C8B;
}

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

.visit { padding-block: var(--band); }

.visit__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 56rem) { .visit__grid { grid-template-columns: 1fr 1fr; } }

.visit h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); margin-bottom: 1.5rem; }

.hours { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.hours th, .hours td {
  text-align: left;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 400;
}
.hours th { color: var(--graphite); font-weight: 500; width: 9rem; }
.hours td { font-variant-numeric: tabular-nums; }
.hours .closed th, .hours .closed td { color: var(--brick); font-weight: 600; }

.visit__contact { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.9rem; }
.visit__contact li { display: grid; gap: 0.1rem; }
.visit__contact b {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
}
.visit__contact a {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  text-decoration: none;
  box-shadow: inset 0 -1.5px 0 var(--line);
  padding: 0.55rem 0;
  justify-self: start;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: box-shadow 180ms ease, color 180ms ease;
}
.visit__contact a:hover { box-shadow: inset 0 -1.5px 0 var(--brick); }
.visit__contact a:hover { color: var(--brick); }

.visit__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; }
.visit__photo figcaption { font-size: 0.82rem; color: var(--graphite); padding-top: 0.7rem; }
.visit__photo { margin: 0; }

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

.foot {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  font-size: 0.88rem;
  color: var(--graphite);
}
.foot__grid { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; }
.foot__brand { display: flex; align-items: center; gap: 0.85rem; }
.foot__brand svg { color: var(--ochre); width: 30px; flex: none; }
.foot__brand strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  line-height: 1.2;
}
.foot a {
  color: var(--ink);
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.15rem;
}
.foot a:hover { color: var(--brick); }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }

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

.oops {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--gutter);
}
.oops svg { color: var(--ochre); width: 54px; margin: 0 auto 1.75rem; }
.oops h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.1rem); margin-bottom: 1rem; }
.oops p { color: var(--graphite); margin-inline: auto; max-width: 38ch; margin-bottom: 2rem; }
.oops__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

@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;
  }
}
