Documentation · v1.0.0

Plomb — Architecture & Interiors HTML5 Template

Thank you for purchasing Plomb. This self-contained guide covers package layout, Swiss-grid CSS tokens, self-hosted typography, header/footer variants, validated AJAX-ready forms, and all 41 HTML5 pages.

Template Version1.0.0
Total Pages41 HTML5 Files
Homepage Concepts16 Distinct Demos
Build DependenciesZero (Pure HTML/CSS/JS)

1. Package & Folder Structure

The main archive unzips into two top-level directories: documentation/ (this guide) and plomb-html/ (the production website files).

plomb-main-files/
├── documentation/
│   └── index.html               # Offline, self-contained documentation
└── plomb-html/
    ├── index.html               # Showcase hub linking all 16 homes & inner pages
    ├── home-01.html .. home-16.html
    ├── about.html, studio.html, team.html, projects.html, contact.html, ...
    ├── README.txt
    └── assets/
        ├── css/
        │   └── plomb.css        # Complete Swiss-grid stylesheet & design tokens
        ├── js/
        │   └── plomb.js         # Drawer, theme toggle, filters, form validation & AJAX
        ├── fonts/               # Self-hosted WOFF2 font files (GDPR-ready)
        ├── img/                 # Architectural photography & studio assets
        ├── shots/               # Showcase preview thumbnails
        └── vendor/              # Local vendor scripts (no external CDN lock-in)

2. Quick Start & Local Preview

Plomb uses pure semantic HTML5, CSS custom properties, and vanilla JavaScript — no Node.js, Sass compilation, or bundler is required to edit or deploy.

  1. Open plomb-html/ in your code editor (VS Code, Sublime Text, PhpStorm, etc.).
  2. For best results (especially AJAX form testing and ES/fetch behavior), serve plomb-html/ via any local HTTP server instead of file://:
    cd plomb-html
    php -S 127.0.0.1:8080
    # or: npx serve .
    # or: python -m http.server 8080
  3. Upload the contents of plomb-html/ directly to your web host root (e.g. public_html/).

3. Design Tokens & Color Palette

All palette values, hairline rules, spacing, and radii are centralized inside assets/css/plomb.css under :root and [data-theme="dark"]. Updating the tokens updates every page and component consistently.

Paper Background--bg: #ffffff
Surface / Panel--surface: #f5f5f2
Primary Ink--ink: #0f0f0f
Plomb Brass Accent--accent: #e5b80b
:root {
  --bg: #ffffff;
  --surface: #f5f5f2;
  --ink: #0f0f0f;
  --muted: #666660;
  --line: #e2e2dc;
  --accent: #e5b80b;
}

4. Self-Hosted Typography

Plomb bundles local .woff2 font files inside assets/fonts/ so pages load cleanly with zero third-party Google Fonts requests and full GDPR compliance. Update the @font-face rules at the top of assets/css/plomb.css if you wish to swap typefaces.

5. Header & Footer Variants

Every homepage and inner page uses modular semantic <header> and <footer> blocks styled in plomb.css:

Variant / Class Used On Characteristics
.hdr (Swiss Sticky Bar) home-01.html, inner pages Full-width hairline border, plumb-bob brand mark, uppercase nav links, theme toggle, mobile drawer trigger.
.hdr--overlay home-02.html, home-05.html, home-09.html Transparent overlay over full-bleed architectural hero photography with automatic contrast inversion.
.hdr--minimal home-04.html, home-12.html Compact brand + drawer-first studio navigation for editorial and monograph layouts.
.ftr (4-Column Studio Footer) All standard & showcase pages Multi-column studio offices, quick links, legal links, and live copyright row.

6. Light & Dark Mode Toggle

plomb.js binds every [data-theme-toggle] button and persists the visitor's choice in localStorage under plomb_theme, toggling data-theme="dark" on <html>. You can force dark mode by default on any page by setting <html lang="en" data-theme="dark">.

7. Validated Forms & AJAX Submission

contact.html and all 14 newsletter/inquiry forms across the site carry data-plomb-form and novalidate. assets/js/plomb.js automatically handles:

  • Client-Side Validation: Checks required fields, email syntax, and consent checkboxes, rendering inline .form-err messages and aria-invalid="true".
  • AJAX fetch() Support: Add action="https://your-endpoint.com/submit" method="POST" (or Formspree / Getform / custom PHP script) to any <form data-plomb-form>. When an HTTP(S) or server endpoint is configured, plomb.js sends a POST request with FormData and displays server feedback in .form-ok or .form-err.
  • Static Demo Fallback: When no backend action is set (or when previewing static HTML), validated submissions show a clean confirmation message without page reload.
<form data-plomb-form action="https://formspree.io/f/your-id" method="POST" novalidate>
  <input type="text" name="name" required placeholder="Your name">
  <input type="email" name="email" required placeholder="you@studio.com">
  <textarea name="message" required placeholder="Project brief..."></textarea>
  <button type="submit">Send Inquiry</button>
  <div class="form-status" aria-live="polite"></div>
</form>
Responsive Tables: All data tables (including awards.html, projects-list.html, and home-10.html) are wrapped in .table-wrap with overflow-x: auto so mobile viewports never overflow horizontally.

8. JavaScript Architecture (assets/js/plomb.js)

plomb.js initializes cleanly on DOMContentLoaded with zero console errors and zero jQuery dependency:

  • initThemeToggle() — Light/dark persistence via localStorage.
  • initMobileDrawer() — Accessible mobile navigation drawer with Escape key & backdrop close.
  • initFilters() — Category filtering on projects.html and journal.html.
  • initForms() — Field-level validation, fetch() POST submission, and live status regions.
  • initAccordion() & initReveal() — FAQ accordions and IntersectionObserver scroll reveals.

9. All 41 Included HTML5 Pages

Every file below resides in plomb-html/ and shares consistent navigation, responsive breakpoints, and clean semantic markup:

index.htmlShowcase & Demo Hub
home-01.htmlSwiss Studio Flagship
home-02.htmlFull-Bleed Editorial Hero
home-03.htmlMonograph Index Grid
home-04.htmlMinimal Practice Showcase
home-05.htmlDark Architectural Gallery
home-06.htmlAsymmetric Split Studio
home-07.htmlResidential Portfolio
home-08.htmlCultural & Civic Works
home-09.htmlHospitality & Interiors
home-10.htmlTypographic Index & Ledger
home-11.htmlMateriality & Craft
home-12.htmlBoutique Interior Atelier
home-13.htmlUrbanism & Masterplan
home-14.htmlTimber & Sustainable Build
home-15.htmlCompetition Archive
home-16.htmlCompact Studio Card
about.htmlPractice Overview
studio.htmlStudio Culture & Workshop
team.htmlPartners & Architects
team-member.htmlPartner Profile
projects.htmlFilterable Projects Grid
projects-masonry.htmlMasonry Works Grid
projects-list.htmlSortable Works Table
project-single.htmlCase Study Monograph
project-case.htmlTechnical Case Breakdown
services.htmlArchitectural Services
service-single.htmlService Scope & SIA Phases
process.htmlDesign Methodology
pricing.htmlFee Models & Retainers
awards.htmlPrizes & Distinctions Table
journal.htmlEditorial Journal
article.htmlEssay & Reading View
careers.htmlOpen Positions
career-single.htmlRole Specification
faq.htmlClient FAQ Accordion
contact.htmlValidated Inquiry Form
contact-offices.htmlGlobal Studio Offices
privacy.htmlPrivacy Policy
terms.htmlTerms of Engagement
404.htmlCustom 404 Error Page

10. Assets, Fonts & Credits

  • Typography: Self-hosted WOFF2 geometric sans & serif webfont subsets in assets/fonts/.
  • Icons: Custom inline monochrome SVG marks and directional glyphs (zero external icon font dependency).
  • Photography: Curated architectural and interior imagery bundled in assets/img/ for demonstration.
  • Author: Faton Designs (faton.works).