Add Gradient Garden site

This commit is contained in:
2026-08-29 13:06:44 +04:00
parent 73b65c9a24
commit 471cc1594f
3 changed files with 293 additions and 0 deletions
+186
View File
@@ -0,0 +1,186 @@
:root {
--ink: #171714;
--muted: #68675f;
--paper: #f2efe8;
--paper-deep: #e8e3d8;
--line: rgba(23, 23, 20, 0.16);
--acid: #c8ff5b;
--coral: #ff735f;
--violet: #7064ee;
--radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
color: var(--ink);
background: var(--paper);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
-webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.site-header {
width: min(1240px, calc(100% - 48px));
min-height: 92px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--line);
}
.brand {
display: inline-flex;
align-items: center;
gap: 12px;
color: inherit;
font-size: 15px;
font-weight: 750;
letter-spacing: -0.02em;
text-decoration: none;
}
.brand-mark { display: flex; align-items: flex-end; gap: 2px; width: 24px; height: 24px; }
.brand-mark i { display: block; width: 7px; border-radius: 7px; transform: rotate(17deg); }
.brand-mark i:nth-child(1) { height: 13px; background: var(--coral); }
.brand-mark i:nth-child(2) { height: 22px; background: var(--violet); }
.brand-mark i:nth-child(3) { height: 17px; background: var(--acid); }
nav { display: flex; gap: 30px; }
nav a { color: var(--muted); font-size: 13px; text-decoration: none; transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--ink); }
main, footer { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.hero {
min-height: 720px;
padding: 72px 0 88px;
display: grid;
grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
gap: 72px;
align-items: center;
}
.eyebrow {
margin: 0 0 24px;
color: var(--muted);
font-size: 11px;
font-weight: 750;
letter-spacing: .14em;
text-transform: uppercase;
}
h1, h2, h3, p { text-wrap: pretty; }
h1 {
margin: 0;
max-width: 700px;
font-family: Georgia, "Times New Roman", serif;
font-size: clamp(58px, 7vw, 104px);
font-weight: 400;
line-height: .91;
letter-spacing: -.065em;
}
h1 em { color: var(--violet); font-weight: 400; }
.intro {
max-width: 570px;
margin: 34px 0 28px;
color: var(--muted);
font-size: clamp(17px, 2vw, 20px);
line-height: 1.6;
}
.text-link { display: inline-flex; gap: 12px; align-items: center; font-size: 13px; font-weight: 750; text-decoration: none; border-bottom: 1px solid; padding-bottom: 6px; }
.composition {
position: relative;
min-height: 570px;
overflow: hidden;
border-radius: var(--radius);
background: #d5d0c5;
box-shadow: 0 38px 90px rgba(60, 52, 44, .14);
isolation: isolate;
}
.composition::before {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(circle at 53% 48%, rgba(255,255,255,.8), transparent 7%), linear-gradient(145deg, rgba(255,255,255,.3), transparent 55%);
mix-blend-mode: soft-light;
z-index: 4;
}
.composition-noise {
position: absolute;
inset: 0;
opacity: .16;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
z-index: 5;
pointer-events: none;
}
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-coral { width: 72%; aspect-ratio: 1; top: -17%; left: -17%; background: radial-gradient(circle at 37% 34%, #ffd8a7, var(--coral) 45%, #ea3e62 78%); }
.orb-violet { width: 76%; aspect-ratio: 1; right: -24%; bottom: -19%; background: radial-gradient(circle at 30% 27%, #b7a5ff, var(--violet) 48%, #3630a7 83%); }
.orb-lime { width: 42%; aspect-ratio: 1; left: 17%; bottom: 9%; background: radial-gradient(circle at 35% 30%, #efffb8, var(--acid) 52%, #83ca57 90%); mix-blend-mode: screen; opacity: .88; }
.composition-caption { position: absolute; inset: auto 24px 22px; z-index: 6; display: flex; justify-content: space-between; color: rgba(255,255,255,.9); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.notes { padding: 112px 0 128px; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .65fr 1.35fr 1fr; gap: 32px; align-items: end; margin-bottom: 52px; }
.section-heading .eyebrow { align-self: start; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 64px); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.section-heading > p:last-child { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.note-card { min-width: 0; padding: 14px 14px 30px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.24); }
.card-art { height: 285px; position: relative; overflow: hidden; margin-bottom: 26px; border-radius: 14px; background: #ddd; }
.card-art::before, .card-art::after, .card-art span { content: ""; position: absolute; border-radius: 50%; filter: blur(1px); }
.card-sunrise .card-art { background: linear-gradient(145deg, #f6d5b9, #dfaa8a); }
.card-sunrise .card-art::before { width: 75%; aspect-ratio: 1; left: -10%; bottom: -38%; background: #ee634f; }
.card-sunrise .card-art::after { width: 54%; aspect-ratio: 1; right: -8%; top: -20%; background: #f8f0d4; }
.card-sunrise .card-art span { width: 24%; aspect-ratio: 1; right: 21%; bottom: 19%; background: #7d65e9; box-shadow: 0 0 46px rgba(79,52,218,.35); }
.card-depth .card-art { background: linear-gradient(160deg, #d6d0ff, #8879dd 52%, #33306d); }
.card-depth .card-art::before { width: 88%; aspect-ratio: 1; left: -32%; top: 4%; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.card-depth .card-art::after { width: 58%; aspect-ratio: 1; right: -15%; bottom: -18%; background: #262353; }
.card-depth .card-art span { width: 17%; aspect-ratio: 1; left: 48%; top: 28%; background: var(--acid); }
.card-air .card-art { background: linear-gradient(155deg, #eff3d8, #badba2 48%, #6caf9b); }
.card-air .card-art::before { width: 60%; aspect-ratio: 1; left: 20%; top: 18%; background: rgba(243,255,219,.72); box-shadow: 0 0 60px rgba(255,255,255,.5); }
.card-air .card-art::after { width: 33%; aspect-ratio: 1; right: -8%; top: -7%; background: #ff947e; }
.card-air .card-art span { width: 18%; aspect-ratio: 1; left: -3%; bottom: 9%; background: #493fb1; }
.card-index { margin: 0 8px 16px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.note-card h3 { margin: 0 8px 14px; font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 400; line-height: 1.08; letter-spacing: -.025em; }
.note-card > p:last-child { margin: 0 8px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.principles { padding: 112px 0; display: grid; grid-template-columns: .95fr 1.05fr; gap: 88px; border-top: 1px solid var(--line); }
.principles-panel { padding: 48px; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.principles-panel .eyebrow { color: rgba(242,239,232,.55); }
.principles-panel p:last-child { margin: 34px 0 0; color: rgba(242,239,232,.7); line-height: 1.7; }
.principle-list { margin: 0; padding: 0; list-style: none; }
.principle-list li { display: grid; grid-template-columns: 55px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.principle-list li:last-child { border-bottom: 1px solid var(--line); }
.principle-list span { color: var(--violet); font-size: 12px; font-weight: 800; }
.principle-list p { margin: 0; color: var(--muted); line-height: 1.55; }
.principle-list strong { color: var(--ink); font-weight: 700; }
.about { max-width: 970px; padding: 142px 0 148px; }
.about h2 { font-size: clamp(44px, 6vw, 78px); }
.about > p:last-child { max-width: 650px; margin: 34px 0 0 auto; color: var(--muted); font-size: 17px; line-height: 1.7; }
footer { min-height: 88px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; letter-spacing: .05em; }
@media (max-width: 900px) {
.hero { grid-template-columns: 1fr; gap: 54px; }
.composition { min-height: 520px; }
.section-heading { grid-template-columns: 1fr; }
.note-grid { grid-template-columns: 1fr; }
.note-card { display: grid; grid-template-columns: minmax(240px, .8fr) 1fr; column-gap: 24px; align-items: start; }
.card-art { grid-row: 1 / span 3; margin-bottom: 0; }
.card-index { margin-top: 16px; }
.principles { grid-template-columns: 1fr; gap: 42px; }
}
@media (max-width: 640px) {
.site-header, main, footer { width: min(100% - 28px, 1240px); }
.site-header { min-height: 76px; }
nav { display: none; }
.hero { min-height: auto; padding: 58px 0 72px; }
h1 { font-size: clamp(52px, 17vw, 75px); }
.composition { min-height: 420px; border-radius: 21px; }
.notes, .principles { padding: 82px 0; }
.note-card { display: block; }
.card-art { height: 270px; margin-bottom: 24px; }
.card-index { margin-top: 0; }
.principles-panel { padding: 34px 26px; }
.about { padding: 100px 0; }
footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }