Files
robertseares/frontend/app/globals.css
a2a-platform 195a793bfa deploy
2026-06-11 22:13:07 +00:00

587 lines
9.6 KiB
CSS

@import "tailwindcss";
:root {
color-scheme: light;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: #f7f3ea;
color: #171512;
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
min-height: 100vh;
background:
linear-gradient(90deg, rgba(23, 21, 18, 0.055) 1px, transparent 1px),
linear-gradient(180deg, rgba(23, 21, 18, 0.045) 1px, transparent 1px),
#f7f3ea;
background-size: 56px 56px;
}
body::selection {
background: #d7f4df;
color: #111;
}
main {
overflow: hidden;
}
a {
color: inherit;
text-decoration: none;
}
h1,
h2,
h3,
p {
margin-top: 0;
}
p {
color: #514b41;
font-size: 18px;
line-height: 1.7;
}
.topbar {
position: fixed;
top: 18px;
left: 50%;
z-index: 20;
width: min(1120px, calc(100% - 40px));
height: 54px;
transform: translateX(-50%);
border: 1px solid rgba(255, 255, 255, 0.36);
border-radius: 8px;
background: rgba(21, 24, 23, 0.76);
backdrop-filter: blur(16px);
color: #fffaf2;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 0 10px 0 14px;
box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}
.brand {
width: 34px;
height: 34px;
border-radius: 6px;
background: #dfffe7;
color: #111;
display: grid;
place-items: center;
font-size: 13px;
font-weight: 900;
}
.nav-links,
.language-switch {
display: flex;
align-items: center;
gap: 4px;
}
.nav-links a,
.language-switch a,
.language-switch span {
border-radius: 6px;
padding: 9px 11px;
color: rgba(255, 250, 242, 0.82);
font-size: 13px;
font-weight: 750;
}
.nav-links a:hover,
.language-switch a:hover {
background: rgba(255, 255, 255, 0.1);
color: #fff;
}
.language-switch {
border-left: 1px solid rgba(255, 255, 255, 0.16);
padding-left: 8px;
}
.language-switch span {
background: rgba(223, 255, 231, 0.16);
color: #dfffe7;
}
.hero {
min-height: 100svh;
padding: 108px 28px 46px;
display: flex;
align-items: flex-end;
background:
linear-gradient(90deg, rgba(16, 16, 14, 0.82), rgba(16, 16, 14, 0.38) 46%, rgba(16, 16, 14, 0.12)),
linear-gradient(180deg, rgba(16, 16, 14, 0.14), rgba(247, 243, 234, 0.12) 72%, #f7f3ea 100%),
var(--hero-image);
background-position: center;
background-size: cover;
}
.hero-panel {
width: min(1120px, 100%);
margin: 0 auto;
padding-bottom: clamp(28px, 7vh, 86px);
}
.eyebrow {
margin-bottom: 14px;
color: #167861;
font-size: 12px;
font-weight: 900;
letter-spacing: 0;
text-transform: uppercase;
}
.hero .eyebrow {
color: #a8ffd4;
}
h1 {
max-width: 1040px;
margin-bottom: 24px;
color: #fffaf2;
font-size: clamp(72px, 12vw, 172px);
font-weight: 900;
line-height: 0.82;
letter-spacing: 0;
overflow-wrap: anywhere;
text-wrap: balance;
}
h2 {
margin-bottom: 20px;
color: #1b1915;
font-size: clamp(38px, 5vw, 72px);
font-weight: 880;
line-height: 0.96;
letter-spacing: 0;
text-wrap: balance;
}
h3 {
margin-bottom: 8px;
color: #1c1a17;
font-size: 26px;
line-height: 1.05;
letter-spacing: 0;
}
.lede {
max-width: 760px;
margin-bottom: 18px;
color: #e9fff2;
font-size: clamp(28px, 4vw, 52px);
line-height: 1.06;
font-weight: 850;
text-wrap: balance;
}
.intro {
max-width: 820px;
margin-bottom: 0;
color: rgba(255, 250, 242, 0.84);
font-size: 20px;
line-height: 1.65;
}
.stats-strip {
width: min(1120px, calc(100% - 56px));
margin: -42px auto 0;
position: relative;
z-index: 4;
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
border: 1px solid rgba(23, 21, 18, 0.12);
border-radius: 8px;
background: rgba(255, 253, 248, 0.92);
backdrop-filter: blur(14px);
box-shadow: 0 24px 80px rgba(30, 25, 15, 0.16);
}
.stats-strip div {
min-height: 132px;
padding: 24px;
display: grid;
align-content: end;
border-right: 1px solid rgba(23, 21, 18, 0.1);
}
.stats-strip div:last-child {
border-right: 0;
}
.stats-strip strong {
color: #15130f;
font-size: clamp(28px, 4vw, 44px);
line-height: 1;
}
.stats-strip span {
margin-top: 8px;
color: #696054;
font-size: 14px;
font-weight: 750;
}
.section {
width: min(1120px, calc(100% - 56px));
margin: 0 auto;
padding: 112px 0;
}
.intro-section,
.focus-section,
.building,
.interests {
display: grid;
grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
gap: 70px;
align-items: start;
}
.section-kicker {
position: sticky;
top: 96px;
}
.large-copy p,
.large-copy {
color: #3d382f;
font-size: clamp(21px, 2vw, 28px);
line-height: 1.55;
}
.large-copy p:last-child {
margin-bottom: 0;
}
.large-copy.compact {
margin-bottom: 34px;
}
.timeline-section {
padding: 24px 28px 112px;
}
.timeline {
width: min(1120px, 100%);
margin: 0 auto;
border-top: 1px solid rgba(23, 21, 18, 0.16);
}
.timeline article {
display: grid;
grid-template-columns: 150px 1fr;
gap: 32px;
padding: 30px 0;
border-bottom: 1px solid rgba(23, 21, 18, 0.16);
}
.timeline span {
color: #0e755d;
font-size: 13px;
font-weight: 900;
text-transform: uppercase;
}
.timeline p {
max-width: 760px;
margin-bottom: 0;
}
.question-band {
padding: 120px 28px;
background:
linear-gradient(120deg, rgba(13, 72, 61, 0.95), rgba(22, 22, 18, 0.96)),
#17231f;
}
.question-band > div {
width: min(980px, 100%);
margin: 0 auto;
}
.question-band .eyebrow {
color: #9dffd0;
}
.question-band h2 {
color: #fffaf2;
font-size: clamp(42px, 6vw, 82px);
}
.question-band p {
max-width: 760px;
margin-bottom: 0;
color: #dbe8df;
}
.pill-grid,
.interest-grid {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.pill-grid span,
.interest-grid span {
border: 1px solid rgba(23, 21, 18, 0.16);
border-radius: 8px;
background: rgba(255, 253, 248, 0.78);
padding: 12px 14px;
color: #25221d;
font-size: 15px;
font-weight: 800;
box-shadow: 0 10px 30px rgba(39, 31, 18, 0.06);
}
.beliefs {
width: min(1120px, calc(100% - 56px));
margin: 0 auto;
display: grid;
grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
gap: 1px;
background: rgba(23, 21, 18, 0.14);
border: 1px solid rgba(23, 21, 18, 0.14);
border-radius: 8px;
overflow: hidden;
}
.beliefs article {
padding: clamp(30px, 5vw, 58px);
background: #fffdf8;
}
.belief-primary {
min-height: 560px;
display: grid;
align-content: space-between;
}
.belief-primary p:last-child {
max-width: 720px;
margin-bottom: 0;
font-size: 21px;
}
.belief-list {
background: #e8efe7 !important;
}
.belief-list ul {
margin: 34px 0 0;
padding: 0;
list-style: none;
}
.belief-list li {
border-top: 1px solid rgba(23, 21, 18, 0.18);
padding: 17px 0;
color: #1c1a17;
font-size: 18px;
font-weight: 900;
}
.building {
align-items: end;
}
.build-copy h2 {
margin-bottom: 0;
}
.life-band {
width: min(1120px, calc(100% - 56px));
margin: 0 auto;
padding: 56px;
border-radius: 8px;
background:
linear-gradient(90deg, rgba(247, 243, 234, 0.9), rgba(247, 243, 234, 0.62)),
var(--life-image);
background-position: center;
background-size: cover;
display: grid;
grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
gap: 56px;
box-shadow: 0 24px 90px rgba(33, 29, 20, 0.14);
}
.life-band p:last-child {
margin-bottom: 0;
color: #2f2a22;
font-size: 21px;
}
.interest-grid {
align-content: start;
}
.connect {
width: min(1120px, calc(100% - 56px));
margin: 0 auto 72px;
padding: clamp(38px, 6vw, 72px);
border-radius: 8px;
background:
linear-gradient(135deg, rgba(11, 48, 42, 0.98), rgba(18, 18, 15, 0.98)),
#171512;
color: #fffaf2;
}
.connect .eyebrow {
color: #9dffd0;
}
.connect h2 {
max-width: 980px;
color: #fffaf2;
}
.connect p {
max-width: 760px;
margin-bottom: 0;
color: #d8d0c3;
font-size: 21px;
}
@media (max-width: 900px) {
.topbar {
top: 10px;
width: calc(100% - 24px);
}
.nav-links a,
.language-switch a,
.language-switch span {
padding: 9px 7px;
font-size: 12px;
}
.hero {
min-height: 92svh;
padding: 94px 20px 34px;
}
h1 {
font-size: clamp(58px, 18vw, 96px);
}
.intro {
font-size: 17px;
}
.stats-strip {
width: calc(100% - 40px);
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stats-strip div {
min-height: 116px;
border-bottom: 1px solid rgba(23, 21, 18, 0.1);
}
.stats-strip div:nth-child(2n) {
border-right: 0;
}
.stats-strip div:nth-last-child(-n + 2) {
border-bottom: 0;
}
.section,
.beliefs,
.life-band,
.connect {
width: calc(100% - 40px);
}
.section {
padding: 76px 0;
}
.intro-section,
.focus-section,
.building,
.interests,
.beliefs,
.life-band {
grid-template-columns: 1fr;
gap: 30px;
}
.section-kicker {
position: static;
}
.timeline-section,
.question-band {
padding-right: 20px;
padding-left: 20px;
}
.timeline article {
grid-template-columns: 1fr;
gap: 10px;
}
.belief-primary {
min-height: auto;
gap: 34px;
}
.life-band {
padding: 32px;
}
}
@media (max-width: 560px) {
.nav-links a:nth-child(2),
.nav-links a:nth-child(3) {
display: none;
}
.hero {
background-position: center right 38%;
}
.stats-strip {
grid-template-columns: 1fr;
}
.stats-strip div,
.stats-strip div:nth-child(2n),
.stats-strip div:nth-last-child(-n + 2) {
border-right: 0;
border-bottom: 1px solid rgba(23, 21, 18, 0.1);
}
.stats-strip div:last-child {
border-bottom: 0;
}
.large-copy p,
.large-copy,
.life-band p:last-child,
.connect p {
font-size: 18px;
}
.question-band h2,
h2 {
font-size: clamp(34px, 11vw, 48px);
}
}