/* Osteria Nove: an osteria in Brera. Only --d-* tokens and b-* classes belong here.
   Bottle-green room, linen type, brass for the action and the frame. Fraunces headlines, Libre Franklin
   text. Signature: a brass frame draws itself around the opening picture, like the border of a menu. */
:root {
  --d-bg: #17241e;
  --d-surface: #1f2e27;
  --d-surface-2: #2a3a32;
  --d-text: #efe7d6;
  --d-muted: #b8b2a1;
  --d-line: #34463d;
  --d-accent: #c9a45c;
  --d-on-accent: #17241e;
  --d-invert-bg: #efe7d6;
  --d-invert-text: #17241e;
  --d-sale: #c9a45c;
  --d-focus: #c9a45c;
  --d-scrim: rgb(8 14 11 / 0.6);

  --d-font-body: "Libre Franklin", system-ui, sans-serif;
  --d-font-display: "Fraunces", Georgia, serif;
  --d-display-weight: 350;
  --d-display-tracking: -0.02em;
  --d-display-leading: 1;
  --d-label-tracking: 0.04em;
  --d-icon-stroke: 1.4;

  --d-radius: 2px;
  --d-radius-card: 0;
  --d-header-h: 4.75rem;
  --d-logo-h: 1.7rem;
  --d-over-ink: #f4eedf;

  --d-dur-reveal: 1200ms;
}
.d-display, .d-h1, .d-h2 { font-variation-settings: "SOFT" 60, "WONK" 1; }
.d-display { font-size: clamp(3rem, 1.4rem + 7vw, 8.6rem); font-style: italic; }
.d-h3 { font-family: var(--d-font-display); }
.hosp-dish__name { font-family: var(--d-font-display); font-size: var(--d-step-2); font-weight: 400; }
.hosp-dish__dots { border-bottom-color: color-mix(in srgb, var(--d-accent) 55%, transparent); }
.hosp-dish__price { color: var(--d-accent); }

/* Signature: the brass frame. Four edges grow from the corners as the page arrives. */
.b-frame { position: absolute; inset: calc(var(--d-header-h) + 0.5rem) clamp(0.75rem, 2vw, 1.75rem) clamp(0.75rem, 2vw, 1.75rem); z-index: 1; pointer-events: none; }
.b-frame i { position: absolute; background: var(--d-accent); }
.b-frame i:nth-child(1), .b-frame i:nth-child(3) { left: 0; right: 0; height: 1px; transform-origin: left; }
.b-frame i:nth-child(2), .b-frame i:nth-child(4) { top: 0; bottom: 0; width: 1px; transform-origin: top; }
.b-frame i:nth-child(1) { top: 0; } .b-frame i:nth-child(3) { bottom: 0; transform-origin: right; }
.b-frame i:nth-child(2) { right: 0; } .b-frame i:nth-child(4) { left: 0; transform-origin: bottom; }
.d-motion .b-frame i:nth-child(odd) { animation: b-draw-x 1400ms var(--d-ease-out) both; }
.d-motion .b-frame i:nth-child(even) { animation: b-draw-y 1400ms var(--d-ease-out) both; }
.d-motion .b-frame i:nth-child(2) { animation-delay: 300ms; } .d-motion .b-frame i:nth-child(3) { animation-delay: 600ms; } .d-motion .b-frame i:nth-child(4) { animation-delay: 900ms; }
@keyframes b-draw-x { from { transform: scaleX(0); } }
@keyframes b-draw-y { from { transform: scaleY(0); } }
.b-hero { position: relative; }

/* The room: the photograph, the brass frame, and tonight's tables inside the frame. */
.b-room { position: relative; display: grid; align-items: end; min-height: calc(100svh - 4.5rem); color: var(--d-over-ink); isolation: isolate; overflow: hidden; }
.b-room__media { position: absolute; inset: 0; z-index: -1; }
.b-room__media img { width: 100%; height: 100%; object-fit: cover; }
.b-room__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.25) 45%, transparent 70%), linear-gradient(to top, rgb(0 0 0 / 0.72), rgb(0 0 0 / 0.15) 60%), linear-gradient(to bottom, rgb(0 0 0 / 0.35), transparent 25%); } /* the copy sits on the left over a busy room: shade it from that side */
.b-room__copy { position: relative; z-index: 2; display: grid; gap: var(--d-space-4); padding-block: calc(var(--d-header-h) + var(--d-space-8)) calc(var(--d-space-6) + 1.75rem); --d-text: var(--d-over-ink); }
.b-room__copy > .d-label, .b-room__copy > h1, .b-room__line { padding-inline: clamp(0rem, 2vw, 1.5rem); }
.b-room__line { max-width: 36rem; font-size: var(--d-step-1); }
.b-room .hosp-tonight { margin-top: var(--d-space-3); --d-text: #efe7d6; color: var(--d-text); border: 1px solid color-mix(in srgb, var(--d-accent) 45%, transparent); }
.b-head { display: grid; gap: var(--d-space-3); max-width: 44rem; }
.b-pass__grid { display: grid; gap: var(--d-space-7); }
@media (min-width: 56rem) { .b-pass__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--d-space-9); align-items: center; } }
.b-pass .d-link { color: inherit; }
