AADITYA

CASE STUDY 04 · LEGAL PRACTICE · NEXT.JS / TYPESCRIPT / THREE.JS / CONTENT GOVERNANCE

Designing a legally restrained digital presence for an Indian boutique practice

Aarohan Legal explores how an Indian legal-practice website can feel distinctive without behaving like a conventional commercial landing page. The project replaces stock courthouse imagery, aggressive calls to action and unverifiable claims with editorial hierarchy, procedural illustration, quiet motion and a content system built around review, restraint and clear professional boundaries.

Sector

Indian Legal Practice

Project Type

Independent Concept Project

Role

Brand Direction, UI/UX, Frontend, WebGL and Content Architecture

Platform

Responsive Web

Visual System

Original Procedural Illustration

Status

Technical and Editorial Implementation

This is an independent concept project created to explore a specific design and technical direction. It was not commissioned by the represented practice.

Original Visual System

A procedural WebGL sculpture and seven custom SVG illustration systems replace generic legal stock photography.

Editorial Architecture

Principles, practice areas, perspectives, disclaimers and enquiries are organised as a restrained digital publication.

Content Governance

Legal perspectives remain unpublished until their review status and legal-review flags are explicitly approved.

Production Safeguards

Reduced-motion support, keyboard navigation, server-side validation, rate limiting and security headers are included.

Section 01

The context

Legal websites have an unusual design problem. They must communicate competence and clarity, but an advocate's website should not resemble an aggressive sales funnel. Conventional portfolio patterns—testimonials, client logos, victory claims, countdowns and exaggerated calls to action—would be inappropriate here.

The project therefore began with a different question: how can a boutique Indian legal practice establish a memorable digital identity while remaining informational, restrained and honest about what the website can and cannot represent?

Section 02

The central challenge

The main challenge was not making the website appear premium. It was making it distinctive without relying on the visual and commercial shortcuts commonly used by professional-service websites.

The interface needed to feel contemporary without becoming fashionable for its own sake, Indian without decorative stereotypes, authoritative without inventing credentials, and useful without presenting general information as advice for an individual legal matter.

Constraints

  • No fabricated advocate profiles or qualifications
  • No testimonials or client-result claims
  • No generic scales, gavels, handshakes or courthouse photography
  • No aggressive lead-generation language
  • No automatic publication of unreviewed legal content
  • No implication that an enquiry creates an advocate-client relationship
  • No claim that the implementation itself certifies legal compliance

Section 03

Editorial, not promotional

The design strategy treats the website more like an independent legal publication than a conventional agency landing page. Large typography, deliberate spacing, numbered sections and a structured full-screen index create a measured reading rhythm.

The visual identity uses paper, ink, constitutional red, antique brass and dark editorial surfaces. These references create an Indian legal character without copying ceremonial imagery or reducing the identity to decorative cultural motifs.

Restraint

Motion and colour establish hierarchy without turning every interaction into a spectacle.

Precision

Labels, section numbers, type scales and alignment rules make the interface feel deliberate.

Originality

Typography, geometry and procedural illustration replace downloaded imagery and legal clichés.

Legibility

Long-form information remains readable across desktop, tablet and mobile layouts.

Professional boundaries

The interface distinguishes general information, editorial perspectives and direct enquiries.

Section 04

Structuring a legal practice without turning it into a sales catalogue

Rather than presenting the practice as a product with feature lists and pricing, the content is organised into distinct editorial areas, each serving a different purpose in the visitor's understanding of the practice.

Principles

Five operating principles establish the practice's intended character before the visitor reaches detailed service information.

Practice Areas

Seven practice areas use consistent editorial structure and custom procedural illustrations rather than product-style sales cards.

Perspectives

Editorial notes are treated as reviewed publications, not automatically generated blog content.

Disclaimer

A first-session disclaimer establishes the informational nature of the website before the main experience is entered.

General Enquiries

The enquiry flow collects only necessary information and explicitly avoids creating an automatic advocate-client relationship.

Content flow

EntryDisclaimerPrinciplesPractice AreasPerspectivesGeneral Enquiry

Section 05

A procedural hero instead of a legal cliché

The hero centres on “The Constitutional Field,” a procedural WebGL sculpture created with Three.js and React Three Fiber. Its role is not to represent a literal legal symbol. It creates a shifting field of structure, tension and order that can support the identity without dictating a single interpretation.

Because the geometry is generated in code, the project avoids licensing concerns, downloaded imagery and generic AI-generated lawyer portraits. A static alternative is provided when reduced motion is requested or the full WebGL experience is unsuitable.

Core 3D

  • Three.js
  • React Three Fiber
  • React Three Drei

Canvas behaviour

  • Responsive canvas sizing
  • Controlled animation
  • Reduced-motion fallback

Approach

  • Progressive enhancement
  • No essential information inside the canvas

Section 06

Seven areas, one visual grammar

Each practice area receives an original procedural SVG illustration. Instead of assigning a literal icon to every legal subject, the illustrations share a common system of lines, fields, intersections and structured movement.

This creates enough variation to distinguish the practice areas while keeping them visibly part of one identity. The illustrations remain lightweight, scalable and compatible with the restrained no-stock-image direction. Meaningful illustrations carry accessible labels where appropriate, while purely decorative geometry is hidden from assistive technologies.

Section 07

Designing for review before publication

A legal website should not treat publishing as a frictionless content-marketing exercise. Aarohan Legal therefore separates drafting, editorial review and public publication.

Perspective entries carry an explicit status and legal-review flag. An article is intended to become public only after both publishing conditions are satisfied. The validation workflow checks the article's title, dates, abstract, disclaimer, legal-review state, sources and body before publication.

Publishing workflow

DraftEditorial ReviewLegal ReviewValidationPublication

Relevant architecture

  • src/content/perspectives.ts
  • scripts/validate-perspectives.mjs
  • status: draft | reviewed | published
  • legalReview: boolean

This is a technical safeguard supporting review—not a substitute for review by an enrolled advocate.

Section 08

Setting expectations before interaction

The disclaimer appears for the first browser session. Acceptance uses sessionStorage. There is no preselected acceptance. Keyboard focus remains inside the dialog and is restored after acceptance. A link to the full disclaimer is visible. Analytics remain disabled by default. Escape provides a leave action. Public informational content remains available for indexing.

The gate is designed as a clear informational boundary, not as a guaranteed legal-compliance mechanism.

Section 09

A restrained enquiry system

The enquiry flow is intentionally narrower than a conventional lead-generation form. It validates submissions on the server, limits request size, reduces automated spam and returns generic error messages without exposing internal application details.

The form does not promise a response time, subscribe the visitor to a mailing list, upload confidential documents or imply that submission creates an advocate-client relationship.

Form protections

  • Zod server-side validation
  • Honeypot field
  • Per-IP rate limiting
  • 10 KB request-size limit
  • Generic safe errors
  • No form content logged
  • No attachment uploads
  • No automatic CRM forwarding
  • No automatic legal response
  • Graceful failure when email delivery is not configured

Security headers

  • Content-Security-Policy
  • Strict-Transport-Security
  • X-Content-Type-Options
  • Referrer-Policy
  • Permissions-Policy
  • frame-ancestors 'none'

Section 10

Motion and editorial design without excluding users

The project targets WCAG 2.2 AA as a design target. No formal external audit has been conducted, and the project does not claim WCAG certification. The following accessible patterns are implemented throughout:

  • Semantic heading hierarchy with one logical h1 per page
  • Skip-to-content link
  • Keyboard-operable navigation and full-screen index
  • Visible focus treatment on all interactive elements
  • Focus trapping and restoration in the disclaimer dialog
  • Reduced-motion support via prefers-reduced-motion media query
  • Descriptive form errors tied to fields
  • Accessible SVG handling (aria-hidden for decorative, labels for meaningful)
  • No information communicated by colour alone
  • No autoplay audio
  • Responsive text sizing using clamp()
  • No horizontal overflow at common mobile widths (320px through 1440px)

Section 11

The implementation

The website uses a single-route, client-side view-state architecture to create a multi-view editorial experience. This allows fluid transitions between sections without full-page reloads, at the cost of a more complex state management model. Separate server-rendered routes could provide a simpler long-term model for large-scale content growth—this trade-off is acknowledged rather than presented as universally ideal.

Framework

  • Next.js 16 with the App Router
  • React 19
  • TypeScript in strict mode

Styling & interaction

  • Tailwind CSS 4
  • Framer Motion
  • Custom CSS-generated graphics

Procedural visuals

  • Three.js
  • @react-three/fiber
  • @react-three/drei
  • Custom SVG illustration components

Forms & validation

  • React Hook Form
  • Zod
  • Optional Resend email delivery

Content

  • Typed content modules in src/content
  • Central configuration in src/config/site.ts
  • No external CMS

Section 12

Key design decisions

01

Replace stock imagery with procedural systems

This gave the practice an original identity while avoiding generic lawyer portraits, courtrooms, gavels and licensing dependencies.

02

Use an editorial index instead of standard dropdown navigation

The navigation behaves like a publication index and gives every section a clear numerical position.

03

Keep motion quiet

Transitions support hierarchy and orientation rather than constantly demanding attention.

04

Separate draft content from public content

Publishing requires explicit editorial and legal-review states.

05

Make disclaimers part of the experience

Professional boundaries are communicated before the visitor reaches enquiry actions.

06

Build graceful fallbacks

The experience remains usable without WebGL, full motion or configured email delivery.

Section 13

Preserving the editorial rhythm on smaller screens

The responsive implementation makes specific decisions rather than applying a single “fully responsive” label. Oversized headings scale with clamp(). Multi-column grids collapse cleanly. Navigation remains keyboard accessible at every breakpoint. Practice illustrations retain usable proportions. WebGL canvas height and complexity adapt to viewport width. Dense metadata is reorganised instead of simply shrunk. Touch targets retain sufficient size. Marquees and animation respect reduced-motion preferences.

Section 14

One honest trade-off

The most difficult balance was creating a distinctive legal experience without making the interface feel theatrical. The WebGL field, full-screen index and large editorial typography could easily have overpowered the information.

The solution was to limit the number of animated systems, keep transitions measured and ensure every critical action remained available through ordinary semantic interface controls. The visual layer supports the content, but the content does not depend on it.

The single-route view-state structure creates fluid transitions, but separate server-rendered routes could provide a simpler long-term model for large-scale content growth. The current architecture is an intentional choice for this scope, not automatically the best approach for every legal website.

Section 15

The outcome

The completed implementation establishes a coherent digital language for a boutique Indian legal practice without relying on aggressive marketing patterns or invented proof.

It combines an original editorial identity, seven practice-area illustration systems, a procedural WebGL hero, controlled publishing states, accessible interaction patterns and a protected enquiry endpoint in one consistent responsive experience.

Original procedural identity
Seven practice-area visual systems
Controlled perspective publishing
Accessible disclaimer and navigation flows
Protected general-enquiry endpoint
Responsive editorial interface
Documented prelaunch verification process

These are delivered capabilities, not performance metrics.

Section 16

Before production use

The implementation is not a substitute for professional legal review. Before a real practice publishes the website, an enrolled advocate should verify all firm information, practice descriptions, disclaimers, contact details, professional credentials, privacy language and current Bar Council requirements.

Provisional information should remain visibly identified until it has been verified, and no legal perspective should be published solely because it was generated or edited by an automated system.

  • Verify firm name and contact information
  • Verify advocate profiles and enrolment details
  • Review practice-area descriptions
  • Review disclaimer wording
  • Review privacy obligations
  • Confirm applicable State Bar Council requirements
  • Review every legal perspective
  • Configure production email securely
  • Run accessibility and security checks
  • Remove or confirm all provisional content

Need a professional website that must build trust without relying on hype?

I design and build clear, responsive digital experiences for businesses and professional practices that need strong visual identity, careful content structure and production-ready frontend implementation.