- Renamed the title to "Design Language Reference" for clarity. - Enhanced the CSS variables for color palette, typography, and layout, introducing new design tokens. - Improved accessibility features with focus states and hover effects. - Added new sections for motion principles and interaction demos. - Included multiple new screenshots to showcase design updates. This commit refines the design system, ensuring a cohesive and accessible user experience.
935 lines
38 KiB
HTML
935 lines
38 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>United Tattoo — Design Language Reference</title>
|
|
<meta name="description"
|
|
content="A living style brief for United Tattoo: targets, palette, typography, layout, and interaction rules expressed in a single immersive page.">
|
|
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap"
|
|
rel="stylesheet">
|
|
|
|
<style>
|
|
/* ------------------------------------------------------------------
|
|
1. DESIGN TOKENS (Strictly sourced from design.json)
|
|
------------------------------------------------------------------ */
|
|
:root {
|
|
/* Palette - Primary */
|
|
--burnt-orange: #E67E50;
|
|
--burnt-orange-rgb: 230, 126, 80;
|
|
--terracotta: #D87850;
|
|
--terracotta-rgb: 216, 120, 80;
|
|
--burnt: #b0471e;
|
|
--burnt-rgb: 176, 71, 30;
|
|
|
|
/* Palette - Secondary */
|
|
--sage-concrete: #7A8B8B;
|
|
--sage-concrete-rgb: 122, 139, 139;
|
|
--sage: #a28f79;
|
|
--deep-olive: #4a4034;
|
|
--moss: #6f5c49;
|
|
|
|
/* Palette - Neutral */
|
|
--charcoal: #1c1915;
|
|
--ink: #241b16;
|
|
--ink-rgb: 36, 27, 22;
|
|
--cream: #fff7ec;
|
|
--sand: #f2e3d0;
|
|
--sand-rgb: 242, 227, 208;
|
|
--white: #ffffff;
|
|
--white-rgb: 255, 255, 255;
|
|
|
|
/* Palette - Semantic */
|
|
--rose: #e59863;
|
|
/* Alert/Focus */
|
|
|
|
/* Spacing & Layout */
|
|
--container-padding: clamp(1.5rem, 4vw, 5rem);
|
|
--section-gap: clamp(3.5rem, 6vw, 6rem);
|
|
--sticky-offset: clamp(3.5rem, 8vw, 6rem);
|
|
--max-width: 1600px;
|
|
|
|
/* Animation */
|
|
--ease-out-smooth: cubic-bezier(0.215, 0.61, 0.355, 1);
|
|
/* Custom ease-out */
|
|
--transition-fast: 0.2s ease;
|
|
--transition-normal: 0.3s ease;
|
|
--transition-slow: 0.8s var(--ease-out-smooth);
|
|
|
|
/* Shadows (Bloom System) */
|
|
--shadow-subtle: 0 4px 12px rgba(31, 27, 23, 0.08);
|
|
--shadow-md: 0 12px 28px rgba(31, 27, 23, 0.1);
|
|
--shadow-lg: 0 20px 40px rgba(36, 27, 22, 0.15);
|
|
--shadow-bloom: 0 32px 60px rgba(31, 27, 23, 0.2);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------
|
|
2. GLOBAL RESET & BASE STYLES
|
|
------------------------------------------------------------------ */
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
font-size: 16px;
|
|
/* Base size */
|
|
color: var(--ink);
|
|
background-color: var(--sand);
|
|
/* Texture Layer 1: Sun-washed Gradient */
|
|
background: linear-gradient(180deg, var(--sage-concrete) 0%, #9CAAA6 45%, var(--sand) 100%);
|
|
min-height: 100vh;
|
|
line-height: 1.6;
|
|
overflow-x: hidden;
|
|
/* Prevent horizontal scroll from full-bleed neg margins */
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/* Texture Layer 2: Noise/Grain Overlay */
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
background:
|
|
radial-gradient(circle at 15% 20%, rgba(var(--terracotta-rgb), 0.15), transparent 45%),
|
|
radial-gradient(circle at 85% 5%, rgba(var(--ink-rgb), 0.08), transparent 55%);
|
|
opacity: 0.8;
|
|
z-index: -2;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Texture Layer 3: Technical Grid (Drafting Table feel) */
|
|
body::after {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 200 200" fill="none" stroke="rgba(28, 25, 21, 0.06)" stroke-width="0.5"><path d="M0 0h200v200H0z"/><path d="M-10 20h220"/><path d="M-10 60h220"/><path d="M-10 100h220"/><path d="M-10 140h220"/><path d="M-10 180h220"/><path d="M20 -10v220"/><path d="M60 -10v220"/><path d="M100 -10v220"/><path d="M140 -10v220"/><path d="M180 -10v220"/></svg>');
|
|
mix-blend-mode: multiply;
|
|
opacity: 1;
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
/* Focus States (Accessibility) */
|
|
:focus-visible {
|
|
outline: 2px solid var(--rose);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
/* ------------------------------------------------------------------
|
|
3. TYPOGRAPHY (Sculptural & Etched)
|
|
------------------------------------------------------------------ */
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
.display-font {
|
|
font-family: 'Playfair Display', serif;
|
|
font-weight: 400;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Fluid Typography Scales */
|
|
.hero-title {
|
|
font-size: clamp(2.5rem, 5vw, 3.8rem);
|
|
/* 6xl */
|
|
line-height: 1.1;
|
|
letter-spacing: -0.02em;
|
|
margin-bottom: 1.2rem;
|
|
}
|
|
|
|
h2 {
|
|
font-size: clamp(1.9rem, 4vw, 3rem);
|
|
/* 5xl */
|
|
line-height: 1.15;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 0.95rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.2em;
|
|
color: var(--moss);
|
|
margin-bottom: 0.8rem;
|
|
}
|
|
|
|
.eyebrow,
|
|
.section-label {
|
|
font-size: 0.75rem;
|
|
/* xs/sm */
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.3em;
|
|
color: var(--moss);
|
|
font-weight: 600;
|
|
display: block;
|
|
margin-bottom: 0.8rem;
|
|
}
|
|
|
|
.lead {
|
|
font-size: clamp(0.95rem, 2vw, 1.3rem);
|
|
color: rgba(31, 27, 23, 0.75);
|
|
max-width: 54ch;
|
|
line-height: 1.65;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.metadata {
|
|
font-size: 0.7rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.25em;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* ------------------------------------------------------------------
|
|
4. LAYOUT PRIMITIVES
|
|
------------------------------------------------------------------ */
|
|
.site-shell {
|
|
width: 100%;
|
|
max-width: var(--max-width);
|
|
margin: 0 auto;
|
|
padding: 0 var(--container-padding) 4rem;
|
|
}
|
|
|
|
.section {
|
|
margin-top: var(--section-gap);
|
|
position: relative;
|
|
}
|
|
|
|
/* Full Bleed Utility with Negative Margin Calculation */
|
|
.full-bleed {
|
|
width: 100vw;
|
|
margin-left: calc(50% - 50vw);
|
|
margin-right: calc(50% - 50vw);
|
|
}
|
|
|
|
.grid-two {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
|
gap: 1.8rem;
|
|
}
|
|
|
|
/* The Sticky Split Layout */
|
|
.sticky-split {
|
|
display: grid;
|
|
grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1fr);
|
|
gap: clamp(1.5rem, 4vw, 4rem);
|
|
}
|
|
|
|
.sticky-column {
|
|
position: sticky;
|
|
top: 5rem;
|
|
align-self: start;
|
|
}
|
|
|
|
/* ------------------------------------------------------------------
|
|
5. HERO SECTION
|
|
------------------------------------------------------------------ */
|
|
header.hero {
|
|
position: relative;
|
|
min-height: 70vh;
|
|
/* slightly taller for drama */
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
/* Background setup */
|
|
background-image: url('./public/images/UP1_00010_.png');
|
|
background-size: cover;
|
|
background-position: center top;
|
|
/* Masking for the "Fade" effect */
|
|
-webkit-mask-image: linear-gradient(180deg, black 60%, transparent 100%);
|
|
mask-image: linear-gradient(180deg, black 60%, transparent 100%);
|
|
}
|
|
|
|
/* Hero Parallax Layer */
|
|
.hero-bg-layer {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 0;
|
|
}
|
|
|
|
/* The Frosted Glass Card */
|
|
.hero-overlay {
|
|
position: relative;
|
|
z-index: 2;
|
|
width: min(620px, 90vw);
|
|
padding: clamp(2rem, 4vw, 3.5rem);
|
|
|
|
/* Glassmorphism Specs */
|
|
background: rgba(var(--sand-rgb), 0.85);
|
|
border-radius: 24px;
|
|
border: 1px solid rgba(var(--ink-rgb), 0.08);
|
|
box-shadow: var(--shadow-lg);
|
|
backdrop-filter: blur(12px) saturate(110%);
|
|
|
|
text-align: center;
|
|
}
|
|
|
|
/* ------------------------------------------------------------------
|
|
6. COMPONENTS
|
|
------------------------------------------------------------------ */
|
|
|
|
/* --- Buttons --- */
|
|
.demo-btn {
|
|
appearance: none;
|
|
border: none;
|
|
border-radius: 12px;
|
|
padding: 1rem 1.6rem;
|
|
font-family: inherit;
|
|
font-size: 0.85rem;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.2em;
|
|
cursor: pointer;
|
|
transition: transform var(--transition-fast), box-shadow var(--transition-fast);
|
|
}
|
|
|
|
.demo-btn.primary {
|
|
background: var(--burnt);
|
|
color: var(--white);
|
|
box-shadow: 0 10px 22px rgba(var(--burnt-rgb), 0.25);
|
|
}
|
|
|
|
.demo-btn.secondary {
|
|
background: var(--terracotta);
|
|
color: var(--white);
|
|
box-shadow: 0 10px 22px rgba(var(--terracotta-rgb), 0.25);
|
|
}
|
|
|
|
.demo-btn.ghost {
|
|
background: var(--sand);
|
|
border: 1px solid rgba(var(--ink-rgb), 0.2);
|
|
color: var(--ink);
|
|
}
|
|
|
|
/* Interaction: Scale & Bloom */
|
|
.demo-btn:hover {
|
|
transform: translateY(-1px) scale(1.03);
|
|
}
|
|
|
|
.demo-btn.primary:hover {
|
|
box-shadow: 0 14px 28px rgba(var(--burnt-rgb), 0.35);
|
|
/* Bloom */
|
|
}
|
|
|
|
.demo-btn.secondary:hover {
|
|
box-shadow: 0 14px 28px rgba(var(--terracotta-rgb), 0.35);
|
|
/* Bloom */
|
|
}
|
|
|
|
/* --- Cards --- */
|
|
.data-card {
|
|
background: linear-gradient(135deg, rgba(var(--sand-rgb), 0.95), rgba(255, 247, 236, 0.9));
|
|
border-radius: 22px;
|
|
padding: 1.8rem;
|
|
border: 1px solid rgba(var(--sage-concrete-rgb), 0.2);
|
|
box-shadow: var(--shadow-xl);
|
|
}
|
|
|
|
/* --- Swatches --- */
|
|
.swatches {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
gap: 1.5rem;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.swatch {
|
|
border-radius: 24px;
|
|
padding: 1.6rem;
|
|
color: white;
|
|
min-height: 220px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
box-shadow: var(--shadow-subtle);
|
|
transition: transform var(--transition-fast);
|
|
}
|
|
|
|
.swatch:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
/* --- Forms --- */
|
|
.form-demo {
|
|
border-radius: 22px;
|
|
padding: 2.2rem 2.5rem;
|
|
background: linear-gradient(135deg, rgba(var(--sand-rgb), 0.9), rgba(255, 255, 255, 0.95));
|
|
border: 1px solid rgba(var(--terracotta-rgb), 0.2);
|
|
box-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.form-field input,
|
|
.form-field textarea {
|
|
width: 100%;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(var(--terracotta-rgb), 0.25);
|
|
padding: 1rem 1.2rem;
|
|
font-family: inherit;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
transition: all var(--transition-fast);
|
|
}
|
|
|
|
.form-field input:focus,
|
|
.form-field textarea:focus {
|
|
outline: none;
|
|
background: #fff;
|
|
border-color: var(--terracotta);
|
|
box-shadow: 0 0 0 3px rgba(var(--terracotta-rgb), 0.2);
|
|
/* Glow */
|
|
}
|
|
|
|
/* --- Calendar --- */
|
|
.calendar-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
gap: 6px;
|
|
}
|
|
|
|
.calendar-day {
|
|
aspect-ratio: 1;
|
|
border-radius: 8px;
|
|
background: rgba(255, 255, 255, 0.6);
|
|
display: grid;
|
|
place-items: center;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.calendar-day.is-booked {
|
|
background: var(--terracotta);
|
|
color: white;
|
|
box-shadow: 0 4px 10px rgba(var(--terracotta-rgb), 0.3);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------
|
|
7. FILMSTRIP (Horizontal Scroll)
|
|
------------------------------------------------------------------ */
|
|
.filmstrip-container {
|
|
height: 300vh;
|
|
/* Determines scroll length */
|
|
position: relative;
|
|
}
|
|
|
|
.filmstrip-sticky-window {
|
|
position: sticky;
|
|
top: 0;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.02) 50%, rgba(0, 0, 0, 0) 100%);
|
|
}
|
|
|
|
.filmstrip-track {
|
|
display: flex;
|
|
gap: clamp(1rem, 2vw, 2rem);
|
|
padding-left: 10vw;
|
|
/* Initial offset */
|
|
will-change: transform;
|
|
}
|
|
|
|
.filmstrip-item {
|
|
flex: 0 0 auto;
|
|
width: clamp(400px, 60vw, 800px);
|
|
aspect-ratio: 4/5;
|
|
border-radius: 32px;
|
|
background-size: cover;
|
|
background-position: center;
|
|
position: relative;
|
|
box-shadow: var(--shadow-filmic, 0 40px 70px rgba(31, 27, 23, 0.25));
|
|
}
|
|
|
|
.filmstrip-item::after {
|
|
content: attr(data-label);
|
|
position: absolute;
|
|
left: 2rem;
|
|
bottom: 2rem;
|
|
font-family: 'Space Grotesk';
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.25em;
|
|
color: rgba(255, 255, 255, 0.95);
|
|
font-size: 0.75rem;
|
|
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.progress-rail {
|
|
position: absolute;
|
|
bottom: 3rem;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 200px;
|
|
height: 2px;
|
|
background: rgba(var(--ink-rgb), 0.1);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-bar {
|
|
height: 100%;
|
|
width: 100%;
|
|
background: linear-gradient(90deg, var(--burnt), var(--rose));
|
|
transform-origin: left;
|
|
transform: scaleX(0);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------
|
|
8. ANIMATION UTILITIES
|
|
------------------------------------------------------------------ */
|
|
.reveal {
|
|
opacity: 0;
|
|
transform: translateY(60px);
|
|
transition: opacity var(--transition-slow), transform var(--transition-slow);
|
|
}
|
|
|
|
.reveal.is-visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.stagger-parent .reveal {
|
|
transition-delay: 100ms;
|
|
}
|
|
|
|
/* Specific Stagger delays */
|
|
.stagger-1 {
|
|
transition-delay: 0ms !important;
|
|
}
|
|
|
|
.stagger-2 {
|
|
transition-delay: 100ms !important;
|
|
}
|
|
|
|
.stagger-3 {
|
|
transition-delay: 200ms !important;
|
|
}
|
|
|
|
/* ------------------------------------------------------------------
|
|
9. RESPONSIVE BREAKPOINTS
|
|
------------------------------------------------------------------ */
|
|
@media (max-width: 720px) {
|
|
:root {
|
|
--container-padding: 1.5rem;
|
|
}
|
|
|
|
.sticky-split,
|
|
.swap-content-track,
|
|
.sticky-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.sticky-column,
|
|
.sticky-panel {
|
|
position: static;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
header.hero {
|
|
min-height: 50vh;
|
|
background-position: center;
|
|
}
|
|
|
|
.filmstrip-container {
|
|
height: auto;
|
|
}
|
|
|
|
.filmstrip-sticky-window {
|
|
position: relative;
|
|
height: auto;
|
|
padding: 4rem 0;
|
|
}
|
|
|
|
.filmstrip-track {
|
|
overflow-x: auto;
|
|
padding: 0 var(--container-padding);
|
|
scroll-snap-type: x mandatory;
|
|
}
|
|
|
|
.filmstrip-item {
|
|
scroll-snap-align: center;
|
|
width: 85vw;
|
|
}
|
|
|
|
.progress-rail {
|
|
display: none;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header class="hero full-bleed">
|
|
<div class="hero-bg-layer" data-parallax="0.12"></div>
|
|
<div class="hero-overlay reveal">
|
|
<span class="eyebrow">United Tattoo</span>
|
|
<h1 class="hero-title">Design Language Reference</h1>
|
|
<p class="lead" style="margin: 0 auto;">A living style guide documenting color, typography, components, and
|
|
interaction patterns.</p>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="site-shell">
|
|
|
|
<div class="filmstrip-container full-bleed" id="immersion">
|
|
<div class="filmstrip-sticky-window">
|
|
<div style="text-align: center; margin-bottom: 2rem; padding: 0 1.5rem;">
|
|
<span class="section-label">01 • Immersion Gallery</span>
|
|
<h2>Sunbleached walls & charcoal studies.</h2>
|
|
</div>
|
|
<div class="filmstrip-track">
|
|
<div class="filmstrip-item" style="background-image: url('./public/images/UP1_00007_.png');"
|
|
data-label="Monument Prep"></div>
|
|
<div class="filmstrip-item" style="background-image: url('./public/images/UP1_00009_.png');"
|
|
data-label="Avian Story"></div>
|
|
<div class="filmstrip-item" style="background-image: url('./public/images/UP1_00010_.png');"
|
|
data-label="Architectural Study"></div>
|
|
<div class="filmstrip-item" style="background-image: url('./public/images/UP1_00018_.png');"
|
|
data-label="Liberty Detail"></div>
|
|
<div class="filmstrip-item" style="background-image: url('./public/images/0_1.png');"
|
|
data-label="Warm Plaster"></div>
|
|
<div class="filmstrip-item" style="background-image: url('./public/images/0_3.png');"
|
|
data-label="Shadow Glyph"></div>
|
|
</div>
|
|
<div class="progress-rail">
|
|
<div class="progress-bar"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<section class="section" id="identity">
|
|
<div class="sticky-split">
|
|
<aside class="sticky-column reveal">
|
|
<span class="section-label">02 • Brand Identity</span>
|
|
<h2>Color, typography, and materiality echo sun-washed plaster.</h2>
|
|
<p class="lead">Think plaster walls catching a diagonal slice of afternoon light—burnt oranges,
|
|
desaturated greens, and charcoal blacks. Typography feels like museum placards.</p>
|
|
</aside>
|
|
|
|
<div class="content-stack" style="display: grid; gap: 2rem;">
|
|
|
|
<article class="data-card reveal stagger-1">
|
|
<div style="display: flex; justify-content: space-between; align-items: baseline;">
|
|
<h3>Color Language</h3>
|
|
<span class="metadata">Ratio — 60 / 25 / 15</span>
|
|
</div>
|
|
<p style="margin-bottom: 2rem; color: rgba(var(--ink-rgb), 0.7);">Primary palette blends burnt
|
|
oranges with sage concrete.</p>
|
|
|
|
<div class="swatches">
|
|
<div class="swatch" style="background: var(--burnt-orange);">
|
|
<div>
|
|
<strong style="font-size: 1.2rem;">#E67E50</strong>
|
|
<div style="opacity: 0.9;">Burnt Orange</div>
|
|
</div>
|
|
<span class="metadata">Hero Gradients</span>
|
|
</div>
|
|
<div class="swatch" style="background: var(--terracotta);">
|
|
<div>
|
|
<strong style="font-size: 1.2rem;">#D87850</strong>
|
|
<div style="opacity: 0.9;">Terracotta</div>
|
|
</div>
|
|
<span class="metadata">Interaction</span>
|
|
</div>
|
|
<div class="swatch" style="background: var(--sage-concrete);">
|
|
<div>
|
|
<strong style="font-size: 1.2rem;">#7A8B8B</strong>
|
|
<div style="opacity: 0.9;">Sage Concrete</div>
|
|
</div>
|
|
<span class="metadata">Backgrounds</span>
|
|
</div>
|
|
<div class="swatch" style="background: var(--charcoal);">
|
|
<div>
|
|
<strong style="font-size: 1.2rem;">#1C1915</strong>
|
|
<div style="opacity: 0.9;">Charcoal</div>
|
|
</div>
|
|
<span class="metadata">Ink & Type</span>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
|
|
<article class="data-card reveal stagger-2" style="background: rgba(255,255,255,0.6);">
|
|
<h3>Typography</h3>
|
|
<div style="display: grid; gap: 1.5rem; margin-top: 1.5rem;">
|
|
<div
|
|
style="padding: 1.5rem; border: 1px dashed rgba(var(--sage-concrete-rgb), 0.4); border-radius: 12px;">
|
|
<span class="section-label">Display / Headlines</span>
|
|
<div
|
|
style="font-family: 'Playfair Display'; font-size: 2.5rem; line-height: 1.1; margin-top: 0.5rem;">
|
|
Playfair Display<br>
|
|
<span style="font-size: 1.5rem; color: var(--burnt);">Sculptural Statements</span>
|
|
</div>
|
|
</div>
|
|
<div
|
|
style="padding: 1.5rem; border: 1px dashed rgba(var(--sage-concrete-rgb), 0.4); border-radius: 12px;">
|
|
<span class="section-label">Body / Interface</span>
|
|
<p
|
|
style="font-family: 'Space Grotesk'; font-size: 1rem; margin-top: 0.5rem; max-width: 40ch;">
|
|
Space Grotesk. Used for body copy and interface elements. Quiet, generous tracking,
|
|
always legible on textured backgrounds.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<hr style="border: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--ink-rgb), 0.15), transparent); margin: 4rem 0;"
|
|
class="reveal" />
|
|
|
|
<section class="section" id="components">
|
|
<div style="text-align: center; margin-bottom: 3rem;" class="reveal">
|
|
<span class="section-label">03 • Interface Components</span>
|
|
<h2>Micro-interactions that feel tactile.</h2>
|
|
</div>
|
|
|
|
<div class="grid-two">
|
|
<div class="reveal stagger-1">
|
|
<p class="eyebrow" style="margin-bottom: 1.5rem; color: var(--ink);">Action Hierarchy</p>
|
|
<div style="display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem;">
|
|
<button class="demo-btn primary">Primary</button>
|
|
<button class="demo-btn secondary">Secondary</button>
|
|
<button class="demo-btn ghost">Ghost Link</button>
|
|
</div>
|
|
|
|
<p class="eyebrow" style="margin-bottom: 1.5rem; color: var(--ink);">Toast States</p>
|
|
<div style="display: grid; gap: 1rem;">
|
|
<div
|
|
style="display: flex; gap: 1rem; align-items: center; padding: 1rem; background: var(--sage); color: white; border-radius: 14px; box-shadow: var(--shadow-md);">
|
|
<div
|
|
style="background: rgba(255,255,255,0.2); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px;">
|
|
✓</div>
|
|
<div>
|
|
<strong style="display: block; font-size: 0.9rem;">Deposit Received</strong>
|
|
<span style="font-size: 0.8rem; opacity: 0.9;">Confirmation sent to email.</span>
|
|
</div>
|
|
</div>
|
|
<div
|
|
style="display: flex; gap: 1rem; align-items: center; padding: 1rem; background: var(--rose); color: white; border-radius: 14px; box-shadow: var(--shadow-md);">
|
|
<div
|
|
style="background: rgba(255,255,255,0.2); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px;">
|
|
!</div>
|
|
<div>
|
|
<strong style="display: block; font-size: 0.9rem;">Waitlist Update</strong>
|
|
<span style="font-size: 0.8rem; opacity: 0.9;">Feb 2026 books just opened.</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="reveal stagger-2">
|
|
<form class="form-demo">
|
|
<span class="eyebrow" style="color: var(--ink); margin-bottom: 1.5rem;">Booking Request</span>
|
|
|
|
<div class="form-field" style="margin-bottom: 1rem;">
|
|
<label class="section-label" style="font-size: 0.7rem;">Full Name</label>
|
|
<input type="text" placeholder="Eden Morales">
|
|
</div>
|
|
|
|
<div class="form-field" style="margin-bottom: 1rem;">
|
|
<label class="section-label" style="font-size: 0.7rem;">Concept Notes</label>
|
|
<textarea rows="3" placeholder="Large scale back piece..."></textarea>
|
|
</div>
|
|
|
|
<div
|
|
style="background: rgba(var(--sand-rgb), 0.5); padding: 1rem; border-radius: 12px; margin-top: 1.5rem;">
|
|
<span class="section-label" style="margin-bottom: 0.5rem;">Availability • Feb 2026</span>
|
|
<div class="calendar-grid">
|
|
<div class="calendar-day is-booked">10</div>
|
|
<div class="calendar-day">11</div>
|
|
<div class="calendar-day">12</div>
|
|
<div class="calendar-day">13</div>
|
|
<div class="calendar-day is-booked">14</div>
|
|
<div class="calendar-day">15</div>
|
|
<div class="calendar-day">16</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="section" id="layout" style="margin-top: 6rem;">
|
|
<div class="reveal">
|
|
<span class="section-label">04 • Layout & Pacing</span>
|
|
<h2>Structure mirrors gallery pacing: spacious, staggered, editorial.</h2>
|
|
</div>
|
|
|
|
<div style="display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem;"
|
|
class="stagger-parent">
|
|
<figure class="reveal stagger-1" style="margin: 0;">
|
|
<div
|
|
style="aspect-ratio: 3/4; background: #ddd; border-radius: 28px; overflow: hidden; margin-bottom: 1rem; box-shadow: var(--shadow-lg);">
|
|
<img src="./public/images/UP1_00007_.png" alt="Layout"
|
|
style="width: 100%; height: 100%; object-fit: cover;">
|
|
</div>
|
|
<figcaption class="metadata">Hero Canvas • Diptych Pacing</figcaption>
|
|
</figure>
|
|
<figure class="reveal stagger-2" style="margin: 0; transform: translateY(3rem);">
|
|
<div
|
|
style="aspect-ratio: 3/4; background: #ddd; border-radius: 28px; overflow: hidden; margin-bottom: 1rem; box-shadow: var(--shadow-lg);">
|
|
<img src="./public/images/UP1_00009_.png" alt="Layout"
|
|
style="width: 100%; height: 100%; object-fit: cover;">
|
|
</div>
|
|
<figcaption class="metadata">Artist Card • Chip Layout</figcaption>
|
|
</figure>
|
|
<figure class="reveal stagger-3" style="margin: 0;">
|
|
<div
|
|
style="aspect-ratio: 3/4; background: #ddd; border-radius: 28px; overflow: hidden; margin-bottom: 1rem; box-shadow: var(--shadow-lg);">
|
|
<img src="./public/images/UP1_00014_.png" alt="Layout"
|
|
style="width: 100%; height: 100%; object-fit: cover;">
|
|
</div>
|
|
<figcaption class="metadata">Lookbook • Stagger Grid</figcaption>
|
|
</figure>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="section" id="motion" style="margin-top: 8rem;">
|
|
<div class="sticky-split">
|
|
<div class="sticky-column reveal">
|
|
<span class="section-label">05 • Motion Principles</span>
|
|
<h2>Every movement should feel deliberate, like brush strokes.</h2>
|
|
<div style="margin-top: 2rem;">
|
|
<div
|
|
style="padding: 1.5rem; background: white; border-radius: 18px; box-shadow: var(--shadow-subtle); margin-bottom: 1rem;">
|
|
<strong style="color: var(--burnt);">0.8s Ease-Out</strong>
|
|
<p style="font-size: 0.9rem; margin: 0.5rem 0 0;">Used for reveals. Slow entrance, smooth
|
|
settling.</p>
|
|
</div>
|
|
<div
|
|
style="padding: 1.5rem; background: white; border-radius: 18px; box-shadow: var(--shadow-subtle);">
|
|
<strong style="color: var(--terracotta);">50ms Stagger</strong>
|
|
<p style="font-size: 0.9rem; margin: 0.5rem 0 0;">Creates a "walking past paintings" effect.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="display: grid; gap: 2rem;">
|
|
<article class="data-card reveal" style="padding: 3rem;">
|
|
<h3>Interaction Demo</h3>
|
|
<p>Hover the elements below to see the "Shadow Bloom" and "Scale" effects.</p>
|
|
|
|
<div style="margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem;">
|
|
<div>
|
|
<span class="metadata" style="display: block; margin-bottom: 0.5rem;">Link Underline
|
|
Draw</span>
|
|
<a href="#"
|
|
style="position: relative; font-size: 1.2rem; display: inline-block; padding-bottom: 2px;">
|
|
Visit the Studio
|
|
<span
|
|
style="position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--burnt); transform: scaleX(1); transform-origin: left; transition: transform 0.3s ease;"></span>
|
|
</a>
|
|
</div>
|
|
|
|
<div>
|
|
<span class="metadata" style="display: block; margin-bottom: 0.5rem;">Card Lift</span>
|
|
<div style="padding: 1.5rem; background: #fff; border-radius: 12px; box-shadow: var(--shadow-subtle); transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: default;"
|
|
onmouseover="this.style.transform='translateY(-4px)'; this.style.boxShadow='var(--shadow-bloom)'"
|
|
onmouseout="this.style.transform='none'; this.style.boxShadow='var(--shadow-subtle)'">
|
|
<strong>Hover Me</strong>
|
|
<p style="margin: 0.5rem 0 0; font-size: 0.9rem; opacity: 0.7;">Simulates lifting an
|
|
object off the table.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<footer
|
|
style="margin-top: 6rem; padding: 4rem 0; text-align: center; border-top: 1px solid rgba(var(--ink-rgb), 0.1);">
|
|
<span class="metadata">United Tattoo • Living Style Brief • Updated Quarterly</span>
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
<script>
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
|
|
// 1. Reveal on Scroll (Intersection Observer)
|
|
const revealObserver = new IntersectionObserver((entries) => {
|
|
entries.forEach(entry => {
|
|
if (entry.isIntersecting) {
|
|
entry.target.classList.add('is-visible');
|
|
revealObserver.unobserve(entry.target); // Only trigger once
|
|
}
|
|
});
|
|
}, {threshold: 0.15, rootMargin: "0px 0px -50px 0px"});
|
|
|
|
document.querySelectorAll('.reveal').forEach(el => revealObserver.observe(el));
|
|
|
|
// 2. Parallax Effect (RequestAnimationFrame for 60fps)
|
|
const heroLayer = document.querySelector('.hero-bg-layer');
|
|
const parallaxFactor = 0.12;
|
|
let lastScrollY = window.scrollY;
|
|
|
|
function updateParallax() {
|
|
const scrollY = window.scrollY;
|
|
if (scrollY < window.innerHeight) {
|
|
heroLayer.style.transform = `translateY(${scrollY * parallaxFactor}px)`;
|
|
}
|
|
lastScrollY = scrollY;
|
|
requestAnimationFrame(updateParallax);
|
|
}
|
|
requestAnimationFrame(updateParallax);
|
|
|
|
// 3. Filmstrip Scroll (Calculated Math)
|
|
const container = document.querySelector('.filmstrip-container');
|
|
const track = document.querySelector('.filmstrip-track');
|
|
const progressBar = document.querySelector('.progress-bar');
|
|
|
|
// Only run filmstrip logic on desktop/tablet where height is controlled
|
|
if (window.matchMedia("(min-width: 721px)").matches) {
|
|
function updateFilmstrip() {
|
|
const rect = container.getBoundingClientRect();
|
|
const viewHeight = window.innerHeight;
|
|
const containerHeight = rect.height;
|
|
|
|
// Calculate progress (0 to 1) based on how far we've scrolled into the container
|
|
// We start calculating when the top of the container hits the top of viewport
|
|
let progress = -rect.top / (containerHeight - viewHeight);
|
|
|
|
// Clamp 0-1
|
|
progress = Math.min(Math.max(progress, 0), 1);
|
|
|
|
// Calculate translateX
|
|
// Total scrollable width = track width - viewport width
|
|
const trackWidth = track.scrollWidth;
|
|
const maxTranslate = trackWidth - window.innerWidth;
|
|
|
|
track.style.transform = `translateX(${-maxTranslate * progress}px)`;
|
|
progressBar.style.transform = `scaleX(${progress})`;
|
|
|
|
requestAnimationFrame(updateFilmstrip);
|
|
}
|
|
requestAnimationFrame(updateFilmstrip);
|
|
}
|
|
|
|
});
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|