/* Lulu public-site design system. Keep drafting tools and plan geometry independent. */
:root {
  --site-body: 'Lulu Inter', Inter, Arial, sans-serif;
  --site-display: 'Lulu Headline', Impact, 'Arial Narrow', sans-serif;
  --site-title-size: clamp(64px, 7.3vw, 120px);
  --site-subtitle-size: clamp(18px, 1.65vw, 24px);
  --site-card-title-size: 21px;
  --site-body-size: 16px;
  --site-media-radius: 16px;
  --site-section-space: clamp(40px, 5vw, 72px);
  --site-grid-gap: 20px;
  --site-border: #bdbdb6;
}

body { font-family: var(--site-body); font-size: var(--site-body-size); line-height: 1.6; }

/* One display hierarchy across the story, studio and planning pages. */
:is(.step, .site-footer) .section-title,
.combined-production .planner-hero h1,
.combined-production .production-content .plan-section-title,
.combined-production .production-planning-intro h2 {
  font-family: var(--site-display);
  font-size: var(--site-title-size);
  font-weight: 800;
  font-style: normal;
  line-height: .9;
  letter-spacing: -.025em;
}
:is(.step, .site-footer) .section-subheading,
.combined-production .budget-intro > p,
.combined-production .production-planning-intro > p {
  font-family: var(--site-body);
  font-size: var(--site-subtitle-size);
  line-height: 1.45;
  letter-spacing: normal;
}
:is(.step, .site-footer) .section-body {
  font-family: var(--site-body);
  font-size: var(--site-body-size);
  line-height: 1.6;
  letter-spacing: normal;
}
.product-copy h3,
.tech-photo-headline,
.resource-download h3,
.shot-page .gallery-section .reel-heading {
  font-family: var(--site-body);
  font-size: var(--site-card-title-size);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.product-copy > p,
.tech-photo-caption,
.resource-download p {
  font-family: var(--site-body);
  font-size: var(--site-body-size);
  line-height: 1.6;
}
.tech-photo-caption { margin-top: 20px; }
.tech-photo-headline { margin-bottom: 12px; }
.shot-page .gallery-section .reel-heading { margin-bottom: 24px; }

/* Identical hero rhythm and gallery gutters; preserve each media aspect ratio. */
.tour-intro { padding: 64px 0 48px; }
.we-do-hero .section-title { padding: 64px 0 48px; }
.combined-production .planner-hero { padding: 64px var(--gutter) 48px; }
.gallery-section { padding-top: 32px; padding-bottom: var(--site-section-space); }
.gallery-heading { padding: 40px 0 32px; }
.people-section { padding-top: var(--site-section-space); padding-bottom: var(--site-section-space); }
.photo-section { padding: 32px var(--gutter) var(--site-section-space); }
.image-gallery, .portrait-gallery, .people-portraits { gap: var(--site-grid-gap); }

/* Clip the frame, not the figure, so captions stay outside the rounded image. */
.media,
.portrait-card,
.resource-preview {
  border-radius: var(--site-media-radius);
  overflow: hidden;
  isolation: isolate;
}
:is(.media, .portrait-card) > :is(img, video, .lulu-asset) {
  border-radius: inherit;
}
.cad-plan-image { border-radius: var(--site-media-radius); }

/* Matching navigation and supporting labels on every public page. */
body > header > nav a {
  font-family: var(--site-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .02em;
}
.tour-page .space-links a,
.combined-production .production-nav a {
  font-family: var(--site-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .04em;
}
.step-top { font-family: var(--site-body); line-height: 1.4; }
.site-footer .footer-details { font-size: 14px; line-height: 1.65; }
.site-footer nav a { font-family: var(--site-body); font-size: 14px; line-height: 1.5; }
.cad-pdf-link, .people-imdb { font-family: var(--site-body); font-size: 12px; line-height: 1.4; }

/* Public forms use the same typography. Special camera/show-name fields keep their scale. */
.settings-grid label,
.records-step .camera-section-label,
.production-budget .camera-setup .camera-section-label,
#camera-fields > label {
  font-family: var(--site-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: normal;
}
body > dialog:not(#set-template-dialog) :is(input, textarea, select) {
  font-family: var(--site-body);
  border-radius: 0;
  box-shadow: none;
}
.production-budget .crew-expand-button,
.planner-actions .expand-plan {
  font-family: var(--site-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 600px) {
  :root {
    --site-title-size: clamp(48px, 16vw, 80px);
    --site-subtitle-size: 18px;
    --site-card-title-size: 20px;
    --site-media-radius: 12px;
    --site-grid-gap: 16px;
  }
  .tour-intro { padding: 38px 0 30px; }
  .we-do-hero .section-title { padding: 38px 0 30px; }
  .combined-production .planner-hero { padding: 38px var(--gutter) 30px; }
  .gallery-section { padding-top: 24px; }
  .gallery-heading { padding: 30px 0 24px; }
  .photo-section { padding-top: 24px; }
  .tour-page .space-links a,
  .combined-production .production-nav a { font-size: 10px; }
  .site-footer .footer-details { gap: 28px; }
}
