/* ==========================================================================
   demo-kit.css — structure shared by the four demo templates.

   Contains NO colour, font or radius literals. Every one of those is a token
   the theme file supplies, which is what lets four sites that share this file
   still look nothing like each other:

     --d-bg --d-ink --d-muted --d-accent --d-accent-ink --d-surface --d-line
     --d-sans --d-display --d-radius --d-pad --d-max
   ========================================================================== */

body {
  background: var(--d-bg);
  color: var(--d-ink);
  font-family: var(--d-sans);
  font-size: 16.5px;
  line-height: 1.6;
}

.wrap {
  width: 100%;
  max-width: var(--d-max, 1120px);
  margin-inline: auto;
  padding-inline: var(--d-pad, clamp(20px, 5vw, 44px));
}

/* Nav -------------------------------------------------------------------- */

.dnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding: 18px 0;
}
.dnav__brand {
  font-family: var(--d-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.1;
}
.dnav__brand small {
  display: block;
  font-family: var(--d-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--d-muted);
  margin-top: 3px;
}
.dnav__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14.5px;
}
.dnav__links a { padding: 4px 0; border-bottom: 1.5px solid transparent; transition: border-color .2s ease, color .2s ease; }
.dnav__links a[aria-current="page"] { border-bottom-color: var(--d-accent); }
@media (hover: hover) { .dnav__links a:hover { color: var(--d-accent); } }

/* Buttons ---------------------------------------------------------------- */

.dbtn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--d-radius-btn, 999px);
  border: 1.5px solid transparent;
  background: var(--d-accent);
  color: var(--d-accent-ink);
  text-align: center;
  transition: transform .2s ease, opacity .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.dbtn--ghost { background: transparent; color: var(--d-ink); border-color: var(--d-line-strong, var(--d-line)); }
@media (hover: hover) {
  .dbtn:hover { transform: translateY(-2px); }
  .dbtn--ghost:hover { border-color: var(--d-accent); color: var(--d-accent); }
}
.dbtn--block { display: block; width: 100%; }

.dactions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections --------------------------------------------------------------- */

.dsec { padding: clamp(52px, 8vw, 92px) 0; }
.dsec--tight { padding: clamp(36px, 5vw, 60px) 0; }
.dsec--alt { background: var(--d-surface); }

.dkicker {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--d-accent);
  margin-bottom: 14px;
}
.dh2 {
  font-family: var(--d-display);
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.dh3 {
  font-family: var(--d-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 8px;
}
.dlede { font-size: 17.5px; color: var(--d-muted); max-width: 34em; text-wrap: pretty; }
.dp { color: var(--d-muted); text-wrap: pretty; }
.dp + .dp { margin-top: 14px; }

/* Hero ------------------------------------------------------------------- */

.dhero__title {
  font-family: var(--d-display);
  font-size: clamp(36px, 6.6vw, 66px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.03em;
  margin: 0 0 20px;
}
.dhero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Split hero: text beside a photo. */
.dhero--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 6vw, 76px); }
.dhero--split .dhero__media { aspect-ratio: 4 / 5; border-radius: var(--d-radius); overflow: hidden; }
@media (max-width: 800px) {
  .dhero--split { grid-template-columns: 1fr; gap: 28px; }
  .dhero--split .dhero__media { aspect-ratio: 16 / 10; }
}

/* Full-bleed hero: photo behind the words. */
.dhero--bleed { position: relative; min-height: min(76vh, 620px); display: grid; align-items: end; overflow: hidden; }
.dhero--bleed .dhero__media { position: absolute; inset: 0; }
.dhero--bleed .dhero__body { position: relative; padding: clamp(36px, 6vw, 76px) 0; }
.dhero--bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--d-hero-scrim, linear-gradient(to top, rgba(0,0,0,.85) 5%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.45)));
}
.dhero--bleed .dhero__body { z-index: 1; }

/* Cards & grids ---------------------------------------------------------- */

.dgrid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.dgrid--3 { grid-template-columns: repeat(3, 1fr); }
.dgrid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .dgrid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .dgrid--3, .dgrid--2 { grid-template-columns: 1fr; } }

.dcard {
  background: var(--d-surface);
  border: 1px solid var(--d-line);
  border-radius: var(--d-radius);
  padding: clamp(20px, 2.6vw, 28px);
}
.dcard__n {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--d-accent);
  margin-bottom: 12px;
}

/* Card with a photo running edge to edge across its top. */
.dcard--photo { padding: 0; overflow: hidden; }
.dcard--photo .dshot { border-radius: 0; }
.dcard__body { padding: clamp(20px, 2.6vw, 28px); }

.dshot { border-radius: var(--d-radius); overflow: hidden; aspect-ratio: 3 / 2; }
.dshot img { width: 100%; height: 100%; object-fit: cover; }

/* Price / menu list with dotted leaders ---------------------------------- */

.dmenu { display: grid; gap: 20px; }
.dmenu__row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 12px; }
.dmenu__name { font-weight: 600; }
.dmenu__dots { border-bottom: 1px dotted var(--d-line-strong, var(--d-line)); transform: translateY(-4px); }
.dmenu__price { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--d-accent); }
.dmenu__desc { grid-column: 1 / -1; font-size: 14.5px; color: var(--d-muted); margin-top: 2px; }

/* Facts / hours ---------------------------------------------------------- */

.dfacts { display: grid; gap: 12px; font-size: 15.5px; }
.dfacts__row { display: grid; grid-template-columns: minmax(0, 8.5em) 1fr; gap: 16px; }
.dfacts__k { color: var(--d-muted); }
@media (max-width: 420px) { .dfacts__row { grid-template-columns: 1fr; gap: 2px; } }

/* Big call-to-action band ------------------------------------------------ */

.dband {
  background: var(--d-accent);
  color: var(--d-accent-ink);
  border-radius: var(--d-radius);
  padding: clamp(28px, 4.5vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}
.dband .dh2 { margin: 0; }
.dband .dbtn { background: var(--d-accent-ink); color: var(--d-accent); }

/* Footer ----------------------------------------------------------------- */

.dfoot {
  border-top: 1px solid var(--d-line);
  padding: 36px 0 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  font-size: 14.5px;
  color: var(--d-muted);
}
.dfoot h4 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--d-ink);
  margin: 0 0 10px;
}
.dfoot a { display: block; padding: 2px 0; }
@media (hover: hover) { .dfoot a:hover { color: var(--d-accent); } }
@media (max-width: 700px) { .dfoot { grid-template-columns: 1fr; gap: 22px; } }

.dnote {
  border-top: 1px solid var(--d-line);
  padding: 16px 0 30px;
  font-size: 12.5px;
  color: var(--d-muted);
  text-align: center;
}

/* Inline notice shown by demo-form.js when a demo form is submitted. --------
   Deliberately loud: it must not be mistaken for a real confirmation. */
.ddemo-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--d-radius);
  border: 1px dashed var(--d-line-strong, var(--d-line));
  background: var(--d-surface);
  color: var(--d-ink);
  font-size: 14.5px;
  line-height: 1.55;
}
.ddemo-note a { color: var(--d-accent); text-decoration: underline; text-underline-offset: 2px; }

/* Generic form field, themed by tokens. Restaurant overrides its own. */
.dform { display: grid; gap: 16px; }
.dform label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--d-muted); }
.dform input, .dform select, .dform textarea {
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  color: var(--d-ink);
  background: var(--d-bg);
  border: 1.5px solid var(--d-line-strong, var(--d-line));
  border-radius: calc(var(--d-radius) / 2);
  padding: 13px 14px;
}
.dform textarea { min-height: 110px; resize: vertical; }
.dform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .dform__row { grid-template-columns: 1fr; } }
