Layout · Lattice · Layer · Look · Life · Lens phone / tablet / desk / TV

Atmosphere

Describe the meaning once. Compose how people encounter it. Start with an experience, then adjust its presentation.

Layoutdefault × Latticecontinuous × Layerinline × Lookblueprint × Lifepulse × Lensnone × Spacingcozy Sizem

One document

Keep the meaning. Compose the encounter.

The guide, document and controls keep their identity while their responsibilities are presented as reading, a workspace, or a slide deck.

Explore the CSS composition contract

Choose an experience above, then adjust a policy. Explicit policies stay in effect across experience changes. The full theme drawer remains available for individual dimensions.

Loading the CSS contract. The dimension controls remain available.

Guide navigates document. Axes controls experience. Brand identifies experience. Saved links include these policies as well as the existing composition.

6sheets
8paths
4planes
31looks

Each recipe selects a starting experience using the existing composition attributes. You can adjust its choices afterwards. Their responsibilities are distinct, and their dependencies should be visible.

Meaning before mechanics

One guide, three decisions

The Guide is a semantic subject with a navigation responsibility. Layout assigns the navigator a place, Layer decides whether it stays there or opens on demand, and Lattice defines the path through its chapters. The depth model below implements those choices; it is not vocabulary you need before using them.

Top menu layer-z 4
Edge drawer layer-z 3
Pop-over layer-z 2
Base plane the glass
…and the page page-far

One number, five spenders

Whether a frame is lifted is a yes or a no, but the level it lands on is a distance. Written as a distance, every other sheet can spend it without being told a drawer exists.

Layer
stands the frame that many planes forward
Look
paints that many planes of its own air over the page
Life
times the recede, and the crossing that causes it
Lattice
sets the camera the whole scene is resolved by
Lens
decides how far any of it is allowed to go

camera 900px haze — face-aspect —

Read live out of the cascade, not from a table in the script.

at.layout.css Layout — the plane

Where does each responsibility belong? Bind the navigator, stage and inspector to slots; resolve their arrangement at the available width.

Publish the slot binding. Presence and traversal make their own decisions.

at.layer.css Layer — the stack

What stays, floats, or appears on demand? A projected guide retains its identity while changing its relationship to the document.

Make space retention or release explicit. Publish depth through --layer-z.

at.lattice.css Lattice — the traversal

How do I move through the content? The Guide keeps its paged path when it moves from a rail into a drawer.

The path belongs to its frame. --lattice-axis publishes its direction.

Retain space, or release it.

The floating Brand retains its original place through a spacer, so the composition readout stays beside it. Projected panels release their rail slots. These are different presence policies; each should preserve the meaning and working state of the subject.

The Guide and Axes now have independent presence policies. In the CSS composition contract, set Guide to open on demand while Axes stays embedded. Only the Guide's slot is released. The simple example shows the smaller version.

data-frame

a box content is seen through

data-track

the sequence inside it

data-view

one view in that sequence

--camera

where you stand — Lattice

--layer-z

how many planes forward — Layer

--z

which plane a thing is on

at.lattice.css

Eight paths, running at once

Every cell below is a real frame with its own data-lattice, alive right now. The sheet contains no rule that mentions this gallery, this section, or this page — only a rule about frames, tracks and views. Each path is one way of tying a frame's views together and moving between them; it traverses whichever frame carries it, and the page's own frame is not special.

Control and App differ in one clause: a Control tile divides a glass that never moves, an App panel is a fixed-size tile on a wall that does. Both keep their own overflow — a panel is a frame, and a frame keeps what does not fit.

Those set the path through this page — the same eight rules, applied to the root frame. The gallery keeps its own the whole time.

at.layer.css

On the plane, or above it

What stays in place, floats, or appears on demand? Pick a projection, then open the Guide. Its identity and paged path remain the same. These Layer buttons request the projection for both panels; the CSS contract can override Guide and Axes independently. Embedded relationships keep their own layout slots.

A level is a relationship, so Layer states both ends of it. While a projection is open the page falls back exactly as far as the projection came forward — --page-far is --layer-z pointing the other way. Nothing downstream names a projection, so a fourth one added tomorrow recedes the page today.

The footer is a frame too, and it names the edge it belongs to: data-edge="block-end". The projections that hang furniture off the window — the drawer and the top menu — lift it into a drawer on that edge; a pop-over, which belongs to a trigger, leaves it on the plane. Its own centred layout goes with it either way, because every plane carries its own.

Lattice × Layer inline edge drawer pop-over
continuous an article an article with a nav drawer an article with margin notes
app a fixed workspace a shelf app a workspace with inspectors
control a wall board a console with a drawer a console with detail cards
pages a bound book a book with an index a book with footnotes

These combinations illustrate how presence and traversal can compose. Their responsibilities remain distinct; their dependencies must be made explicit.

at.look.css

Thirty-one looks, one skeleton

A look declares colour, typography, texture and the air between planes. It moves nothing and places nothing. It also declares how wide a character is in the face it just chose — --face-aspect — which is what lets every component solve its own type size in a box a look just made narrower.

compositions

told how wide a character is

compositions

not told

The measure contract

Same word, same box. The only difference is whether the box was told how long the word would be in the face the look just picked. Switch looks above and watch the left one hold while the right one breaks.

This is why a component can solve its own type size at all. It knows the worst case it must hold, in characters; the look knows how wide a character is; the box knows how wide it is. Three numbers, one min(), and no breakpoint anywhere.

Density and size are supporting controls, orthogonal to all six: --density-scale is the reader's air, --lattice-scale is what a path needs, and they multiply.

at.life.css

Motion is a score, not a property

Life animates roles, never elements. The markup says a thing is a surface, a select, a piece of reading, the masthead or a voice; the score decides what those feel like. Nothing on this page carries an animation.

micro-motion How it feels to touch
scroll flow How it feels to travel

Scroll-linked, and scored against the frame's own --flow timeline.

crossing How a projection arrives

The flow names the manner; Layer supplies the distance and the hinge, so one crossing reads at drawer scale and at pop-over scale alike. Pick a projection above and open a panel to feel it.

reduced motion Honoured, not overridden

Every score collapses to its still form under prefers-reduced-motion. Pointer feedback stays, because that is information rather than decoration.

ready

at.lens.css

A chord across the other five

A lens is not a seventh axis. It is a starting position on the other five, chosen for how it should feel to use rather than for how it should look — and it gets out of the way the moment you move an axis yourself. The readout says +2 when two axes have drifted off the seed.

  • Loading… — the psychology notes come from experience_themes.json, so the model is data, not a stylesheet.
Decisions and contracts

One question per responsibility

Give each decision a clear owner. When responsibilities meet, use a semantic address, a shared token, or explicit state. This ledger shows the questions and the dependencies behind the laboratory's implementation.

Sheet Its question Coordinates with Publishes
Layout Where does each responsibility belong? Presence determines which slots remain occupied --grid-areas --grid-cols --layout-gap --content-max --density-scale
Layer What stays, floats, or appears on demand? Layout retains or releases space; Life times the crossing --layer-z --page-far
Lattice How do I move through the content? Layout supplies the frame; Layer determines its presence --lattice-axis --lattice-scale --camera --depth-unit
Look What does it look like? Type and material metrics inform the available space --face-aspect --face-bold --haze
Life How does it respond and change? Layout and Layer supply the geometry and presence --motion-duration --layer-travel --depth-drift
Lens What experience should these choices serve? Seeds choices; explicit adjustments remain possible a seed on the other five

Where a declaration is filed

File a declaration with the decision it serves. The same CSS property can serve different decisions in different contexts; the table below describes this implementation's conventions. Share facts through tokens instead of competing overrides.

Sheet Its space Files
Layout The flat plane, X by Y display: grid | flex, grid-*, flex-*, gap, width, height, min-*, max-*, aspect-ratio, margin, padding, columns
Layer The stack of planes, along z z-index, isolation, position: fixed | absolute | sticky, [popover], ::backdrop, <dialog>, elevation shadow, backdrop-filter, mix-blend-mode, opacity
Lattice Traversal across the stack overflow, scroll-snap-*, scroll() and view() timelines, view-transition-name, perspective, perspective-origin, transform-style, :focus-visible order
Look Surfaces and materials color, background-color, border, border-radius, box-shadow, filter, font-*, text-align, line-height
Life Change over time transition, animation, :hover, :active, :focus, pointer-events
Lens Experience policy Nothing of its own: seeds, defaults and timing for the other five
at.components.css A part's own shape

Intrinsic padding, borders, and the box a part needs to hold its worst-case content. Knows nothing about looks or paths.

at.local.css Quantity at the call site

How many columns, how much gap, which plane. Named steps on scales the axes own — data-gap="open", never a raw length.

the razor How to tell a local from a hardcode

If changing data-look or data-density does not move it, it is not a local. It is a hardcode, and it belongs nowhere.

the markup Declares a semantic contract

An ID addresses an instance; a class names a kind. data-place names responsibility, data-part its constituents, and data-role a shared presentation responsibility.

Name the meaning. Compose the encounter.

A kind declares its meaningful parts. The concern sheets compose against those stable addresses, rather than hiding unrelated decisions in one class.

Publish release notes

The same task can be read, inspected, or presented.

Kind: release-task · Role: surface · Parts: title, summary
/* Layout arranges this kind's own parts. */
.experiment > [data-part="demonstration"] { grid-area: demonstration; }
.experiment > [data-part="controls"] { grid-area: controls; }
/* Look publishes tokens; shared role paint consumes them. */

The same subject and input remain across swaps. This note is a session-only native draft; changing presentation does not save it elsewhere.

One component, five owners

A tab set nobody owns outright

Tabs are usually shipped as a component with variants. Here the same markup is filed like everything else: each sheet writes its own slice and none of them knows the others' answers. Move the list with data-tabs, then change a Look or a Life — the tab set follows without being told.

What exists

A tablist, six tabs and six panels, paired by aria-controls. No class or attribute in the markup says top, side, selected colour or animation — so no later choice has to undo one.

role="tablist" role="tab" role="tabpanel" aria-controls data-role="select"
Adopt

The whole contract, in one skeleton

Eight link tags and a document that names its frames. Everything on this page follows from that; nothing below is a component library.

<link rel="stylesheet" href="css/at.components.css">
<link rel="stylesheet" href="css/at.layout.css">
<link rel="stylesheet" href="css/at.lattice.css">
<link rel="stylesheet" href="css/at.layer.css">
<link rel="stylesheet" href="css/at.look.css">
<link rel="stylesheet" href="css/at.life.css">
<link rel="stylesheet" href="css/at.lens.css">
<link rel="stylesheet" href="css/at.local.css">   <!-- last, unlayered -->

<body class="Layout"
      data-layout="default" data-lattice="app" data-layer="top-left-edge-drawer"
      data-look="tux" data-life="pulse" data-lens="none">

  <header class="Header" data-place="toolbar" data-role="masthead">…</header>

  <main data-identity="document" data-place="stage" data-frame="root">                <!-- takes the root lattice -->
    <div data-track>
      <section data-view="stage">…</section>
      <section data-view>…</section>
    </div>
  </main>

  <aside class="Sidebar" data-identity="guide" data-place="navigator"
         data-frame data-lattice="pages" data-layer-panel>
    <div class="panel-track" data-track>
      <section data-view>…</section>
    </div>
  </aside>

  <footer class="Footer">…</footer>
</body>
Addressable

Every composition is in the URL. #at=… is the compact form; the long named form stays readable forever, and old links canonicalize.

Progressive

Without script the page keeps its complete inline structure. Projections are an enhancement; a control for a missing capability stays hidden.

Operable

A paced frame is focusable and answers arrows, Page keys and Home / End. Tabs are the full ARIA pattern. Nothing is mouse-only.

Printable

Whatever the six say on screen, print returns one complete paged document with every frame flattened and in order.