File size: 6,564 Bytes
373030b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 | /* ============================================================
Tamga studio landing — foundation (SHARED CONTRACT)
Scope: everything lives under .studio-lp so the app UI keeps Geist.
Palette: ink #051A24 · secondary #0D212C · muted #273C46
light-on-dark #F6FCFF / #E0EBF0 · background white.
============================================================ */
/* ---------- Fonts ---------- */
/* NOTE (license): PP Neue Montreal is a commercial Pangram Pangram font and is
NOT in the repo. Drop the licensed files into
frontend/public/PPNeueMontreal-Book.woff2 and
frontend/public/PPNeueMontreal-Medium.woff2 — until then the body gracefully
falls back to the system sans stack. No third-party hotlinking. */
@font-face {
font-family: "PP Neue Montreal";
src: url("/PPNeueMontreal-Book.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "PP Neue Montreal";
src: url("/PPNeueMontreal-Medium.woff2") format("woff2");
font-weight: 500;
font-style: normal;
font-display: swap;
}
/* NOTE (license): PPMondwest-Regular.woff2 is NOT in the repo yet.
Drop the licensed file into frontend/public/PPMondwest-Regular.woff2 —
until then the serif stack gracefully falls back to
"Playfair Display Variable" / Georgia / serif. */
@font-face {
font-family: "PP Mondwest";
src: url("/PPMondwest-Regular.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
/* ---------- Root ---------- */
.studio-lp {
background: #ffffff;
color: #051a24;
/* Geist Variable (already self-hosted by the app) carries the type until the
licensed PP Neue Montreal is dropped in — a designed sans, never Segoe UI. */
font-family: "PP Neue Montreal", "Geist Variable", -apple-system,
BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
font-weight: 400;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
min-height: 100vh;
overflow-x: hidden;
/* Marketing UI text is not a document — don't let it read as selectable/removable. */
-webkit-user-select: none;
user-select: none;
}
.studio-lp input,
.studio-lp textarea,
.studio-lp [contenteditable="true"] {
-webkit-user-select: text;
user-select: text;
}
.studio-lp * {
box-sizing: border-box;
}
.studio-lp img {
max-width: 100%;
}
/* Serif accent (PP Mondwest with graceful fallback) */
.st-serif {
font-family: "PP Mondwest", "Playfair Display Variable", Georgia, serif;
font-weight: 400;
}
/* Monospace accent (hero tagline etc.) */
.st-mono {
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
"Liberation Mono", monospace;
}
/* ---------- Accessibility: skip-link + focus rings ---------- */
.st-skip-link {
position: absolute;
left: -9999px;
top: 0;
z-index: 100;
background: #051a24;
color: #f6fcff;
padding: 10px 20px;
border-radius: 0 0 12px 0;
font-size: 14px;
text-decoration: none;
}
.st-skip-link:focus {
left: 0;
}
.studio-lp a:focus-visible,
.studio-lp button:focus-visible,
.st-skip-link:focus-visible {
outline: 2px solid #051a24;
outline-offset: 2px;
}
/* Focus ring must stay visible on dark surfaces */
.studio-lp .st-btn--primary:focus-visible {
outline: 2px solid #051a24;
outline-offset: 3px;
}
/* ---------- Buttons (spec shadows verbatim) ---------- */
.st-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 28px;
border: none;
border-radius: 9999px;
font-family: inherit;
font-size: 14px;
font-weight: 500;
line-height: 1.2;
letter-spacing: 0.01em;
cursor: pointer;
text-decoration: none;
white-space: nowrap;
transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.st-btn--primary {
background: #051a24;
color: #f6fcff;
box-shadow:
0 1px 2px 0 rgba(5, 26, 36, 0.1),
0 4px 4px 0 rgba(5, 26, 36, 0.09),
0 9px 6px 0 rgba(5, 26, 36, 0.05),
0 17px 7px 0 rgba(5, 26, 36, 0.01),
0 26px 7px 0 rgba(5, 26, 36, 0),
inset 0 2px 8px 0 rgba(255, 255, 255, 0.5);
}
.st-btn--primary:hover {
transform: translateY(-1px);
}
.st-btn--secondary {
background: #ffffff;
color: #051a24;
box-shadow:
0 0 0 0.5px rgba(0, 0, 0, 0.05),
0 4px 30px rgba(0, 0, 0, 0.08);
}
.st-btn--secondary:hover {
transform: translateY(-1px);
}
/* Tertiary: white bg + combined (primary layers + secondary) shadow */
.st-btn--tertiary {
background: #ffffff;
color: #051a24;
box-shadow:
0 0 0 0.5px rgba(0, 0, 0, 0.05),
0 4px 30px rgba(0, 0, 0, 0.08),
0 1px 2px 0 rgba(5, 26, 36, 0.1),
0 4px 4px 0 rgba(5, 26, 36, 0.09),
0 9px 6px 0 rgba(5, 26, 36, 0.05),
0 17px 7px 0 rgba(5, 26, 36, 0.01),
0 26px 7px 0 rgba(5, 26, 36, 0),
inset 0 2px 8px 0 rgba(255, 255, 255, 0.5);
}
.st-btn--tertiary:hover {
transform: translateY(-1px);
}
.st-btn:active {
transform: translateY(0);
}
/* ---------- Scroll-reveal (useInViewAnimation consumers) ---------- */
.st-hidden {
opacity: 0;
}
@keyframes st-fade-in-up {
0% {
opacity: 0;
transform: translateY(30px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
.st-fade-up {
animation: st-fade-in-up 0.8s ease-out forwards;
opacity: 0;
}
/* ---------- Marquee (translateX 0 -> -50%; 10s mobile / 30s desktop) ---------- */
@keyframes st-marquee {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}
.st-marquee {
overflow: hidden;
width: 100%;
}
.st-marquee__track {
display: flex;
width: max-content;
animation: st-marquee 10s linear infinite;
will-change: transform;
}
@media (min-width: 768px) {
.st-marquee__track {
animation-duration: 30s;
}
}
/* ---------- Reduced motion: kill ALL landing animation ---------- */
@media (prefers-reduced-motion: reduce) {
.studio-lp *,
.studio-lp *::before,
.studio-lp *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
/* Content revealed by useInViewAnimation must never stay invisible */
.studio-lp .st-hidden {
opacity: 1;
}
.studio-lp .st-fade-up {
animation: none !important;
opacity: 1;
transform: none;
}
.studio-lp .st-marquee__track {
animation: none !important;
transform: none;
}
.studio-lp .st-btn:hover,
.studio-lp .st-btn:active {
transform: none;
}
}
|