291 lines
8.3 KiB
CSS
291 lines
8.3 KiB
CSS
/* ============ D. MOCHA (Catppuccin Mocha) ============ */
|
|
:root {
|
|
--base: #1e1e2e;
|
|
--mantle: #181825;
|
|
--crust: #11111b;
|
|
--surface0: #313244;
|
|
--surface1: #45475a;
|
|
--text: #cdd6f4;
|
|
--subtext1: #bac2de;
|
|
--subtext0: #a6adc8;
|
|
--overlay0: #6c7086;
|
|
--peach: #fab387;
|
|
--rosewater: #f5e0dc;
|
|
--mauve: #cba6f7;
|
|
--pink: #f5c2e7;
|
|
--green: #a6e3a1;
|
|
|
|
--serif: "Newsreader", "Cormorant Garamond", Georgia, serif;
|
|
--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(--base);
|
|
color: var(--text);
|
|
font-family: var(--sans);
|
|
font-size: 16px;
|
|
line-height: 1.65;
|
|
font-weight: 300;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
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, opacity 0.2s; }
|
|
a:hover { opacity: 0.78; }
|
|
a:focus-visible { outline: 1.5px solid var(--peach); outline-offset: 4px; border-radius: 3px; }
|
|
i { font-style: italic; }
|
|
|
|
.kicker {
|
|
font-family: var(--sans);
|
|
font-size: 0.6875rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.2em;
|
|
text-transform: uppercase;
|
|
color: var(--peach);
|
|
margin: 0 0 1.25rem;
|
|
}
|
|
.kicker--center { text-align: center; }
|
|
|
|
/* HEADER */
|
|
.site-header {
|
|
position: sticky;
|
|
top: 38px;
|
|
z-index: 10;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1rem clamp(1.25rem, 3vw, 2.5rem);
|
|
background: color-mix(in oklab, var(--base) 88%, transparent);
|
|
backdrop-filter: blur(14px);
|
|
-webkit-backdrop-filter: blur(14px);
|
|
border-bottom: 1px solid var(--surface0);
|
|
}
|
|
.wordmark { font-family: var(--serif); font-size: 1.0625rem; font-weight: 400; color: var(--text); }
|
|
.wordmark i { color: var(--peach); font-style: italic; margin: 0 0.05em; }
|
|
.site-header nav ul { display: flex; gap: 1.75rem; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--subtext0); }
|
|
.site-header nav a:hover { color: var(--text); opacity: 1; }
|
|
|
|
/* HERO */
|
|
.hero {
|
|
display: grid;
|
|
grid-template-columns: 6fr 5fr;
|
|
gap: clamp(2rem, 5vw, 4rem);
|
|
align-items: center;
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 3vw, 2.5rem) clamp(4rem, 8vw, 7rem);
|
|
min-height: calc(100dvh - 80px);
|
|
}
|
|
.hero__copy h1 {
|
|
font-family: var(--serif);
|
|
font-weight: 300;
|
|
font-size: clamp(3rem, 7vw, 5.75rem);
|
|
line-height: 1;
|
|
letter-spacing: -0.02em;
|
|
margin: 1rem 0 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.05em;
|
|
}
|
|
.hero__copy h1 .italic {
|
|
font-style: italic;
|
|
color: var(--peach);
|
|
padding-bottom: 0.1em;
|
|
line-height: 1.1;
|
|
}
|
|
.lede {
|
|
font-family: var(--serif);
|
|
font-style: italic;
|
|
font-weight: 300;
|
|
font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
|
|
max-width: 32ch;
|
|
color: var(--subtext1);
|
|
margin: 0 0 2rem;
|
|
line-height: 1.5;
|
|
}
|
|
.cta {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5em;
|
|
font-size: 0.8125rem;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
color: var(--peach);
|
|
border-bottom: 1px solid var(--peach);
|
|
padding-bottom: 0.5em;
|
|
font-weight: 500;
|
|
}
|
|
.cta span { transition: transform 0.3s; }
|
|
.cta:hover span { transform: translateX(0.4em); }
|
|
|
|
.hero__photo {
|
|
margin: 0;
|
|
background: var(--surface0);
|
|
border-radius: 3px;
|
|
overflow: hidden;
|
|
}
|
|
.hero__photo img {
|
|
width: 100%;
|
|
aspect-ratio: 4 / 5;
|
|
object-fit: cover;
|
|
filter: brightness(0.95) saturate(0.9);
|
|
}
|
|
|
|
/* MANIFESTO */
|
|
.manifesto {
|
|
text-align: center;
|
|
padding: clamp(7rem, 13vw, 11rem) clamp(1.25rem, 3vw, 2.5rem);
|
|
max-width: 60rem;
|
|
margin: 0 auto;
|
|
}
|
|
.manifesto__line {
|
|
font-family: var(--serif);
|
|
font-weight: 300;
|
|
font-size: clamp(2.5rem, 6vw, 4.75rem);
|
|
line-height: 1.1;
|
|
color: var(--text);
|
|
margin: 0 0 clamp(2.5rem, 5vw, 4rem);
|
|
letter-spacing: -0.012em;
|
|
}
|
|
.manifesto__line i { color: var(--rosewater); padding-bottom: 0.06em; display: inline-block; line-height: 1.12; }
|
|
.manifesto__body { max-width: 52ch; margin: 0 auto; color: var(--subtext1); font-size: 0.9375rem; }
|
|
|
|
/* HEAD shared */
|
|
.head {
|
|
max-width: 1280px;
|
|
margin: 0 auto clamp(3rem, 6vw, 4.5rem);
|
|
padding: 0 clamp(1.25rem, 3vw, 2.5rem);
|
|
}
|
|
.head h2 {
|
|
font-family: var(--serif);
|
|
font-weight: 300;
|
|
font-size: clamp(2.25rem, 5vw, 3.75rem);
|
|
letter-spacing: -0.015em;
|
|
margin: 0;
|
|
line-height: 1.05;
|
|
color: var(--text);
|
|
}
|
|
.head h2 i { color: var(--peach); padding-bottom: 0.06em; display: inline-block; line-height: 1.12; }
|
|
|
|
/* SERIES */
|
|
.series { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--surface0); }
|
|
.series__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: clamp(1rem, 2vw, 1.75rem);
|
|
max-width: 1280px;
|
|
margin: 0 auto;
|
|
padding: 0 clamp(1.25rem, 3vw, 2.5rem);
|
|
}
|
|
.card {
|
|
background: var(--mantle);
|
|
border: 1px solid var(--surface0);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
|
|
}
|
|
.card:hover { transform: translateY(-3px); border-color: var(--surface1); }
|
|
.card figure { margin: 0; aspect-ratio: 4 / 3; background: var(--surface0); }
|
|
.card figure img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.93) saturate(0.88); }
|
|
.card__meta { padding: 1.25rem 1.5rem 1.5rem; }
|
|
.card__meta h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.375rem; margin: 0 0 0.4rem; color: var(--text); padding-bottom: 0.05em; }
|
|
.card__meta p { font-size: 0.8125rem; color: var(--subtext0); margin: 0; }
|
|
|
|
/* PRICING */
|
|
.pricing {
|
|
padding: clamp(5rem, 9vw, 8rem) 0;
|
|
background: var(--mantle);
|
|
border-block: 1px solid var(--surface0);
|
|
}
|
|
.plans {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: clamp(1rem, 2vw, 1.75rem);
|
|
max-width: 1180px;
|
|
margin: 0 auto;
|
|
padding: 0 clamp(1.25rem, 3vw, 2.5rem);
|
|
}
|
|
.plan {
|
|
background: var(--base);
|
|
border: 1px solid var(--surface0);
|
|
border-radius: 4px;
|
|
padding: clamp(1.75rem, 3vw, 2.5rem);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.25rem;
|
|
transition: border-color 0.2s, transform 0.3s;
|
|
}
|
|
.plan:hover { border-color: var(--peach); transform: translateY(-2px); }
|
|
.plan--mid {
|
|
background: linear-gradient(180deg, var(--surface0), var(--mantle));
|
|
border-color: var(--peach);
|
|
}
|
|
.plan h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.5rem; margin: 0; color: var(--text); padding-bottom: 0.05em; }
|
|
.plan__price {
|
|
font-family: var(--serif);
|
|
font-weight: 300;
|
|
font-size: clamp(2.25rem, 4vw, 3rem);
|
|
margin: 0;
|
|
color: var(--peach);
|
|
line-height: 1;
|
|
letter-spacing: -0.015em;
|
|
}
|
|
.plan__price i { font-style: italic; font-size: 0.5em; opacity: 0.85; margin-left: 0.18em; }
|
|
.plan p:last-child { font-size: 0.875rem; color: var(--subtext1); margin: 0; line-height: 1.55; }
|
|
|
|
/* CONTACT */
|
|
.contact {
|
|
text-align: center;
|
|
padding: clamp(7rem, 12vw, 11rem) clamp(1.25rem, 3vw, 2.5rem);
|
|
max-width: 56rem;
|
|
margin: 0 auto;
|
|
}
|
|
.contact__title {
|
|
font-family: var(--serif);
|
|
font-weight: 300;
|
|
font-size: clamp(2.5rem, 6vw, 4.5rem);
|
|
margin: 0 0 1.25rem;
|
|
line-height: 1.05;
|
|
letter-spacing: -0.015em;
|
|
}
|
|
.contact__title i { color: var(--peach); padding-bottom: 0.06em; display: inline-block; line-height: 1.12; }
|
|
.contact p { color: var(--subtext1); max-width: 42ch; margin: 0 auto 2rem; font-size: 0.9375rem; }
|
|
.mail {
|
|
font-family: var(--serif);
|
|
font-style: italic;
|
|
font-size: clamp(1.375rem, 2.6vw, 1.75rem);
|
|
color: var(--peach);
|
|
border-bottom: 1px solid currentColor;
|
|
padding-bottom: 0.1em;
|
|
}
|
|
|
|
/* FOOTER */
|
|
.site-footer {
|
|
border-top: 1px solid var(--surface0);
|
|
padding: 2rem clamp(1.25rem, 3vw, 2.5rem) 2.5rem;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
gap: 0.75rem 2rem;
|
|
font-size: 0.8125rem;
|
|
color: var(--subtext0);
|
|
}
|
|
.footer__brand { font-family: var(--serif); font-size: 1rem; color: var(--text); margin: 0; }
|
|
.footer__brand i { color: var(--peach); font-style: italic; margin: 0 0.05em; }
|
|
.site-footer p { margin: 0; }
|
|
|
|
/* RESPONSIVE */
|
|
@media (max-width: 900px) {
|
|
.hero { grid-template-columns: 1fr; }
|
|
.hero__photo { order: -1; }
|
|
.series__grid, .plans { grid-template-columns: 1fr; }
|
|
.site-header nav ul { gap: 1.25rem; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*, *::before, *::after { transition: none !important; animation: none !important; }
|
|
}
|