:root {
  color-scheme: light;
  --demo-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --demo-radius-sm: 0.65rem;
  --demo-radius-md: 1rem;
  --demo-radius-lg: 1.75rem;
  --demo-shadow: 0 1.2rem 3rem rgb(22 30 24 / 0.12);
  --demo-container: 74rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  min-width: 0;
  margin: 0;
  font-family: var(--demo-font);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  line-height: 1.65;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a,
button,
h1,
h2,
h3,
p,
li,
span {
  min-width: 0;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid var(--demo-focus);
  outline-offset: 4px;
}

.demo-shell {
  background: var(--demo-bg);
  color: var(--demo-ink);
}

.demo-container {
  width: min(100% - 2rem, var(--demo-container));
  margin-inline: auto;
}

.demo-skip {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border-radius: var(--demo-radius-sm);
  background: var(--demo-ink);
  color: var(--demo-bg);
  font-weight: 800;
}

.demo-skip:focus {
  transform: translateY(0);
}

.demo-disclosure {
  padding: 0.55rem 1rem;
  background: var(--demo-ink);
  color: var(--demo-bg);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.demo-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--demo-line);
  background: color-mix(in srgb, var(--demo-bg) 92%, transparent);
  backdrop-filter: blur(14px);
}

.demo-nav {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.demo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--demo-ink);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-decoration: none;
}

.demo-brand-mark {
  display: inline-grid;
  width: 2.7rem;
  height: 2.7rem;
  flex: 0 0 2.7rem;
  place-items: center;
  border-radius: 50%;
  background: var(--demo-accent);
  color: var(--demo-accent-ink);
  font-weight: 950;
}

.demo-links {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-links a:not(.demo-button) {
  font-size: 0.93rem;
  font-weight: 750;
  text-decoration: none;
}

.demo-links a:not(.demo-button):hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.demo-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--demo-accent);
  color: var(--demo-accent-ink);
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.demo-button:hover {
  filter: brightness(0.94);
}

.demo-button-outline {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}

.demo-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.demo-hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.demo-eyebrow {
  margin-bottom: 0.85rem;
  color: var(--demo-muted-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.demo-lede {
  max-width: 42rem;
  margin-top: 1.5rem;
  color: var(--demo-muted);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.35rem);
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.demo-photo-card {
  position: relative;
  min-width: 0;
  min-height: clamp(22rem, 48vw, 34rem);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--demo-line);
  border-radius: var(--demo-radius-lg);
  background: var(--demo-surface);
  box-shadow: var(--demo-shadow);
}

.demo-photo-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.demo-photo-label {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgb(20 31 25 / 0.88);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.demo-section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.demo-section-alt {
  background: var(--demo-surface);
}

.demo-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.demo-section-head > p {
  max-width: 34rem;
  color: var(--demo-muted);
}

.demo-card-grid {
  display: grid;
  gap: 1rem;
}

.demo-card {
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--demo-line);
  border-radius: var(--demo-radius-md);
  background: var(--demo-card);
}

.demo-card-number {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--demo-accent-soft);
  color: var(--demo-ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.demo-card p {
  margin-top: 0.7rem;
  color: var(--demo-muted);
}

.demo-split {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.demo-copy > p:not(.demo-eyebrow) {
  max-width: 42rem;
  margin-top: 1.25rem;
  color: var(--demo-muted);
}

.demo-list {
  display: grid;
  margin: 1.75rem 0 0;
  padding: 0;
  gap: 0.75rem;
  list-style: none;
}

.demo-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  color: var(--demo-muted);
}

.demo-list li::before {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--demo-accent);
  color: var(--demo-accent-ink);
  content: "✓";
  font-size: 0.85rem;
  font-weight: 950;
  line-height: 1.55rem;
  text-align: center;
}

.demo-panel {
  min-width: 0;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border-radius: var(--demo-radius-lg);
  background: var(--demo-panel);
  color: var(--demo-panel-ink);
  box-shadow: var(--demo-shadow);
}

.demo-panel p {
  margin-top: 1rem;
  color: var(--demo-panel-muted);
}

.demo-stat-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.demo-stat {
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--demo-panel-ink) 18%, transparent);
  border-radius: var(--demo-radius-sm);
}

.demo-stat strong,
.demo-stat span {
  display: block;
}

.demo-stat strong {
  font-size: 1.1rem;
}

.demo-stat span {
  margin-top: 0.15rem;
  color: var(--demo-panel-muted);
  font-size: 0.88rem;
}

.demo-cta {
  padding-block: clamp(4rem, 8vw, 6rem);
  background: var(--demo-ink);
  color: var(--demo-bg);
}

.demo-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.demo-cta h2 {
  max-width: 18ch;
}

.demo-cta p {
  max-width: 38rem;
  margin-top: 1rem;
  color: var(--demo-cta-muted);
}

.demo-footer {
  padding-block: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--demo-bg) 22%, transparent);
  background: var(--demo-ink);
  color: var(--demo-cta-muted);
  font-size: 0.88rem;
}

.demo-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.demo-footer a {
  color: var(--demo-bg);
  font-weight: 800;
}

/* Pine Ridge Landscaping */

.pine-demo {
  --demo-bg: #f5f3e9;
  --demo-surface: #e7efe6;
  --demo-card: #fffdf7;
  --demo-ink: #17382b;
  --demo-muted: #52665c;
  --demo-muted-strong: #2f6a4d;
  --demo-line: #bdcdbf;
  --demo-accent: #f2c14e;
  --demo-accent-soft: #f8e5ad;
  --demo-accent-ink: #17382b;
  --demo-focus: #d18a00;
  --demo-panel: #244f3b;
  --demo-panel-ink: #fffdf7;
  --demo-panel-muted: #d8e6dc;
  --demo-cta-muted: #d8e6dc;
}

/* Copper Mesa Grill */

.copper-demo {
  --demo-bg: #fff7ea;
  --demo-surface: #f7e6cf;
  --demo-card: #fffdfa;
  --demo-ink: #351b18;
  --demo-muted: #745a50;
  --demo-muted-strong: #a13f2f;
  --demo-line: #e2c8ad;
  --demo-accent: #e4a72d;
  --demo-accent-soft: #f5d998;
  --demo-accent-ink: #351b18;
  --demo-focus: #1f6b5f;
  --demo-panel: #6f2822;
  --demo-panel-ink: #fffaf1;
  --demo-panel-muted: #f2d9c8;
  --demo-cta-muted: #ead8c7;
}

.copper-demo .demo-header {
  background: rgb(255 247 234 / 0.94);
}

.copper-demo .demo-brand-mark {
  border-radius: 0.55rem 50% 50% 50%;
  transform: rotate(-8deg);
}

.copper-demo .demo-brand-mark span {
  transform: rotate(8deg);
}

.copper-demo h1,
.copper-demo h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.045em;
}

.menu-card {
  position: relative;
  overflow: hidden;
}

.menu-card::after {
  position: absolute;
  right: -1.8rem;
  bottom: -2rem;
  width: 6rem;
  height: 6rem;
  border: 0.65rem solid var(--demo-accent-soft);
  border-radius: 50%;
  content: "";
}

.menu-price {
  display: inline-block;
  margin-top: 1rem;
  color: var(--demo-muted-strong);
  font-weight: 900;
}

.visit-board {
  background: var(--demo-panel);
}

.visit-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.18);
}

.visit-row:last-child {
  border-bottom: 0;
}

.visit-row span {
  color: var(--demo-panel-muted);
}

.visit-row strong {
  text-align: right;
}

@media (min-width: 48rem) {
  .demo-hero-grid,
  .demo-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  }

  .demo-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .demo-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 47.999rem) {
  .demo-nav {
    min-height: auto;
    padding-block: 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
  }

  .demo-links li {
    flex: 0 1 auto;
  }

  .demo-section-head,
  .demo-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-photo-card {
    min-height: 22rem;
  }
}

@media (max-width: 31rem) {
  .demo-container {
    width: min(100% - 1.25rem, var(--demo-container));
  }

  .demo-actions,
  .demo-actions .demo-button,
  .demo-cta .demo-button {
    width: 100%;
  }

  .demo-links .demo-button {
    min-height: 2.65rem;
    padding-inline: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
