File size: 12,084 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 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 | /* ============================================================
Tamga studio landing — section styles.
Imported by: TestimonialSection, PricingSection,
TestimonialCarousel, ProjectsSection, PartnerSection.
All classes are .st- prefixed and render under .studio-lp.
Palette: ink #051A24 · ink-2 #0D212C · muted #273C46
· light-on-dark #F6FCFF / #E0EBF0 · white background.
============================================================ */
/* ---------- Shared big-title type (32/40/44, lh 1.1, tight) ---------- */
.st-section-title {
font-size: 32px;
line-height: 1.1;
letter-spacing: -0.02em;
color: #0D212C;
font-weight: 500;
margin: 0;
}
@media (min-width: 640px) { .st-section-title { font-size: 40px; } }
@media (min-width: 768px) { .st-section-title { font-size: 44px; } }
/* ============================================================
TESTIMONIAL QUOTE SECTION (.st-quote*)
============================================================ */
.st-quote {
padding: 48px 24px;
max-width: 672px; /* max-w-2xl */
margin: 0 auto;
text-align: center;
}
.st-quote-icon {
display: inline-flex;
color: #0D212C;
margin-bottom: 16px;
}
.st-quote-text { margin-bottom: 20px; }
.st-quote-author {
font-style: italic;
font-size: 14px;
color: #273C46;
margin: 0 0 36px;
}
.st-quote-words {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: baseline;
gap: 24px 48px;
margin-bottom: 44px;
}
.st-quote-word {
font-size: 24px;
font-weight: 500;
color: #0D212C;
}
.st-quote-figure { margin: 0; }
/* Parallax wrapper around the report DocCard (transform set by rAF in JS). */
.st-quote-card {
width: 100%;
max-width: 320px; /* max-w-xs */
margin: 0 auto;
text-align: left;
will-change: transform;
}
/* ============================================================
PRICING (.st-pricing*, .st-price-*)
============================================================ */
.st-pricing { padding: 48px 24px; }
.st-pricing-wrap {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: flex-end; /* right-aligned wrapper on desktop */
}
.st-pricing-grid {
width: 100%;
max-width: 896px; /* max-w-4xl */
display: grid;
grid-template-columns: 1fr;
gap: 32px;
}
@media (min-width: 768px) { .st-pricing-grid { grid-template-columns: 1fr 1fr; } }
.st-price-card {
border-radius: 40px;
padding: 12px 40px 40px;
display: flex;
flex-direction: column;
}
@media (min-width: 768px) { .st-price-card { padding-right: 96px; } }
.st-price-card--dark {
background: #051A24;
color: #F6FCFF;
box-shadow: inset 0 2px 12px rgba(255, 255, 255, 0.22), 0 4px 16px rgba(5, 26, 36, 0.18);
}
.st-price-card--light {
background: #ffffff;
color: #0D212C;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.st-price-title {
font-size: 22px;
font-weight: 500;
margin: 28px 0 8px;
}
.st-price-desc {
font-size: 14px;
line-height: 1.6;
margin: 0 0 28px;
}
.st-price-card--dark .st-price-desc { color: #E0EBF0; }
.st-price-card--light .st-price-desc { color: #273C46; }
.st-price-amount { font-size: 24px; font-weight: 500; margin: 0; }
.st-price-period { font-size: 14px; margin: 4px 0 28px; }
.st-price-card--dark .st-price-period { color: #E0EBF0; }
.st-price-card--light .st-price-period { color: #273C46; }
.st-price-actions {
margin-top: auto;
display: flex;
flex-wrap: wrap;
gap: 12px;
}
/* ============================================================
TESTIMONIAL CAROUSEL (.st-carousel, .st-car-*)
============================================================ */
.st-carousel {
padding: 80px 0;
overflow: hidden;
}
.st-car-head {
max-width: 896px; /* md:max-w-4xl ml-auto */
margin: 0 auto 12px;
padding: 0 24px;
display: flex;
flex-direction: column;
gap: 16px;
}
@media (min-width: 768px) {
.st-car-head {
margin: 0 0 12px auto;
flex-direction: row;
align-items: flex-end;
justify-content: space-between;
}
}
.st-car-strip {
font-size: 13px;
letter-spacing: 0.02em;
color: #273C46;
white-space: nowrap;
padding-bottom: 6px;
}
.st-car-note {
max-width: 896px;
margin: 0 auto 36px;
padding: 0 24px;
font-size: 12px;
color: #273C46;
}
@media (min-width: 768px) { .st-car-note { margin: 0 0 36px auto; } }
.st-car-viewport { padding-left: 24px; }
.st-car-track {
display: flex;
gap: 24px;
will-change: transform;
transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.st-car-track--still { transition: none; }
.st-car-card {
flex: 0 0 auto;
width: calc(100vw - 48px);
background: #ffffff;
border-radius: 32px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
padding: 32px 24px;
display: flex;
flex-direction: column;
gap: 20px;
}
@media (min-width: 768px) {
.st-car-card {
width: 427.5px;
border-radius: 40px;
padding: 32px 96px 32px 40px;
}
}
.st-car-quotemark { color: #0D212C; }
.st-car-quote {
font-size: 16px;
line-height: 1.6;
color: #0D212C;
margin: 0;
}
.st-car-author {
margin-top: auto;
display: flex;
align-items: center;
gap: 12px;
}
/* Initials monogram circles (no stock photos). */
.st-car-avatar {
width: 48px;
height: 48px;
border-radius: 50%;
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 14px;
font-weight: 500;
letter-spacing: 0.04em;
}
.st-car-avatar--ink {
background: rgba(5, 26, 36, 0.07);
color: #051a24;
}
.st-car-avatar--teal {
background: rgba(14, 124, 123, 0.12);
color: #0b5f5e;
}
.st-car-name {
font-size: 14px;
font-weight: 600;
color: #051A24;
}
.st-car-role { font-size: 14px; color: #273C46; }
.st-car-controls {
max-width: 1200px;
margin: 32px auto 0;
padding: 0 24px;
display: flex;
gap: 12px;
}
.st-car-btn {
width: 48px;
height: 48px;
border-radius: 50%;
border: 1px solid rgba(13, 33, 44, 0.2);
background: #ffffff;
color: #0D212C;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
padding: 0;
transition: background 0.2s ease;
}
.st-car-btn:hover { background: rgba(13, 33, 44, 0.06); }
.st-car-btn:focus-visible { outline: 2px solid #051A24; outline-offset: 2px; }
.st-car-btn--prev .ico { transform: rotate(180deg); }
/* ============================================================
PROJECTS (.st-projects, .st-project-*)
============================================================ */
.st-projects {
max-width: 1200px;
margin: 0 auto;
padding: 48px 24px;
display: flex;
flex-direction: column;
gap: 64px;
}
@media (min-width: 768px) { .st-projects { gap: 80px; } }
.st-project-text {
max-width: 560px;
margin-left: 0;
}
@media (min-width: 768px) { .st-project-text { margin-left: 80px; } }
@media (min-width: 1024px) { .st-project-text { margin-left: 112px; } }
.st-project-name {
font-size: 24px;
font-weight: 600;
color: #051A24;
margin: 0 0 8px;
}
@media (min-width: 768px) { .st-project-name { font-size: 30px; } }
.st-project-desc {
font-size: 14px;
line-height: 1.65;
color: #273C46; /* muted, WCAG AA on white */
margin: 0;
}
@media (min-width: 768px) { .st-project-desc { font-size: 16px; } }
/* Light grid panel staging 1–2 DocCard mockups per capability. */
.st-project-visual {
margin-top: 24px;
border-radius: 16px;
overflow: hidden;
background-color: #f3f8fa;
background-image:
linear-gradient(rgba(13, 33, 44, 0.045) 1px, transparent 1px),
linear-gradient(90deg, rgba(13, 33, 44, 0.045) 1px, transparent 1px);
background-size: 28px 28px;
box-shadow:
0 0 0 0.5px rgba(5, 26, 36, 0.06),
0 10px 15px -3px rgba(0, 0, 0, 0.06),
0 4px 6px -4px rgba(0, 0, 0, 0.06);
padding: 32px 20px;
}
@media (min-width: 768px) {
.st-project-visual { padding: 56px 32px; }
}
.st-project-stage {
position: relative;
display: flex;
justify-content: center;
align-items: center;
min-height: 240px;
}
@media (min-width: 768px) {
.st-project-stage { min-height: 320px; }
}
.st-stage-card { flex: 0 0 auto; }
/* Packet audit: packing list tucked behind, audit report in front.
Mobile: deck-style heavy overlap so both cards stay readable-width;
from 768px they sit side by side with a slight overlap. */
.st-stage--audit .st-stage-card--back {
width: 72%;
transform: rotate(-4deg) translateY(-10px);
margin-right: -50%;
z-index: 1;
}
.st-stage--audit .st-stage-card--front {
width: 78%;
transform: rotate(2.5deg) translateY(12px);
z-index: 2;
}
/* Ask with citations: single answer card, centered. */
.st-stage--ask .st-stage-card--solo {
width: min(360px, 86%);
transform: rotate(-1.5deg);
}
/* Evidence reports: report front-left, stamped certificate behind right. */
.st-stage--evidence .st-stage-card--front {
width: 78%;
transform: rotate(-2.5deg) translateY(12px);
margin-right: -50%;
z-index: 2;
}
.st-stage--evidence .st-stage-card--back {
width: 72%;
transform: rotate(4deg) translateY(-10px);
z-index: 1;
}
@media (min-width: 768px) {
.st-stage--audit .st-stage-card--back {
width: min(300px, 58%);
margin-right: -13%;
}
.st-stage--audit .st-stage-card--front {
width: min(320px, 62%);
}
.st-stage--evidence .st-stage-card--front {
width: min(320px, 62%);
margin-right: -13%;
}
.st-stage--evidence .st-stage-card--back {
width: min(300px, 58%);
}
}
/* ============================================================
PARTNER SECTION (.st-partner*, mouse-trail .st-trail-card)
============================================================ */
.st-partner { padding: 48px 24px; }
.st-partner-box {
position: relative;
overflow: hidden;
max-width: 1280px; /* max-w-7xl */
margin: 0 auto;
background: #ffffff;
border-radius: 40px;
box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.05), 0 4px 30px rgba(0, 0, 0, 0.08);
padding: 96px 24px;
text-align: center;
}
@media (min-width: 768px) { .st-partner-box { padding: 192px 24px; } }
.st-partner-h {
position: relative;
z-index: 2;
font-size: 48px;
line-height: 1.05;
letter-spacing: -0.02em;
font-weight: 600;
color: #0D212C;
margin: 0 0 48px;
}
@media (min-width: 768px) { .st-partner-h { font-size: 64px; } }
@media (min-width: 1024px) { .st-partner-h { font-size: 80px; } }
.st-partner-cta {
position: relative;
z-index: 2;
display: inline-flex;
}
/* Reshape the shared primary button into an avatar pill without
touching the Button contract (no className prop). */
.st-partner-cta .st-btn {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 8px 28px 8px 8px;
}
/* Tamga logomark in a dark circle inside the CTA pill. */
.st-partner-avatar {
width: 40px;
height: 40px;
border-radius: 50%;
flex: 0 0 auto;
display: inline-flex;
align-items: center;
justify-content: center;
background: #0d212c;
box-shadow: inset 0 0 0 1px rgba(246, 252, 255, 0.22);
color: #f6fcff;
}
/* Hidden DocCard prototypes the mouse-trail clones from. */
.st-trail-pool { display: none; }
/* Mouse-trail mini DocCards (spawned by PartnerSection JS): a full card
rendered at 236px and scaled to ~120px so it keeps its proportions. */
.st-trail-card {
position: absolute;
z-index: 1;
width: 236px;
pointer-events: none;
transform: translate(-50%, -50%) rotate(var(--st-rot, 0deg)) scale(0.52);
animation: st-trail-fade 1s ease-out forwards;
}
@keyframes st-trail-fade {
0% {
opacity: 1;
transform: translate(-50%, -50%) rotate(var(--st-rot, 0deg)) scale(0.52);
}
100% {
opacity: 0;
transform: translate(-50%, -50%) rotate(var(--st-rot, 0deg)) scale(0.42);
}
}
/* ============================================================
REDUCED MOTION — kill section animations (JS also guards)
============================================================ */
@media (prefers-reduced-motion: reduce) {
.st-car-track { transition: none !important; }
.st-car-btn { transition: none; }
.st-trail-card { animation: none !important; display: none !important; }
.st-quote-card { transform: none !important; will-change: auto; }
}
|