228 lines
6.5 KiB
CSS
228 lines
6.5 KiB
CSS
/* Hallmark · shape: Narrative Workflow (draw cf1b96) · genre: editorial · theme: Studio (deal 1/3, seed photo-editing-tools-web-9d55·b0c4e30f·2026-11-06·r0) · redesign: full
|
|||
|
|
* hero: Counter · nav: banner over a retracting bar · footer: statement · imagery: photographs · signature: crop-marked before-after studio loupe
|
||
|
|
* axes: light/roman-serif/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
|
||
|
|
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V4 · weakest: V, photo tools often default to generic dark neon; took cool studio-white proof paper with cadmium orange */
|
||
|
|
@import url("./tokens.css");
|
||
|
|
@import url("./base.css");
|
||
|
|
@import url("https://fonts.googleapis.com/css2?family=Hedvig+Letters+Serif:[email protected]&family=Geist:wght@300;400;500;600;700&display=swap");
|
||
|
|
|
||
@tailwind base;
|
|||
|
|
@tailwind components;
|
||
|
|
@tailwind utilities;
|
||
|
|
|
||
@layer base {
|
|||
|
|
:root {
|
||
--color-primary: var(--color-accent);
|
|||
|
|
--color-primary-hover: var(--color-accent-hi);
|
||
|
|
--color-primary-light: var(--color-accent-soft);
|
||
|
|
--color-surface: var(--color-paper);
|
||
|
|
--color-surface-subtle: var(--color-paper-2);
|
||
|
|
--color-surface-card: var(--color-paper-hi);
|
||
|
|
--theme-radius: 3px;
|
||
|
|
--theme-max-width: 1440px;
|
||
|
|
--font-sans: var(--font-body);
|
||
|
|
--font-serif: var(--font-display);
|
||
}
|
|||
|
|
|
||
html, body {
|
|||
|
|
overflow-x: clip;
|
||
}
|
|||
|
|
|
||
html {
|
|||
scroll-behavior: smooth;
|
|||
background-color: var(--color-paper);
|
|||
|
|
color: var(--color-ink);
|
||
}
|
|||
|
|
|
||
/* Lenis integration */
|
|||
html.lenis,
|
|||
|
|
html.lenis body {
|
||
|
|
height: auto;
|
||
|
|
scroll-behavior: auto !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.lenis.lenis-smooth {
|
||
|
|
scroll-behavior: auto !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.lenis.lenis-smooth [data-lenis-prevent] {
|
||
|
|
overscroll-behavior: contain;
|
||
|
|
}
|
||
|
|
|
||
|
|
.lenis.lenis-stopped {
|
||
|
|
overflow: clip;
|
||
|
|
}
|
||
|
|
|
||
body {
|
|||
|
|
color: var(--color-ink);
|
||
|
|
background-color: var(--color-paper);
|
||
|
|
font-family: var(--font-body);
|
||
|
|
font-size: var(--text-md);
|
||
|
|
line-height: 1.55;
|
||
|
|
-webkit-font-smoothing: antialiased;
|
||
|
|
text-rendering: optimizeLegibility;
|
||
}
|
|||
|
|
|
||
::selection {
|
|||
|
|
background: color-mix(in oklab, var(--color-accent) 24%, transparent);
|
||
|
|
color: var(--color-ink);
|
||
|
|
}
|
||
|
|
|
||
|
|
:focus-visible {
|
||
|
|
outline: 2px solid var(--color-focus);
|
||
|
|
outline-offset: 2px;
|
||
}
|
|||
|
|
|
||
|
|
h1, h2, h3, h4, .font-display {
|
||
font-family: var(--font-display);
|
|||
|
|
color: var(--color-ink);
|
||
|
|
letter-spacing: var(--tracking-display);
|
||
|
|
font-weight: var(--display-weight, 400);
|
||
|
|
font-synthesis: none;
|
||
|
|
overflow-wrap: break-word;
|
||
|
|
min-width: 0;
|
||
}
|
|||
}
|
|||
|
|
|
||
/* Studio Theme Components & Craft Rules */
|
|||
|
|
.studio-proof-grid {
|
||
|
|
background-image: radial-gradient(circle at 1px 1px, var(--color-dot) 1px, transparent 0);
|
||
|
|
background-size: 24px 24px;
|
||
}
|
|||
|
|
|
||
/* Crop marks for tactile proof sheet framing */
|
|||
|
|
.crop-marked {
|
||
position: relative;
|
|||
|
|
}
|
||
|
|
|
||
.crop-marked::before {
|
|||
content: "";
|
|||
|
|
position: absolute;
|
||
inset: -6px;
|
|||
pointer-events: none;
|
|||
background:
|
|||
|
|
linear-gradient(to right, var(--color-mark) 1px, transparent 1px) 0 0 / 12px 1px no-repeat,
|
||
|
|
linear-gradient(to bottom, var(--color-mark) 1px, transparent 1px) 0 0 / 1px 12px no-repeat,
|
||
|
|
linear-gradient(to left, var(--color-mark) 1px, transparent 1px) 100% 0 / 12px 1px no-repeat,
|
||
|
|
linear-gradient(to bottom, var(--color-mark) 1px, transparent 1px) 100% 0 / 1px 12px no-repeat,
|
||
|
|
linear-gradient(to right, var(--color-mark) 1px, transparent 1px) 0 100% / 12px 1px no-repeat,
|
||
|
|
linear-gradient(to top, var(--color-mark) 1px, transparent 1px) 0 100% / 1px 12px no-repeat,
|
||
|
|
linear-gradient(to left, var(--color-mark) 1px, transparent 1px) 100% 100% / 12px 1px no-repeat,
|
||
|
|
linear-gradient(to top, var(--color-mark) 1px, transparent 1px) 100% 100% / 1px 12px no-repeat;
|
||
z-index: 2;
|
|||
}
|
|||
|
|
|
||
/* Clean sheet container */
|
|||
|
|
.studio-sheet {
|
||
|
|
background: var(--color-paper-hi);
|
||
|
|
border: var(--rule-hair) solid var(--color-rule);
|
||
|
|
border-radius: var(--radius-card);
|
||
|
|
box-shadow: var(--shadow-sheet);
|
||
|
|
transition-property: border-color, box-shadow;
|
||
|
|
transition-duration: var(--dur-short);
|
||
|
|
transition-timing-function: var(--ease-out);
|
||
}
|
|||
|
|
|
||
.studio-sheet:hover {
|
|||
|
|
border-color: color-mix(in oklab, var(--color-ink) 25%, var(--color-rule));
|
||
}
|
|||
|
|
|
||
/* Buttons adhering to Floor rule 1, 2, 7a, 10a */
|
|||
|
|
.btn-primary {
|
||
display: inline-flex;
|
|||
align-items: center;
|
|||
|
|
justify-content: center;
|
||
|
|
gap: var(--space-xs);
|
||
|
|
padding: var(--space-sm) var(--space-lg);
|
||
|
|
font-family: var(--font-body);
|
||
|
|
font-size: var(--text-sm);
|
||
|
|
font-weight: 500;
|
||
|
|
color: var(--color-accent-ink);
|
||
|
|
background-color: var(--color-accent);
|
||
|
|
border: var(--rule-hair) solid var(--color-accent);
|
||
|
|
border-radius: var(--radius-pill);
|
||
|
|
cursor: pointer;
|
||
|
|
text-decoration: none;
|
||
|
|
transition-property: background-color, border-color, transform;
|
||
|
|
transition-duration: var(--dur-micro);
|
||
|
|
transition-timing-function: var(--ease-out);
|
||
}
|
|||
|
|
|
||
.btn-primary:hover {
|
|||
|
|
background-color: var(--color-accent-hi);
|
||
|
|
border-color: var(--color-accent-hi);
|
||
transform: translateY(-1px);
|
|||
}
|
|||
|
|
|
||
.btn-primary:active,
|
|||
|
|
.btn-secondary:active,
|
||
|
|
button:active {
|
||
|
|
transform: translateY(0);
|
||
}
|
|||
|
|
|
||
button:disabled,
|
|||
|
|
.btn-primary:disabled,
|
||
|
|
.btn-secondary:disabled,
|
||
|
|
[aria-disabled="true"] {
|
||
|
|
opacity: 0.5;
|
||
|
|
cursor: not-allowed;
|
||
|
|
transform: none;
|
||
}
|
|||
|
|
|
||
.btn-secondary {
|
|||
|
|
display: inline-flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
gap: var(--space-xs);
|
||
|
|
padding: var(--space-sm) var(--space-lg);
|
||
|
|
font-family: var(--font-body);
|
||
|
|
font-size: var(--text-sm);
|
||
|
|
font-weight: 500;
|
||
|
|
color: var(--color-ink);
|
||
|
|
background-color: var(--color-paper-hi);
|
||
|
|
border: var(--rule-hair) solid var(--color-rule);
|
||
|
|
border-radius: var(--radius-pill);
|
||
|
|
cursor: pointer;
|
||
|
|
text-decoration: none;
|
||
|
|
transition-property: background-color, border-color, transform;
|
||
|
|
transition-duration: var(--dur-micro);
|
||
|
|
transition-timing-function: var(--ease-out);
|
||
}
|
|||
|
|
|
||
.btn-secondary:hover {
|
|||
|
|
background-color: var(--color-paper-2);
|
||
|
|
border-color: var(--color-ink-2);
|
||
|
|
transform: translateY(-1px);
|
||
}
|
|||
|
|
|
||
/* Labels adhering to Gate 9 & Gate 67: body face, smaller, sentence case, untracked */
|
|||
|
|
.studio-label {
|
||
|
|
font-family: var(--font-body);
|
||
|
|
font-size: var(--text-xs);
|
||
|
|
font-weight: 500;
|
||
|
|
color: var(--color-muted);
|
||
|
|
text-transform: none;
|
||
|
|
letter-spacing: normal;
|
||
}
|
|||
|
|
|
||
/* Accessible skip link */
|
|||
.skip-link {
|
|||
position: absolute;
|
|||
|
|
top: -100px;
|
||
|
|
left: var(--space-md);
|
||
|
|
padding: var(--space-sm) var(--space-md);
|
||
|
|
background: var(--color-ink);
|
||
|
|
color: var(--color-paper);
|
||
|
|
font-size: var(--text-sm);
|
||
|
|
font-weight: 500;
|
||
|
|
z-index: var(--z-tooltip);
|
||
|
|
border-radius: var(--radius-card);
|
||
|
|
text-decoration: none;
|
||
|
|
transition-property: top;
|
||
|
|
transition-duration: var(--dur-short);
|
||
}
|
|||
|
|
|
||
.skip-link:focus {
|
|||
top: var(--space-md);
|
|||
}
|