442 lines
9.6 KiB
CSS
442 lines
9.6 KiB
CSS
/* ============ C. MAGAZINE COLD / MODERN SANS ============ */
|
|
:root {
|
|
--bg: #f6f7f8;
|
|
--bg-elev: #ffffff;
|
|
--bg-deep: #11161c;
|
|
--ink: #14181f;
|
|
--ink-muted: #5b6470;
|
|
--ink-soft: #98a0ab;
|
|
--accent: #1c3a5f;
|
|
--accent-soft: #e3ecf5;
|
|
--hairline: #dadfe5;
|
|
|
|
--sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
|
|
}
|
|
|
|
*, *::before, *::after { box-sizing: border-box; }
|
|
html { scroll-behavior: smooth; }
|
|
body {
|
|
margin: 0;
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
font-family: var(--sans);
|
|
font-size: 16px;
|
|
line-height: 1.55;
|
|
font-weight: 400;
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
img { display: block; max-width: 100%; height: auto; }
|
|
ul, ol { padding: 0; margin: 0; list-style: none; }
|
|
a { color: inherit; text-decoration: none; transition: color 0.2s; }
|
|
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
|
|
|
|
.tag {
|
|
font-size: 0.6875rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
color: var(--accent);
|
|
margin: 0 0 1rem;
|
|
}
|
|
|
|
/* ---------- HEADER ---------- */
|
|
.site-header {
|
|
position: sticky;
|
|
top: 38px;
|
|
z-index: 10;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1.25rem clamp(1.25rem, 3vw, 2.5rem);
|
|
background: rgba(246, 247, 248, 0.92);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border-bottom: 1px solid var(--hairline);
|
|
}
|
|
.wordmark {
|
|
font-weight: 600;
|
|
font-size: 0.9375rem;
|
|
letter-spacing: -0.005em;
|
|
color: var(--ink);
|
|
}
|
|
.wordmark span { font-weight: 400; color: var(--ink-muted); margin: 0 0.1em; }
|
|
|
|
.site-header nav ul {
|
|
display: flex;
|
|
gap: 1.75rem;
|
|
font-size: 0.8125rem;
|
|
font-weight: 500;
|
|
color: var(--ink-muted);
|
|
}
|
|
.site-header nav a:hover { color: var(--ink); }
|
|
|
|
/* ---------- HERO split 6/6 ---------- */
|
|
.hero {
|
|
display: grid;
|
|
grid-template-columns: 6fr 6fr;
|
|
gap: clamp(2rem, 5vw, 4rem);
|
|
align-items: center;
|
|
padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2.5rem) clamp(4rem, 7vw, 6rem);
|
|
max-width: 1320px;
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.hero__copy { padding-block: 1rem; }
|
|
|
|
.hero__title {
|
|
font-size: clamp(2.5rem, 5vw, 4.25rem);
|
|
line-height: 1.05;
|
|
font-weight: 500;
|
|
letter-spacing: -0.025em;
|
|
color: var(--ink);
|
|
margin: 0 0 1.5rem;
|
|
}
|
|
.hero__title-accent {
|
|
color: var(--accent);
|
|
font-weight: 400;
|
|
font-style: italic;
|
|
padding-bottom: 0.05em;
|
|
display: inline-block;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.hero__lede {
|
|
font-size: 1.0625rem;
|
|
color: var(--ink-muted);
|
|
max-width: 44ch;
|
|
margin: 0 0 2rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.hero__actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.85em 1.5em;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.01em;
|
|
border-radius: 2px;
|
|
transition: background 0.2s, color 0.2s, transform 0.15s;
|
|
}
|
|
.btn:active { transform: translateY(1px); }
|
|
.btn--primary {
|
|
background: var(--accent);
|
|
color: #fff;
|
|
}
|
|
.btn--primary:hover { background: var(--bg-deep); }
|
|
.btn--ghost {
|
|
background: transparent;
|
|
color: var(--ink);
|
|
border: 1px solid var(--hairline);
|
|
}
|
|
.btn--ghost:hover { border-color: var(--ink); }
|
|
.btn--large { padding: 1.1em 2em; font-size: 1rem; }
|
|
|
|
.hero__media {
|
|
margin: 0;
|
|
position: relative;
|
|
}
|
|
.hero__media img {
|
|
width: 100%;
|
|
aspect-ratio: 1 / 1;
|
|
object-fit: cover;
|
|
border-radius: 2px;
|
|
}
|
|
.hero__media figcaption {
|
|
margin-top: 0.75rem;
|
|
font-size: 0.75rem;
|
|
color: var(--ink-soft);
|
|
letter-spacing: 0.04em;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* ---------- STATS strip ---------- */
|
|
.stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 1px;
|
|
background: var(--hairline);
|
|
border-block: 1px solid var(--hairline);
|
|
margin-block: 0;
|
|
}
|
|
.stats > div {
|
|
background: var(--bg);
|
|
padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.5rem);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.4rem;
|
|
}
|
|
.stats strong {
|
|
font-size: clamp(1.75rem, 3.5vw, 2.5rem);
|
|
font-weight: 500;
|
|
letter-spacing: -0.02em;
|
|
color: var(--ink);
|
|
line-height: 1;
|
|
}
|
|
.stats span {
|
|
font-size: 0.8125rem;
|
|
color: var(--ink-muted);
|
|
}
|
|
|
|
/* ---------- ABOUT ---------- */
|
|
.about {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 3vw, 2.5rem);
|
|
display: grid;
|
|
grid-template-columns: 5fr 7fr;
|
|
gap: clamp(2rem, 5vw, 4rem);
|
|
}
|
|
.about__title {
|
|
font-size: clamp(1.875rem, 3.5vw, 2.875rem);
|
|
font-weight: 500;
|
|
letter-spacing: -0.02em;
|
|
line-height: 1.1;
|
|
color: var(--ink);
|
|
margin: 0;
|
|
max-width: 14ch;
|
|
}
|
|
.about__cols {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.25em;
|
|
max-width: 56ch;
|
|
}
|
|
.about__cols p {
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
line-height: 1.65;
|
|
color: var(--ink-muted);
|
|
}
|
|
|
|
/* ---------- SECTION HEAD ---------- */
|
|
.section-head {
|
|
max-width: 1320px;
|
|
margin: 0 auto clamp(2.5rem, 5vw, 4rem);
|
|
padding: 0 clamp(1.25rem, 3vw, 2.5rem);
|
|
}
|
|
.section-head__title {
|
|
font-size: clamp(2rem, 4vw, 3rem);
|
|
font-weight: 500;
|
|
letter-spacing: -0.02em;
|
|
line-height: 1.1;
|
|
margin: 0;
|
|
color: var(--ink);
|
|
}
|
|
|
|
/* ---------- PORTFOLIO BENTO ---------- */
|
|
.portfolio {
|
|
padding-top: clamp(4rem, 7vw, 6rem);
|
|
padding-bottom: clamp(4rem, 7vw, 6rem);
|
|
}
|
|
|
|
.bento {
|
|
display: grid;
|
|
grid-template-columns: 8fr 4fr;
|
|
grid-template-rows: auto auto;
|
|
gap: 1.25rem;
|
|
max-width: 1320px;
|
|
margin: 0 auto;
|
|
padding: 0 clamp(1.25rem, 3vw, 2.5rem);
|
|
}
|
|
|
|
.bento__cell {
|
|
background: var(--bg-elev);
|
|
border: 1px solid var(--hairline);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
transition: transform 0.3s, box-shadow 0.3s;
|
|
}
|
|
.bento__cell:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 12px 32px -16px rgba(20, 24, 31, 0.18);
|
|
}
|
|
|
|
.bento__cell--feature {
|
|
grid-row: 1 / span 2;
|
|
}
|
|
.bento__cell--feature figure { aspect-ratio: 4 / 5; }
|
|
.bento__cell figure {
|
|
margin: 0;
|
|
background: var(--accent-soft);
|
|
aspect-ratio: 4 / 3;
|
|
overflow: hidden;
|
|
}
|
|
.bento__cell figure img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.bento__meta {
|
|
padding: 1.25rem 1.5rem 1.5rem;
|
|
}
|
|
.bento__meta h3 {
|
|
font-size: 1.125rem;
|
|
font-weight: 500;
|
|
letter-spacing: -0.01em;
|
|
margin: 0 0 0.4rem;
|
|
color: var(--ink);
|
|
}
|
|
.bento__meta p {
|
|
font-size: 0.875rem;
|
|
color: var(--ink-muted);
|
|
margin: 0;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* ---------- PRICING ---------- */
|
|
.pricing {
|
|
background: var(--bg-elev);
|
|
border-block: 1px solid var(--hairline);
|
|
padding: clamp(5rem, 9vw, 8rem) 0;
|
|
}
|
|
|
|
.plans {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 1.25rem;
|
|
max-width: 1320px;
|
|
margin: 0 auto;
|
|
padding: 0 clamp(1.25rem, 3vw, 2.5rem);
|
|
}
|
|
|
|
.plan {
|
|
background: var(--bg);
|
|
border: 1px solid var(--hairline);
|
|
border-radius: 4px;
|
|
padding: clamp(1.75rem, 2.5vw, 2.25rem);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
transition: border-color 0.2s;
|
|
}
|
|
.plan:hover { border-color: var(--ink-soft); }
|
|
|
|
.plan--featured {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
color: #fff;
|
|
}
|
|
.plan--featured .tag { color: rgba(255,255,255,0.7); }
|
|
.plan--featured h3 { color: #fff; }
|
|
.plan--featured .plan__price { color: #fff; }
|
|
.plan--featured .plan__includes li { color: rgba(255,255,255,0.85); }
|
|
.plan--featured .plan__includes li::before { background: rgba(255,255,255,0.6); }
|
|
|
|
.plan header { display: flex; flex-direction: column; gap: 0.5rem; }
|
|
.plan h3 {
|
|
font-size: 1.375rem;
|
|
font-weight: 500;
|
|
letter-spacing: -0.015em;
|
|
margin: 0;
|
|
color: var(--ink);
|
|
}
|
|
.plan__price {
|
|
font-size: 1.75rem;
|
|
font-weight: 500;
|
|
letter-spacing: -0.015em;
|
|
margin: 0.25rem 0 0;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.plan__includes {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.6rem;
|
|
font-size: 0.875rem;
|
|
color: var(--ink-muted);
|
|
}
|
|
.plan__includes li {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.6rem;
|
|
line-height: 1.45;
|
|
}
|
|
.plan__includes li::before {
|
|
content: "";
|
|
flex: 0 0 auto;
|
|
width: 14px;
|
|
height: 1px;
|
|
background: var(--ink-soft);
|
|
margin-top: 0.65em;
|
|
}
|
|
|
|
/* ---------- CONTACT ---------- */
|
|
.contact {
|
|
max-width: 1320px;
|
|
margin: 0 auto;
|
|
padding: clamp(6rem, 10vw, 9rem) clamp(1.25rem, 3vw, 2.5rem);
|
|
}
|
|
.contact__title {
|
|
font-size: clamp(2rem, 4vw, 3rem);
|
|
font-weight: 500;
|
|
letter-spacing: -0.02em;
|
|
margin: 0 0 1.25rem;
|
|
color: var(--ink);
|
|
max-width: 16ch;
|
|
line-height: 1.1;
|
|
}
|
|
.contact__body {
|
|
max-width: 44ch;
|
|
color: var(--ink-muted);
|
|
margin: 0 0 2rem;
|
|
font-size: 1.0625rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* ---------- FOOTER ---------- */
|
|
.site-footer {
|
|
border-top: 1px solid var(--hairline);
|
|
padding: 2rem clamp(1.25rem, 3vw, 2.5rem) 2.5rem;
|
|
max-width: 1320px;
|
|
margin-inline: auto;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
gap: 0.75rem 2rem;
|
|
font-size: 0.8125rem;
|
|
color: var(--ink-muted);
|
|
}
|
|
.footer__brand {
|
|
font-weight: 600;
|
|
font-size: 0.9375rem;
|
|
color: var(--ink);
|
|
margin: 0;
|
|
}
|
|
.footer__brand span { font-weight: 400; color: var(--ink-muted); margin: 0 0.1em; }
|
|
.site-footer p { margin: 0; }
|
|
|
|
/* ---------- RESPONSIVE ---------- */
|
|
@media (max-width: 900px) {
|
|
.hero { grid-template-columns: 1fr; }
|
|
.hero__media { order: -1; }
|
|
.about { grid-template-columns: 1fr; gap: 1.5rem; }
|
|
.about__title { max-width: none; }
|
|
.bento { grid-template-columns: 1fr; }
|
|
.bento__cell--feature { grid-row: auto; }
|
|
.bento__cell--feature figure { aspect-ratio: 4 / 3; }
|
|
.plans { grid-template-columns: 1fr; }
|
|
.stats { grid-template-columns: 1fr; }
|
|
.site-header nav ul { gap: 1rem; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after {
|
|
transition-duration: 0.01ms !important;
|
|
animation-duration: 0.01ms !important;
|
|
scroll-behavior: auto !important;
|
|
}
|
|
.bento__cell:hover { transform: none; }
|
|
}
|