Hparto.com Brand & Design Law

The canonical visual, typographic, spatial, and geometric specification governing Hossein Parto's bilingual executive platform (hparto.com & hparto.com/fa/). Built on RGB.ir Liquid Glass Dark with mathematical concentricity, harmonic 4pt/8pt spacing, and zero AI-template clichés.

H + پرتو Diamond-Chiseled Star-H
9 Steps Fluid Modular Type Scale
4 / 8 pt Harmonic Spatial Grid
6 Tiers Concentric Radius System
Hossein Parto / حسین پرتو

Symmetrical 64×64 3D architectural emblem uniting twin diamond-chiseled H crystal obelisks, mirrored calligraphic ح arches, and a vertex-locked 24K gold پرتو star.

Brand Architecture & Anti-Watermark Voice Laws

Every design and copy decision reinforces a single verifiable Person entity across English and Persian without decorative filler.

LAW 01

Canonical Entity Parity

All pages resolve to one canonical Knowledge Graph node (https://hparto.com/#person) with strict 1:1 parity between visible numbers, JSON-LD @graph schemas, reciprocal static hreflang URLs, and /llms.txt.

Hand-Coded PHP Engineering

Pages ship in 1 standalone HTML response with inlined CSS, self-hosted Hparto Latin & Persian WOFF2 fonts, inline vector scenes, and a single logical-property stylesheet powering both LTR and RTL.

Anti-Watermark Prose Gate

Zero filler openings ("In today's fast-paced digital world", "در دنیای امروز", "لازم به ذکر است"), zero "not only X but also Y" symmetry, normal space (U+0020) instead of ZWNJ (U+200C), zero em/en dashes, and zero smart quotes.

Color Architecture & Liquid Glass Dark Surface Law

Click any token card below to copy its CSS custom property. All foreground pairings meet WCAG 2.2 AA/AAA contrast on #07090f.

LAW 03
FORBIDDEN | Single-Edge Railroad Bar
border-inline-start: 4px solid var(--blue)

Painting one edge of a card or tab with a thick colored bar is strictly banned across the entire Hparto design system.

CANONICAL | Uniform 1px Tinted Perimeter
border: 1px solid color-mix(...) + Soft Tint

Active tabs, selected cards, and semantic states use a uniform 4-sided 1px tinted border paired with an 8%-18% translucent surface fill.

Bilingual Typography & 9-Step Fluid Type Scale

Self-hosted Hparto Latin & Persian WOFF2 cuts paired with <meta name="text-scale" content="scale">, zero px font sizes, and script-specific vertical rhythm.

LAW 04
Token CSS Formula (rem + vw) Range (@16px) Weight EN Line-Height / Track FA Line-Height / Track Canonical Role
--fs-displayclamp(2.25rem, 1.65rem + 2.3vw, 3.45rem)36.0 - 55.2 px8001.14 / -0.024em1.45 / 0Homepage Hero H1
--fs-h1clamp(1.85rem, 1.35rem + 2.1vw, 3.05rem)29.6 - 48.8 px8001.22 / -0.02em1.45 / 0Inner Specialty Page H1
--fs-h2clamp(1.42rem, 1.08rem + 1.35vw, 2.08rem)22.7 - 33.3 px8001.26 / -0.012em1.45 / 0Section H2
--fs-h3clamp(1.04rem, 0.98rem + 0.24vw, 1.125rem)16.6 - 18.0 px8001.36 / 01.50 / 0Unified Card & Panel H3
--fs-leadclamp(1rem, 0.94rem + 0.3vw, 1.125rem)16.0 - 18.0 px400 / 7001.72 / 01.82 / 0Hero & Section Lead (<= 65ch)
--fs-bodyclamp(0.95rem, 0.92rem + 0.16vw, 1.02rem)15.2 - 16.3 px4001.68 / 01.82 / 0Document Body, Prose & FAQ Answers
--fs-sm0.9rem14.4 px400 / 7001.68 / 01.80 / 0Card Copy, Table Cells & Primary Buttons
--fs-xs0.8125rem13.0 px600 / 7001.56 / 01.70 / 0Nav Links, Filter Pills, Console & Captions
--fs-2xs0.75rem12.0 px600 / 8001.35 / 01.50 / 0Tags, Telemetry Badges & Monospace Indices
Display H1--fs-display | 800EN 1.14 / FA 1.45
Hossein Parto
حسین پرتو
Section H2--fs-h2 | 800EN 1.26 / FA 1.45
Search & AI Architecture
معماری سئوی فنی و هوش مصنوعی
Unified Card H3--fs-h3 | 800EN 1.36 / FA 1.50
Custom Hand-Written PHP 8.5
طراحی و کدنویسی اختصاصی وب با PHP
Body & Card Prose--fs-body & --fs-smEN 1.68 / FA 1.82

Since 2014 I have built and operated four live platforms across 3,666 published pages in a single standalone HTML response.

از سال ۱۳۹۳ چهار پلتفرم زنده را با ۳۶۶۶ صفحه منتشر شده در قالب یک پاسخ مستقل HTML به تنهایی ساخته و اداره می کنم.

Harmonic 4pt / 8pt Spatial Grid & Padding Law

All margins, gaps, card paddings, and section rhythms snap to a 10-step harmonic rem scale written exclusively with CSS logical properties.

LAW 05
--sp-10.25rem (4px)
Micro inline icon/badge offset
--sp-20.5rem (8px)
Pill, chip & tag cluster gap
--sp-30.75rem (12px)
Compact inner well padding (--pad-sm)
--sp-41.0rem (16px)
Dense bento card padding & grid gutter
--sp-51.25rem (20px)
Standard glass card padding (--pad-md)
--sp-61.5rem (24px)
Feature console & inner hero spacing
--sp-82.0rem (32px)
Editorial prose card & hero column gap
--sp-102.5rem (40px)
Desktop contact beacon padding
--sp-123.0rem (48px)
Mobile section vertical rhythm floor
--sp-164.0rem (64px)
Desktop section rhythm (--sec-py up to 5rem)

Concentric Border-Radius Law (R_outer = R_inner + P)

Nested surfaces share a common center of curvature. Arbitrary ad-hoc radii are banned; every container pairs its outer token with its padding to determine the inner token.

LAW 06

Interactive Concentricity Proof

Test canonical Hparto container presets or drag the sliders to see why inner corners must step down by the parent padding.

CONCENTRIC LAW
Aligned Curvature R_inner = 24 - 12 = 12px
INVERTED / PINCHED
Pinched Corners 18px inside 16px (Banned)
Radius Token Value Concentric Pairing Assigned Site Components
--r-xl24pxOuter shell with 10-16px padding → --r-md / --r-smModals (.hp-sheet-dialog, .hp-cv-dialog), Constellation, Radar, Mind OS, Map, Footer Deck
--r-lg20pxStandard .hp-glass with 12-16px padding → --r-xs / --r-smAll primary .hp-glass cards (Pillars, Work, AI Systems, Skills, FAQ, Dossier)
--r-md14pxNested stage inside --r-xl (24 - 10 = 14px).hp-const-stage, .hp-radar-stage, .hp-mos-svg, .hp-map-stage
--r-sm12pxSub-cards & Logo Mark; Planet halo = calc(var(--r-sm) + 4px).hp-logo-mark, .hp-orbit-card, .hp-planet, .hp-tl-item, .hp-cmp-table td
--r-xs8pxInner controls inside 20px card with 12px padding.hp-tab-btn, .hp-hd-item, .hp-skill-idx, .hp-faq-num, .hp-hbar, .hp-cv-item
--r-2xs4pxMicro telemetry blocks.hp-xray-blocks i, inline code
--r-pill999pxFull capsule geometry.hp-nav-in, .hp-btn, .hp-lang, .hp-tag, .hp-filter-btn

Interactive Components, Touch Ergonomics & Asset Hygiene

Every interactive control enforces WCAG 2.2 target sizing, native keyboard semantics, reduced-motion respect, and zero-metadata asset delivery.

LAW 07

Canonical Interactive Controls

Tab through these elements to inspect curvature-true :focus-visible outlines and uniform-border active states.

PASS: 0 FORBIDDEN CHARS HALT: NUMBER DRIFT
44 × 44 px Coarse-pointer & mobile minimum tap target (--ctrl-md: 2.75rem); collision-free mobile masthead down to 320px.
0.22s Curve cubic-bezier(0.22, 1, 0.36, 1); entrance reveals and SVG pulses gated strictly in prefers-reduced-motion: no-preference.
IHDR + IDAT + IEND All PNGs, ICOs, SVGs, and minified CSS ship with 0 comments, 0 metadata chunks, and application/manifest+json.
Copied token