# VIPO Granite — Milestone 0.5.0 (content control and visitor engagement)

## Requested improvements implemented

1. **Typography:** Default website body typography is 17px with 1em line height. Staff can change body, heading and navigation line heights from Site-wide typography. Static pages support an optional page-level line-height override.
2. **Every product/service detail is editable:** Hero headline and introduction, product/service notes, overview, characteristics, uses, advice, FAQs, service process, product brief, related section and quote panel have individual overrides where applicable. Staff can hide/reorder built-in sections and adjust detail typography.
3. **Unlimited content sections:** A protected nested editor adds draft/published, sortable editorial blocks for products/services. Each block has text, optional photo, alt text, optional safe link, line height and one of three layouts. Published blocks interleave with default sections by display order.
4. **Product gallery:** Published images/videos assigned to a product show on its detail page when its gallery section is enabled. Existing multi-upload product gallery remains available.
5. **Dropdown navigation:** Desktop hover, click and keyboard behavior; mobile accordion with focus, Escape and outside-click closure. Transitions are reduced when the visitor requests reduced motion.
6. **Blog article conversion:** Each single blog article displays a branded interactive three-choice CTA after the article. Visitors choose a contextual quote request, products or a phone call. The copy/visibility is editable under Blogs overview in the CMS.
7. **Documentation:** Public `/docs` handbook updated with new controls and publishing/deployment procedures, without sign-in. This route remains noindex/nofollow and excluded from sitemap.
8. **Safe edits:** All admin writes, including new custom sections, are still guarded by the existing save/delete confirmation dialog. Old public uploads are preserved when a section record is removed.

## Upgrade procedure for existing installations

1. Back up the **production database**, `.env` and `storage/app` directory. Never overwrite live media or `.env` with ZIP defaults.
2. Deploy updated application files. Keep web document root pointed at `public/` and preserve HTTPS.
3. Run `composer install --no-dev --optimize-autoloader`.
4. Run `php artisan optimize:clear` and `php artisan migrate --force` to install the two new `2026_11_11` migrations.
5. Run `php artisan storage:link` if missing, then `php artisan optimize`.
6. Confirm that published product/service pages still display correctly. New customization fields inherit existing shared page defaults until edited.
7. In **Site-wide typography**, confirm default 17px body and 1em line height, or adjust intentionally. In **Products/Services → Edit**, check the new page controls and create an additional section as a test. In **Edit website pages → Blogs overview**, customize the CTA.

## Verification notes

- The front-end compiles using `npm run build`; production assets are under `public/build`.
- New Laravel feature tests cover product/service visibility and custom sections, line height, and single-blog CTA presence.
- A full PHP/Laravel test run must be performed on a machine with PHP 8.3+ and Composer. No claim is made that Laravel runtime tests passed in this build environment.

## Editorial caution

Do not publish invented testimonials, client projects or unverified stock and installation claims. Uploaded images are illustrative unless verified by VIPO. The 1em line-height default is intentionally compact per request; higher settings can improve readability for longer content.
