/* Standalone demonstrations */
:root { scroll-behavior: smooth }
.demo-disclosure { margin: 0; padding: 5px 16px; background: #e8e9ed; color: #242632; text-align: center; font: 600 12px/1.5 system-ui, sans-serif }
.demo-estate, .demo-auto, .demo-dining { --body: #f3efe7; --ink: #252d27; --accent: #314d42; --line: #c6c7b9; margin: 0; background: var(--body); color: var(--ink); font: 16px/1.6 system-ui, sans-serif }
.demo-estate *, .demo-auto *, .demo-dining * { box-sizing: border-box }
.demo-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 18px max(5vw, calc((100% - 1300px)/2)); border-bottom: 1px solid var(--line) }
.demo-brand { font-weight: 800; font-size: 19px }
.demo-nav nav { display: flex; gap: 20px; flex-wrap: wrap }
.demo-estate a, .demo-auto a, .demo-dining a { color: inherit; text-decoration: none }
.demo-nav a:hover, .demo-contact a:hover { text-decoration: underline }
.demo-nav-cta, .demo-button { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; font-size: 14px; font-weight: 750 }
.demo-nav-cta { border: 1px solid var(--line) }
.demo-hero { position: relative; display: grid; align-items: center }
.demo-hero p, .demo-hero h1 { margin: 0 }
.demo-copy { padding: clamp(24px, 5vw, 78px); position: relative; z-index: 1 }
.demo-copy .demo-label { margin-bottom: 11px; font-weight: 750; font-size: 13px }
.demo-copy h1 { font-size: clamp(40px, 6vw, 88px); font-weight: 500; line-height: .99; letter-spacing: -.055em; text-wrap: balance }
.demo-copy p:not(.demo-label) { max-width: 38ch; margin-block: 18px 22px }
.demo-hero .demo-button { background: var(--accent); color: var(--button-ink, #fff) }
.demo-picture { width: 100%; display: block; height: 100%; max-height: 650px; object-fit: cover }
.demo-offer, .demo-contact { padding: clamp(36px, 7vw, 95px) max(5vw, calc((100% - 1230px)/2)); border-top: 1px solid var(--line) }
.demo-offer h2, .demo-contact h2 { margin: 0 0 16px; font-size: clamp(27px, 4vw, 48px); line-height: 1.15; letter-spacing: -.04em }
.demo-items { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px }
.demo-items article { padding: 18px; border: 1px solid var(--line) }
.demo-items h3 { margin: 0 0 6px; font-size: 19px }
.demo-items span { font-size: 14px; font-weight: 750 }
.demo-items p { margin: 8px 0 0 }
.demo-contact a { display: inline-block; padding-block: 10px; text-decoration: underline }
.demo-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 5%; border-top: 1px solid var(--line); font-size: 13px }
.demo-estate .demo-hero { grid-template-columns: minmax(0,.84fr) minmax(0,1.3fr); gap: 22px; padding: 25px 5% 40px }
.demo-estate .demo-copy { padding: 4vw 0 }
.demo-estate .demo-copy h1, .demo-estate h2 { font-family: Georgia,serif }
.demo-estate .demo-picture { min-height: 420px; height: 100% }
.demo-auto { --body: #151617; --ink: #fff3e8; --accent: #f18d54; --line: #66503f; --button-ink: #21150f }
.demo-auto .demo-hero { min-height: clamp(520px,53vw,670px); grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); background: #111 }
.demo-auto .demo-picture { position: absolute; inset: 0 0 0 auto; width: 72%; max-height: none; clip-path: polygon(16% 0,100% 0,100% 100%,0 100%) }
.demo-auto .demo-copy { background: #141414; width: 100%; padding-right: 1rem; border-inline-start: 5px solid var(--accent) }
.demo-auto .demo-copy h1 { text-transform: uppercase; font-weight: 900; font-family: "Arial Narrow",Arial,sans-serif; font-size: clamp(43px,6.1vw,84px) }
.demo-auto .demo-nav-cta { color: var(--accent) }
.demo-dining { --body: #251719; --ink: #f9eee2; --accent: #c9a677; --line: #84685f; --button-ink: #261b19 }
.demo-dining .demo-hero { min-height: clamp(470px,49vw,640px); isolation: isolate; place-items: center; text-align: center }
.demo-dining .demo-image, .demo-dining .demo-picture { position: absolute; inset: 0; max-height: none; z-index: -2 }
.demo-dining .demo-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #221415ad }
.demo-dining .demo-copy h1, .demo-dining h2 { font-family: Georgia,serif }
.demo-dining .demo-copy p { margin-inline: auto }
.demo-dining .demo-items { grid-template-columns: 1fr; max-width: 760px }
.demo-dining .demo-items article { border-width: 0 0 1px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; padding-inline: 0 }
.demo-dining .demo-items p { grid-column: 1/-1 }

/* Distinct opening compositions for the original examples. */
.example-business .hero { display: grid; grid-template-columns: 1fr; background: #18243b; color: #f4f6fb; position: relative; min-height: clamp(460px,53vw,650px); isolation: isolate; align-items: end; padding: 38px; overflow: hidden }
.example-business .hero > div:first-child { position: relative; z-index: 1; padding: clamp(15px,3vw,34px); max-width: 520px; background: #17233bed; border-left: 4px solid #7698eb }
.example-business .hero > div:first-child p, .example-business .hero em, .example-business .hero .eyebrow { color: #dce5f8 }
.example-business .hero .art { position: absolute; inset: 0; height: 100%; z-index: -1; box-shadow: none }
.example-business .hero .art img { height: 100%; width: 100%; object-fit: cover }
.example-business .art-label { display: none }
.example-clean .hero { display: block; text-align: center; padding: 40px 0; background: #f7fafb }
.example-clean .hero > div:first-child { max-width: 700px; margin: auto; padding: 0 20px }
.example-clean .hero > div:first-child p { margin-inline: auto }
.example-clean .hero .hero-image { width: 100%; height: clamp(200px,29vw,420px); min-height: 0; margin-top: 27px; border-radius: 0 }
.example-clean .hero .hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 58% }
.example-salon .hero { grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); min-height: clamp(410px,50vw,640px); background: #e8d5c7; color: #352522; padding: 0; gap: 0 }
.example-salon .hero > div:first-child { grid-column: 2; grid-row: 1; padding: clamp(18px,4vw,54px) }
.example-salon .hero .hero-image { grid-column: 1; grid-row: 1; align-self: stretch; height: auto; min-height: 380px; border-radius: 0 }
.example-salon .hero .hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.example-salon .hero h1 { font-family: Georgia,serif; font-weight: 400 }
@media (max-width: 700px) {
  .demo-nav { gap: 8px 14px; padding: 12px 5% }
  .demo-brand { font-size: 16px }
  .demo-nav nav { gap: 12px; font-size: 14px }
  .demo-nav-cta { display: none }
  .demo-estate .demo-hero, .demo-auto .demo-hero, .example-salon .hero { grid-template-columns: 1fr; gap: 0; min-height: 0 }
  .demo-estate .demo-hero { padding: 20px 5%; gap: 12px }
  .demo-estate .demo-picture { min-height: 0; height: 240px }
  .demo-auto .demo-picture { position: static; width: 100%; max-height: 250px; clip-path: none }
  .demo-dining .demo-hero { min-height: 450px }
  .demo-items { grid-template-columns: 1fr }
  .example-business .hero { min-height: 435px; padding: 15px }
  .example-clean .hero { padding-top: 30px }
  .example-salon .hero > div:first-child { grid-column: 1; grid-row: 1; padding: 24px }
  .example-salon .hero .hero-image { grid-column: 1; grid-row: 2; min-height: 250px }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto } }
