/* The booking route shares the landing page's soft editorial finish.
   Keep the shared form controls, validation, attribution, and scheduler intact. */
.demo-industrial-shell {
  --demo-display: var(--font-heading, 'Geist', sans-serif);
}
.marketing-theme .demo-industrial-shell [data-navbar="booking"] > header {
  border-radius: 0;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--background);
}
.marketing-theme .demo-industrial-shell [data-navbar="booking"] [data-navbar-inner] {
  width: 100%;
  max-width: none;
  padding-inline: clamp(24px, 4vw, 48px);
}
.demo-industrial-shell .contact-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "story form";
  align-items: stretch;
  min-height: calc(100svh - var(--marketing-navbar-height) - var(--announcement-banner-height));
  gap: 0;
}
.demo-industrial-shell .demo-booking {
  grid-area: form;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px clamp(32px, 4vw, 80px);
  /* A soft gray side so the white form card stands out. */
  background: var(--subtle);
}
.demo-industrial-shell .demo-story-panel {
  grid-area: story;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  border-radius: 0;
  background: var(--primary);
  color: var(--primary-foreground);
}
.demo-industrial-shell .demo-story-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: 52% center;
  /* Soften and mute the photo so it reads as atmosphere behind the copy. */
  filter: saturate(.65) brightness(1) blur(3px);
  transform: scale(1.04);
}
.demo-industrial-shell .demo-story-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* Photography needs a consistent dark surface beneath every line of copy. */
  background:
    radial-gradient(120% 80% at 30% 50%, rgb(0 0 0 / 35%), transparent 70%),
    linear-gradient(180deg, rgb(0 0 0 / 38%), rgb(0 0 0 / 56%));
}
.demo-industrial-shell .demo-story-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 48px;
  width: 100%;
  max-width: 600px;
  min-height: 100%;
  margin-inline: auto;
  padding: 64px clamp(32px, 4vw, 48px);
}
.demo-industrial-shell .contact-page form label { font-weight: 400; }
.demo-industrial-shell [data-demo-field-surface]:focus-within {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 2px var(--border-subtle);
}
.demo-industrial-shell [data-demo-field-surface]:has([data-invalid]),
.demo-industrial-shell [data-demo-field-surface][data-invalid] { border-color: var(--destructive); }
.demo-industrial-shell [data-demo-field-surface]:has([data-invalid]):focus-within {
  box-shadow: 0 0 0 2px var(--color-red-pale);
}
.demo-industrial-shell [data-demo-field-surface]:is([data-disabled], :has([data-disabled]), :has(:disabled)) {
  background: var(--accent);
  color: var(--subtle-foreground);
  cursor: not-allowed;
}
body:has(.demo-industrial-shell) [data-demo-select-popup] {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-medium);
}
body:has(.demo-industrial-shell) [data-demo-select-popup] [role="option"] { border-radius: var(--radius-ui-lg); }
/* The newsletter primitive uses a legacy border ramp; keep its colors on the
   shared palette without changing its input geometry or behavior. */
.demo-industrial-shell footer [data-slot="input-group"] { border-color: var(--border); }
.demo-industrial-shell footer [data-slot="input-group"]:hover { border-color: var(--border-strong); }
/* Once the layout stacks, the form stands alone; the photo story is desktop-only. */
@media (max-width: 1023px) {
  .demo-industrial-shell .contact-page {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "form";
    grid-template-rows: auto;
    min-height: 0;
  }
  .demo-industrial-shell .demo-story-panel { display: none; }
  .demo-industrial-shell .demo-booking { padding: 48px 24px; }
}
@media (max-width: 700px) {
  .demo-industrial-shell .demo-booking { padding-block: 40px; }
}
