/* Hallmark · genre: editorial · tone: grounded hospitality · macrostructure: Long Document · theme: Newsprint within Webvolley · enrichment: E8 generated hospitality hero plus user-supplied concept image · nav/footer: existing Webvolley system */
/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V5 · contrast: pass (40–41) · nav/footer: preserved Webvolley shell · slop: pass (42–45) · honest: pass (46) · chrome: pass (47) · tokens: pass (48) · responsive/mobile: pass (34, 49–57) · icons: pass (30) */
@import url("./tokens.css");

html,
body {
  overflow-x: clip;
}

.wv-gastro {
  min-width: 0;
  overflow-x: clip;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
}

.wv-gastro h1,
.wv-gastro h2,
.wv-gastro h3 {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-style: normal;
}

.wv-gastro p,
.wv-gastro li,
.wv-gastro dd {
  max-width: 68ch;
}

.wv-gastro a {
  text-decoration-color: var(--color-accent);
}

.wv-gastro .wv-button,
.wv-gastro-text-link,
.wv-gastro-breadcrumbs a {
  white-space: nowrap;
}

.wv-gastro-hero {
  padding-block: var(--space-xl) var(--space-3xl);
  background: var(--color-paper-light);
  border-bottom: var(--rule-hairline) solid var(--color-rule);
}

.wv-gastro-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: end;
}

.wv-gastro-hero__copy {
  min-width: 0;
}

.wv-gastro-breadcrumbs ol {
  margin: 0 0 var(--space-xl);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.wv-gastro-breadcrumbs li {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  max-width: none;
  line-height: 1;
  white-space: nowrap;
}

.wv-gastro-breadcrumbs li + li::before {
  content: "/";
  margin-inline-end: var(--space-xs);
}

.wv-gastro-breadcrumbs a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.wv-gastro-context {
  margin: 0 0 var(--space-md);
  color: var(--color-accent);
  font-weight: 700;
}

.wv-gastro-hero h1 {
  max-width: 13ch;
  margin: 0;
  font-size: var(--text-display-s);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.wv-gastro-hero__intro {
  margin: var(--space-lg) 0 0;
  color: var(--color-muted);
  font-size: clamp(var(--text-base), 1.7vw, var(--text-md));
  line-height: 1.62;
}

.wv-gastro-hero__actions {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-sm);
}

.wv-gastro-hero__actions .wv-button {
  width: 100%;
}

.wv-gastro-text-link {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--color-ink);
  font-weight: 700;
  text-underline-offset: var(--space-xs);
}

.wv-gastro-hero__note {
  margin: var(--space-xl) 0 0;
  padding-top: var(--space-lg);
  border-top: var(--rule-hairline) solid var(--color-rule);
  color: var(--color-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.wv-gastro-hero__media {
  position: relative;
  width: min(calc(100% - var(--space-md)), 38rem);
  margin: 0 0 var(--space-xl);
  padding: var(--space-sm);
  border: var(--rule-hairline) solid var(--color-ink);
  border-radius: var(--radius-large);
  background: var(--color-dark-surface);
  box-shadow: var(--space-sm) var(--space-sm) 0 var(--color-card-shadow);
  transform: rotate(0.7deg);
  transform-origin: center;
  justify-self: center;
}

.wv-gastro-hero__media picture {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: block;
  border-radius: var(--radius-card);
  background: var(--color-garden);
}

.wv-gastro-hero__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 58%;
}

.wv-gastro-hero__media figcaption {
  position: absolute;
  inset-inline-end: var(--space-sm);
  inset-block-end: calc(var(--space-lg) * -1);
  min-height: 44px;
  padding-inline: var(--space-lg);
  display: inline-flex;
  align-items: center;
  border: var(--rule-hairline) solid var(--color-ink);
  border-radius: var(--radius-large);
  background: var(--color-garden);
  color: var(--color-ink);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.wv-gastro-document {
  padding-block: var(--space-3xl) var(--space-4xl);
}

.wv-gastro-prose,
.wv-gastro-concept {
  width: min(calc(100% - (2 * var(--wv-gutter-mobile))), 46rem);
  margin-inline: auto;
}

.wv-gastro-prose + .wv-gastro-prose,
.wv-gastro-concept + .wv-gastro-prose,
.wv-gastro-prose + .wv-gastro-concept {
  margin-top: var(--space-4xl);
}

.wv-gastro-prose h2 {
  margin: 0;
  font-size: clamp(var(--text-xl), 4vw, var(--text-3xl));
  font-weight: 400;
  line-height: 1.06;
}

.wv-gastro-prose h3 {
  margin: 0;
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.2;
}

.wv-gastro-prose > p {
  margin: var(--space-lg) 0 0;
  color: var(--color-muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.wv-gastro-prose > p strong {
  color: var(--color-ink);
}

.wv-gastro-lede {
  font-size: var(--text-md) !important;
  line-height: 1.6 !important;
}

.wv-gastro-essentials {
  margin: var(--space-2xl) 0 0;
  border-top: var(--rule-hairline) solid var(--color-ink);
}

.wv-gastro-essentials > div {
  padding-block: var(--space-lg);
  display: grid;
  grid-template-columns: minmax(4.6rem, 0.25fr) minmax(0, 1fr);
  gap: var(--space-lg);
  border-bottom: var(--rule-hairline) solid var(--color-rule);
}

.wv-gastro-essentials dt {
  color: var(--color-accent);
  font-weight: 700;
}

.wv-gastro-essentials dd {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.wv-gastro-ledger {
  margin-top: var(--space-2xl);
  border-top: var(--rule-hairline) solid var(--color-ink);
}

.wv-gastro-ledger article {
  padding-block: var(--space-xl);
  border-bottom: var(--rule-hairline) solid var(--color-rule);
}

.wv-gastro-ledger article:nth-child(even) {
  padding-inline-start: var(--space-xl);
}

.wv-gastro-ledger p {
  margin: var(--space-xs) 0 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.wv-gastro-note {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  border-block: var(--rule-hairline) solid var(--color-ink);
  background: var(--color-paper-light);
}

.wv-gastro-note p {
  margin: var(--space-md) 0 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.wv-gastro-query-map {
  margin-top: var(--space-2xl);
  border-top: var(--rule-hairline) solid var(--color-ink);
}

.wv-gastro-query-map article {
  padding-block: var(--space-lg);
  border-bottom: var(--rule-hairline) solid var(--color-rule);
}

.wv-gastro-query-map strong {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 400;
}

.wv-gastro-query-map p {
  margin: var(--space-xs) 0 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.wv-gastro-concept {
  padding: 0;
}

.wv-gastro-concept picture,
.wv-gastro-concept img {
  width: 100%;
  display: block;
}

.wv-gastro-concept picture {
  overflow: hidden;
  border: var(--rule-hairline) solid var(--color-ink);
  border-radius: var(--radius-card);
  background: var(--color-paper-light);
}

.wv-gastro-concept img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.wv-gastro-concept figcaption {
  margin-top: var(--space-md);
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
}

.wv-gastro-concept figcaption strong {
  color: var(--color-ink);
}

.wv-gastro-scope__columns {
  margin-top: var(--space-2xl);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2xl);
}

.wv-gastro-scope__columns section {
  padding-top: var(--space-lg);
  border-top: var(--rule-hairline) solid var(--color-ink);
}

.wv-gastro-scope__columns ul {
  margin: var(--space-lg) 0 0;
  padding: 0;
  display: grid;
  gap: var(--space-sm);
  list-style: none;
  color: var(--color-muted);
}

.wv-gastro-scope__columns li {
  padding-inline-start: var(--space-lg);
  position: relative;
  line-height: 1.55;
}

.wv-gastro-scope__columns li::before {
  content: "—";
  position: absolute;
  inset-inline-start: 0;
  color: var(--color-accent);
}

.wv-gastro-process ol {
  margin: var(--space-2xl) 0 0;
  padding: 0;
  list-style: none;
  border-top: var(--rule-hairline) solid var(--color-ink);
  font-variant-numeric: tabular-nums;
}

.wv-gastro-process li {
  padding-block: var(--space-lg);
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: var(--space-lg);
  border-bottom: var(--rule-hairline) solid var(--color-rule);
}

.wv-gastro-process li > span {
  color: var(--color-accent);
  font-weight: 700;
}

.wv-gastro-process li p {
  margin: var(--space-xs) 0 0;
  color: var(--color-muted);
  line-height: 1.65;
}

.wv-gastro-faq__items {
  margin-top: var(--space-2xl);
}

.wv-gastro-faq details {
  border-top: var(--rule-hairline) solid var(--color-rule);
}

.wv-gastro-faq details:last-child {
  border-bottom: var(--rule-hairline) solid var(--color-rule);
}

.wv-gastro-faq summary {
  min-height: 68px;
  padding: var(--space-md) var(--space-2xl) var(--space-md) 0;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-size: clamp(var(--text-base), 1.8vw, var(--text-md));
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
}

.wv-gastro-faq summary::-webkit-details-marker {
  display: none;
}

.wv-gastro-faq summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: var(--space-xs);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
}

.wv-gastro-faq details[open] summary::after {
  content: "–";
}

.wv-gastro-faq details p {
  margin: 0;
  padding: 0 var(--space-2xl) var(--space-lg) 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.wv-gastro-cta {
  padding-block: var(--space-2xl);
  border-block: var(--rule-hairline) solid var(--color-ink);
}

.wv-gastro-cta .wv-button {
  width: 100%;
  margin-top: var(--space-xl);
}

@media (min-width: 40rem) {
  .wv-gastro-hero__actions {
    flex-direction: row;
    align-items: center;
    gap: var(--space-lg);
  }

  .wv-gastro-hero__actions .wv-button {
    width: auto;
  }

  .wv-gastro-prose,
  .wv-gastro-concept {
    width: min(calc(100% - (2 * var(--wv-gutter-tablet))), 46rem);
  }

  .wv-gastro-scope__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wv-gastro-cta .wv-button {
    width: auto;
  }
}

@media (min-width: 60rem) {
  .wv-gastro-hero {
    padding-block: var(--space-2xl) var(--space-4xl);
  }

  .wv-gastro-hero__layout {
    grid-template-columns: minmax(0, 1.18fr) minmax(20rem, 0.62fr);
    gap: var(--space-4xl);
    align-items: start;
  }

  .wv-gastro-hero__media {
    width: calc(100% - var(--space-sm));
    margin-top: calc(44px + var(--space-xl));
    justify-self: end;
  }

  .wv-gastro-hero__media picture {
    aspect-ratio: 4 / 5;
  }

  .wv-gastro-prose,
  .wv-gastro-concept {
    width: min(calc(100% - (2 * var(--wv-gutter-desktop))), 46rem);
    margin-inline-start: max(var(--wv-gutter-desktop), calc((100vw - var(--wv-container)) / 2 + 9rem));
    margin-inline-end: auto;
  }

  .wv-gastro-ledger article:nth-child(odd) {
    padding-inline-end: var(--space-2xl);
  }

  .wv-gastro-ledger article:nth-child(even) {
    margin-inline-start: var(--space-2xl);
  }
}

@media (hover: hover) and (pointer: fine) {
  .wv-gastro-text-link:hover {
    text-decoration-thickness: 0.14em;
  }

}

@media (pointer: coarse) {
  .wv-gastro-text-link,
  .wv-gastro .wv-button {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wv-gastro-hero__media {
    transform: none;
  }
}
