@font-face { font-family: Manrope; src: url(assets/manrope.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: Space Grotesk; src: url(assets/space-grotesk.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

.demo-site {
  --shell: 1250px;
  --bg: #f5efdf;
  --ink: #26382b;
  --muted: #50604e;
  --rule: #bec0aa;
  --action: #294734;
  --action-ink: #fffbef;
  --surface: #eee4cb;
  --display: Georgia, serif;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 1rem/1.65 Manrope, sans-serif;
}
.demo-site *, .demo-site *::before, .demo-site *::after { box-sizing: border-box; }
.demo-site :where(h1,h2,h3,p,figure,dl,dd) { margin: 0; }
.demo-site :where(h1,h2,h3) { font-family: var(--display); line-height: 1.02; text-wrap: balance; }
.demo-site h1 { font-size: clamp(2.95rem, 6.65vw, 7rem); letter-spacing: -.055em; }
.demo-site h2 { font-size: clamp(1.8rem, 3.5vw, 3.1rem); letter-spacing: -.038em; }
.demo-site img { display: block; width: 100%; height: auto; object-fit: cover; }
.demo-site a { color: inherit; }
.demo-site :focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.demo-site [hidden] { display: none; }
.demo-shell { width: min(100% - clamp(2rem, 9vw, 9rem), var(--shell)); margin-inline: auto; }
.demo-skip { position: fixed; z-index: 5; top: .75rem; left: .75rem; clip-path: inset(50%); padding: .55rem .8rem; background: var(--bg); }
.demo-skip:focus { clip-path: none; }

.demo-banner { background: #e8e1d4; color: #2c3630; font-size: .85rem; }
.demo-banner .demo-shell { display: flex; justify-content: space-between; gap: .65rem; padding-block: .36rem; }
.demo-banner a { text-underline-offset: .2em; font-weight: 750; }
.demo-banner-controls { display: flex; align-items: center; gap: .55rem; }
.demo-banner .language-switch { padding: .05rem .35rem; border: 1px solid currentColor; border-radius: .25rem; font-weight: 800; text-decoration: none; }
.demo-header { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: .85rem 1.5rem; min-height: 5.25rem; }
.demo-brand { width: fit-content; font: 700 clamp(1.4rem,3vw,2.1rem)/1 var(--display); letter-spacing: -.045em; text-decoration: none; }
.demo-header nav { display: flex; align-items: baseline; justify-content: center; gap: .65rem clamp(.9rem,2.6vw,2.65rem); flex-wrap: wrap; }
.demo-header nav a { font-weight: 750; font-size: .93rem; text-decoration: none; }
.demo-header nav a:is(:hover,[aria-current],.demo-nav-parent) { text-decoration: underline; text-underline-offset: .35em; }
.demo-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 3rem;
  padding: .63rem 1.03rem;
  border: 1px solid transparent;
  border-radius: .23rem;
  background: var(--action);
  color: var(--action-ink) !important;
  font: 800 .95rem/1.2 Manrope, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .16s ease;
}
.demo-button:not(:disabled):hover { opacity: .86; }
.demo-button:disabled { opacity: .6; cursor: default; }
.demo-header > .demo-button { justify-self: end; min-height: 2.65rem; }
.demo-header > .demo-button[aria-current="page"] { text-decoration: underline; text-underline-offset: .24em; }
.demo-link { width: fit-content; font-weight: 800; text-underline-offset: .28em; }
.demo-link:hover { text-decoration-thickness: 2px; }
.demo-actions { display: flex; align-items: center; gap: .75rem 1.3rem; flex-wrap: wrap; margin-top: 1.35rem; }
.demo-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: .7rem 1.6rem; padding-block: 1.3rem 1.65rem; border-top: 1px solid var(--rule); }
.demo-footer p { color: var(--muted); font-size: .9rem; }
.demo-footer .demo-link { font-size: .9rem; }

.demo-about {
  display: grid; grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr);
  gap: 1rem clamp(1.8rem,6vw,6.2rem); align-items: start;
  margin-block: clamp(.85rem,2.6vw,2.2rem) clamp(2.35rem,5vw,4.7rem);
  padding: clamp(1.35rem,4vw,3.5rem); border-top: 1px solid var(--rule); background: var(--surface);
}
.demo-about h2 { max-width: 19ch; font-size: clamp(1.95rem,4.25vw,3.7rem); }
.demo-about p { max-width: 57ch; color: var(--muted); }
.demo-about p + p { margin-top: .7rem; }
.demo-about .demo-link { display: inline-block; margin-top: .95rem; }
.demo-florist .demo-about { border-radius: 1.05rem 1.05rem .25rem .25rem; }
.demo-barbershop .demo-about { border-top-color: var(--action); }
.demo-cafe .demo-about h2, .demo-bistro .demo-about h2 { font-weight: 400; }
@media (max-width: 660px) {
  .demo-about { grid-template-columns: minmax(0,1fr); }
}

.cafe-hero { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; gap: clamp(1.7rem,5.3vw,6rem); padding-block: .65rem clamp(2.75rem,6vw,5.6rem); }
.cafe-hero-copy { padding-block: 1.8rem; }
.cafe-hero h1 { font-weight: 400; }
.cafe-hero-copy > p, .barber-hero-copy > p:not(.barber-kicker), .florist-hero-copy > p { max-width: 31ch; margin-top: 1.05rem; color: var(--muted); font-size: clamp(1.01rem,1.55vw,1.2rem); }
.cafe-hero figure { padding: clamp(.5rem,1.45vw,1.15rem); background: var(--surface); }
.cafe-hero img { aspect-ratio: 1.14; object-position: center 55%; }
.demo-home-section { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); align-items: center; gap: clamp(1.65rem,7vw,7rem); padding-block: clamp(2rem,5vw,4.8rem); border-top: 1px solid var(--rule); }
.demo-home-section img { aspect-ratio: 1.48; }
.demo-home-section p { max-width: 36ch; margin-block: .7rem .95rem; color: var(--muted); }

.demo-barbershop {
  --bg: #191916;
  --ink: #f6e8d2;
  --muted: #d5c4ae;
  --rule: #5d5244;
  --action: #f0b44f;
  --action-ink: #221b10;
  --surface: #26231e;
  --display: "Space Grotesk", sans-serif;
}
.demo-barbershop .demo-brand { text-transform: uppercase; }
.demo-barbershop .demo-header { border-bottom: 1px solid var(--rule); }
.demo-barbershop .demo-button { border-radius: 0; }
.barber-hero { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); align-items: stretch; margin-block: clamp(1.5rem,4.5vw,3.5rem); background: var(--surface); }
.barber-hero-copy { align-self: center; padding: clamp(1.35rem,4.2vw,3.75rem); }
.barber-hero h1 { text-transform: uppercase; font-size: clamp(2.6rem,5.6vw,5.9rem); }
.barber-kicker { margin-bottom: .65rem; color: var(--action); font-weight: 800; }
.barber-hero figure { min-height: 100%; }
.barber-hero img { height: 100%; min-height: clamp(17rem,36vw,33rem); filter: grayscale(.7) contrast(1.1); object-position: 57% 43%; }
.barber-floor { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem,8vw,7rem); padding-block: clamp(1.65rem,4vw,3.5rem); }
.barber-floor > div { border-top: 1px solid var(--rule); padding-top: .8rem; }
.barber-floor p { max-width: 40ch; margin-block: .6rem .85rem; color: var(--muted); }

.demo-bistro {
  --bg: #182522;
  --ink: #fcf0d8;
  --muted: #d9ceba;
  --rule: #637067;
  --action: #f1ca8d;
  --action-ink: #25231a;
  --surface: #243931;
}
.demo-bistro .demo-brand { letter-spacing: -.02em; }
.bistro-hero { display: grid; overflow: hidden; position: relative; isolation: isolate; min-height: clamp(31rem,46vw,42rem); color: #fff0d6; }
.bistro-hero > img, .bistro-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.bistro-hero > img { z-index: -2; object-position: center 54%; }
.bistro-hero::after { content: ""; z-index: -1; background: linear-gradient(90deg,#131e1be8 0%,#131e1bb5 34%,#131e1b26 77%), linear-gradient(0deg,#131c1770,transparent 46%); }
.bistro-hero-inner { display: grid; align-items: center; padding-block: 2rem; }
.bistro-hero h1 { font-weight: 400; font-size: clamp(4.05rem,10vw,9.5rem); line-height: .85; }
.bistro-hero-inner p:first-child { margin-bottom: .95rem; font-weight: 800; }
.bistro-hero h1 + p { max-width: 33ch; margin-top: 1.25rem; font-size: clamp(1rem,1.55vw,1.24rem); }
.bistro-table { border-top: 0; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
.bistro-table > div { padding-inline-start: clamp(0rem,4vw,4rem); }
.bistro-visit { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding-block: clamp(1.8rem,4.5vw,4rem); border-top: 1px solid var(--rule); }
.bistro-visit h2 { margin-bottom: .55rem; }
.bistro-visit .demo-actions { margin-top: 0; }

.demo-florist {
  --bg: #faf2f0;
  --ink: #422d39;
  --muted: #644c5c;
  --rule: #d3bfc4;
  --action: #66394b;
  --action-ink: #fff7f5;
  --surface: #f0dddc;
}
.demo-florist .demo-button { border-radius: 1.65rem; }
.florist-hero { text-align: center; }
.florist-hero-copy { max-width: 52rem; margin: auto; padding-block: clamp(2rem,4.5vw,4.15rem) clamp(1.5rem,4vw,3.15rem); }
.florist-hero h1 { font-weight: 400; font-style: italic; }
.florist-hero-copy > p { max-width: 43ch; margin-inline: auto; }
.florist-hero .demo-actions { justify-content: center; }
.florist-hero > img { height: clamp(14rem,36vw,35rem); object-position: center 56%; border-radius: 8rem 8rem .55rem .55rem; }
.florist-shop { border-top: 0; }

.demo-detail { padding-block: clamp(2.15rem,5vw,4.6rem) clamp(2.6rem,6vw,5.3rem); }
.demo-detail-header { display: grid; gap: 1.6rem clamp(1.75rem,7vw,6rem); align-items: center; padding-bottom: clamp(1.6rem,4.2vw,3.65rem); }
.demo-detail-header:has(.demo-detail-image) { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); }
.demo-detail-header h1 { font-size: clamp(2.85rem,7vw,6.3rem); }
.demo-detail-header p { max-width: 45ch; margin-top: .85rem; color: var(--muted); font-size: clamp(1rem,1.55vw,1.13rem); }
.demo-detail-image img { aspect-ratio: 1.6; }
.demo-florist .demo-detail-image img { border-radius: 3rem 3rem .45rem .45rem; }
.demo-content-section { display: grid; grid-template-columns: minmax(0,.55fr) minmax(0,1.45fr); gap: .7rem clamp(1.4rem,7vw,5.6rem); padding-block: clamp(1.2rem,3.1vw,2.6rem); border-top: 1px solid var(--rule); }
.demo-content-section > :not(h2) { grid-column: 2; }
.demo-content-section > p { max-width: 53ch; }
.demo-content-section h2 { font-size: clamp(1.55rem,3.3vw,2.75rem); }
.demo-list > div { padding-block: .5rem; border-bottom: 1px solid var(--rule); }
.demo-list > div:first-child { padding-top: 0; }
.demo-list > div:last-child { border-bottom: 0; }
.demo-list dt { display: flex; justify-content: space-between; align-items: baseline; gap: .25rem .9rem; flex-wrap: wrap; font-weight: 800; }
.demo-list-value { color: var(--ink); font-variant-numeric: tabular-nums; }
.demo-list dd { color: var(--muted); }
.demo-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 1.1rem 1.5rem; }
.demo-gallery figure:first-child { grid-column: 1 / -1; }
.demo-gallery img { aspect-ratio: 1.54; }
.demo-gallery figure:first-child img { aspect-ratio: 1.95; object-position: center 53%; }
.demo-gallery figcaption { margin-top: .35rem; color: var(--muted); }

.demo-booking { max-width: 51rem; padding: clamp(1rem,4vw,2.75rem); border: 1px solid var(--rule); background: var(--surface); }
.demo-form-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem 1.1rem; }
.demo-form-fields label { display: grid; gap: .35rem; font-weight: 800; }
.demo-form-wide { grid-column: 1 / -1; }
.demo-form-fields :is(input,select,textarea) {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: .5rem .62rem;
  border: 1px solid var(--rule);
  border-radius: .3rem;
  background: var(--bg);
  color: var(--ink);
  color-scheme: light;
  font: 500 1rem/1.35 Manrope, sans-serif;
}
.demo-barbershop .demo-form-fields :is(input,select,textarea), .demo-bistro .demo-form-fields :is(input,select,textarea) { color-scheme: dark; }
.demo-form-fields textarea { resize: vertical; }
.demo-form-note { margin: 1rem 0 .6rem; color: var(--muted); font-size: .93rem; }
.demo-form-result { margin-top: 1.2rem; padding: .9rem; border-left: 3px solid var(--action); background: var(--bg); }
.demo-form-result h2 { font-size: 1.55rem; }
.demo-form-result p { margin-top: .35rem; overflow-wrap: anywhere; }

.demo-barbershop.demo-route-services .demo-content-section { grid-template-columns: 1fr; gap: .85rem; }
.demo-barbershop.demo-route-services .demo-content-section > :not(h2) { grid-column: 1; }
.demo-barbershop.demo-route-services .demo-list > div { padding: .85rem clamp(.6rem, 2.2vw, 1.8rem); }
.demo-barbershop.demo-route-services .demo-list > div:nth-child(odd) { background: var(--surface); }
.demo-barbershop.demo-route-services .demo-list-value { color: var(--action); }
.demo-florist.demo-route-flowers .demo-content-section:first-child { display: block; }
.demo-florist.demo-route-flowers .demo-content-section:first-child h2 { margin-bottom: .9rem; }
.demo-florist.demo-route-flowers .demo-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.demo-florist.demo-route-flowers .demo-list > div { padding: clamp(.85rem, 2vw, 1.4rem); border: 0; border-radius: 1rem 1rem .3rem .3rem; background: var(--surface); }

.cafe-admin-head { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 1rem clamp(1.4rem, 5vw, 4rem); margin-bottom: 1.75rem; }
.cafe-admin-head h1 { font-size: clamp(2.6rem, 5vw, 5rem); }
.cafe-admin-head p { max-width: 44ch; color: var(--muted); }
.cafe-admin-head div > p { margin-bottom: .45rem; font-weight: 800; font-size: .9rem; }
.cafe-admin-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: start; gap: clamp(1rem, 4vw, 3.4rem); }
.cafe-admin-items, .cafe-admin-form { padding: clamp(1rem, 3.1vw, 2rem); border: 1px solid var(--rule); }
.cafe-admin-form { background: var(--surface); }
.cafe-admin-layout h2 { font-size: clamp(1.55rem, 3.2vw, 2.3rem); }
.cafe-admin-items ul { list-style: none; padding: 0; margin: .8rem 0 1.1rem; }
.cafe-admin-items li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .3rem .7rem; padding-block: .7rem; border-bottom: 1px solid var(--rule); }
.cafe-admin-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .3rem .85rem; }
.admin-text-button, .cafe-admin-actions button { padding: .25rem 0; border: 0; background: transparent; color: var(--ink); font: 750 .9rem Manrope, sans-serif; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.cafe-admin-form label { display: block; margin-top: .65rem; font-weight: 750; }
.cafe-admin-price { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: .65rem; }
.cafe-price-help { margin-top: .3rem; color: var(--muted); font-size: .9rem; }
.cafe-optional { font-weight: 500; color: var(--muted); }
.cafe-admin-form :is(input, select, textarea) { display: block; width: 100%; min-width: 0; min-height: 2.8rem; margin-top: .25rem; padding: .6rem; background: var(--bg); border: 1px solid #889783; border-radius: .28rem; color: var(--ink); font: inherit; }
.cafe-admin-form .demo-button { min-width: min(9.25rem, 100%); }
#menu-editor-status:not(:empty) { margin-top: .9rem; font-weight: 800; }
.cafe-admin-more { margin-top: clamp(2rem, 5vw, 4.5rem); padding-top: clamp(1.25rem, 3vw, 2rem); border-top: 1px solid var(--rule); }
.cafe-admin-more h2 { max-width: 24ch; }
.cafe-admin-more > p { max-width: 60ch; margin-top: .7rem; color: var(--muted); }
.cafe-admin-more dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; margin-block: 1.3rem; }
.cafe-admin-more dl > div { padding-top: .7rem; border-top: 1px solid var(--rule); }
.cafe-admin-more dt { font-weight: 800; }
.cafe-admin-more dd { margin-top: .25rem; color: var(--muted); }

@media (max-width: 760px) {
  .cafe-admin-head, .cafe-admin-layout, .demo-florist.demo-route-flowers .demo-list { grid-template-columns: minmax(0, 1fr); }
  .cafe-admin-more dl { grid-template-columns: minmax(0, 1fr); }
  .demo-header { grid-template-columns: minmax(0,1fr) auto; padding-block: .7rem .85rem; }
  .demo-header nav { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; }
  .demo-header > .demo-button { grid-row: 1; grid-column: 2; min-height: 2.55rem; padding-inline: .75rem; font-size: .88rem; }
  .demo-footer { grid-template-columns: 1fr; }
  .cafe-hero, .demo-home-section, .barber-hero, .demo-detail-header:has(.demo-detail-image) { grid-template-columns: minmax(0,1fr); }
  .cafe-hero { gap: 1.2rem; }
  .cafe-hero-copy { padding-block: .75rem 0; }
  .cafe-hero img { aspect-ratio: 1.48; }
  .bistro-hero { min-height: clamp(26rem,63vw,35rem); }
  .bistro-hero::after { background: linear-gradient(90deg,#131e1bea,#131e1b68), linear-gradient(0deg,#131c1770,transparent 55%); }
  .bistro-hero h1 { font-size: clamp(3.9rem,12.5vw,7.7rem); }
  .bistro-table > div { padding-inline-start: 0; }
  .florist-hero > img { border-radius: 3.75rem 3.75rem .4rem .4rem; }
  .demo-content-section { grid-template-columns: minmax(0,1fr); }
  .demo-content-section > :not(h2) { grid-column: 1; }
}

@media (max-width: 440px) {
  .demo-site h1 { overflow-wrap: anywhere; }
  .demo-brand { font-size: 1.37rem; }
  .demo-form-fields { grid-template-columns: 1fr; }
  .barber-floor { grid-template-columns: 1fr; }
  .demo-gallery { grid-template-columns: 1fr; }
  .demo-gallery figure:first-child img { aspect-ratio: 1.54; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-button { transition: none; }
}
