Files
softy/css/styles.css
T
2026-11-14 18:26:53 +01:00

536 lines
10 KiB
CSS

:root {
--paper: #dedfd9;
--paper-light: #e9eae5;
--ink: #252d2a;
--muted: #707873;
--line: #c4c9c1;
--forest: #35433c;
--forest-deep: #2c3832;
--sage: #b7c8b5;
--clay: #b8775d;
--font: Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
background: var(--paper);
color: var(--ink);
font-family: var(--font);
-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.header {
width: min(1200px, calc(100% - 64px));
min-height: 78px;
margin: 0 auto;
display: grid;
grid-template-columns: 1fr 1.2fr 1fr;
align-items: center;
border-bottom: 1px solid var(--line);
}
.brand {
font-size: 19px;
font-weight: 800;
letter-spacing: .16em;
}
.header-note {
color: #768078;
font-size: 8px;
letter-spacing: .14em;
}
.header nav {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 25px;
}
.header nav a {
color: #5f6962;
font-size: 10px;
}
.header nav a:hover,
.footer a:hover { color: #8b553f; }
.header nav .nav-contact {
padding: 10px 12px;
border: 1px solid #aeb7ad;
}
.nav-contact span { margin-left: 8px; color: var(--clay); }
.hero {
width: min(1200px, calc(100% - 64px));
min-height: 485px;
margin: 28px auto 0;
display: grid;
grid-template-columns: 1.15fr .85fr;
}
.hero-main {
position: relative;
min-height: 485px;
padding: 65px 54px 48px;
display: flex;
flex-direction: column;
align-items: flex-start;
background: var(--paper-light);
}
.eyebrow {
margin: 0 0 20px;
color: #707a72;
font-size: 9px;
font-weight: 700;
letter-spacing: .15em;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
margin-bottom: 18px;
font-size: clamp(50px, 6.8vw, 78px);
line-height: .98;
letter-spacing: -.075em;
font-weight: 600;
}
h1 span { color: #718c73; }
.hero-copy {
max-width: 355px;
margin-bottom: 23px;
color: var(--muted);
font-size: 13px;
line-height: 1.8;
}
.hero-link {
padding-bottom: 5px;
border-bottom: 1px solid #8d9b8d;
color: #3e5546;
font-size: 10px;
font-weight: 700;
}
.hero-link span { margin-left: 12px; }
.hero-index {
position: absolute;
bottom: 21px;
left: 54px;
color: #889189;
font-size: 8px;
letter-spacing: .13em;
}
.hero-side {
position: relative;
min-height: 485px;
overflow: hidden;
padding: 22px 25px;
display: flex;
flex-direction: column;
justify-content: space-between;
background: var(--forest);
color: #f0f1e9;
}
.side-top, .side-bottom {
position: relative;
z-index: 1;
display: flex;
justify-content: space-between;
align-items: center;
}
.side-label, .side-bottom {
color: #c4cec2;
font-size: 8px;
letter-spacing: .13em;
}
.side-icon {
width: 33px;
height: 33px;
display: grid;
place-items: center;
border: 1px solid #a9c0aa;
border-radius: 50%;
color: var(--sage);
font-size: 12px;
}
.side-statement {
position: relative;
z-index: 1;
max-width: 310px;
margin: auto 0;
font-size: clamp(28px, 3.5vw, 40px);
line-height: 1.12;
letter-spacing: -.05em;
}
.side-rule {
position: relative;
z-index: 1;
width: 42px;
height: 2px;
margin-bottom: 21px;
background: var(--sage);
}
.side-bottom { justify-content: flex-start; gap: 20px; }
.side-decoration {
position: absolute;
right: -30px;
bottom: 18px;
width: 210px;
height: 170px;
opacity: .3;
transform: rotate(-24deg);
}
.deco-block {
position: absolute;
display: block;
border: 1px solid #ccdacb;
}
.block-a { right: 20px; bottom: 12px; width: 125px; height: 125px; }
.block-b { right: 65px; bottom: 57px; width: 90px; height: 90px; background: #9eb39e; }
.block-c { right: 106px; bottom: 98px; width: 48px; height: 48px; background: var(--clay); border: 0; }
.intro-band {
width: min(1200px, calc(100% - 64px));
min-height: 82px;
margin: 0 auto;
padding: 20px 32px;
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
background: #cbd1c8;
}
.intro-tag {
color: #6b756d;
font-size: 8px;
font-weight: 700;
letter-spacing: .14em;
}
.intro-band p {
margin: 0;
color: #36433a;
font-size: 13px;
font-weight: 600;
}
.services {
width: min(1080px, calc(100% - 96px));
margin: 0 auto;
padding: 88px 0 92px;
}
.services-heading {
margin-bottom: 35px;
display: flex;
justify-content: space-between;
align-items: end;
gap: 30px;
}
.services-heading .eyebrow { margin-bottom: 12px; }
.services-heading h2,
.capability-title h2,
.contact h2 {
margin-bottom: 0;
font-size: clamp(30px, 4vw, 42px);
line-height: 1.12;
letter-spacing: -.055em;
font-weight: 600;
}
.services-intro {
max-width: 290px;
margin: 0 0 3px;
color: var(--muted);
font-size: 11px;
line-height: 1.8;
}
.service-list { border-top: 1px solid #bfc6be; }
.service-item {
min-height: 94px;
display: grid;
grid-template-columns: 55px 1fr 1.1fr 25px;
align-items: center;
gap: 18px;
border-bottom: 1px solid #bfc6be;
}
.service-number {
color: #859087;
font-size: 9px;
letter-spacing: .1em;
}
.service-name h3 {
margin: 0 0 5px;
font-size: 16px;
font-weight: 600;
letter-spacing: -.03em;
}
.service-name span {
color: #828b83;
font-size: 9px;
}
.service-item > p {
max-width: 320px;
margin: 0;
color: #6f7971;
font-size: 10px;
line-height: 1.7;
}
.service-arrow {
color: #6c8b70;
font-size: 15px;
text-align: right;
}
.capabilities {
position: relative;
width: min(1200px, calc(100% - 64px));
min-height: 280px;
margin: 0 auto;
padding: 35px 40px;
display: grid;
grid-template-columns: 1.1fr 1fr .4fr;
align-items: center;
gap: 30px;
overflow: hidden;
background: var(--forest-deep);
color: #f0f1e9;
}
.capability-title .eyebrow { color: #bdc9bd; }
.capability-title h2 { font-size: clamp(28px, 3.4vw, 38px); }
.capability-points { position: relative; z-index: 1; }
.capability-points div {
min-height: 48px;
display: flex;
align-items: center;
gap: 15px;
border-bottom: 1px solid #ffffff25;
}
.capability-points div:last-child { border: 0; }
.capability-points span {
color: var(--sage);
font-size: 8px;
}
.capability-points p {
margin: 0;
color: #d2d9d0;
font-size: 10px;
}
.capability-stamp {
width: 120px;
height: 120px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border: 1px solid #9cb39f75;
border-radius: 50%;
color: #dce5d8;
text-align: center;
transform: rotate(8deg);
}
.capability-stamp span {
font-size: 8px;
line-height: 1.5;
letter-spacing: .12em;
}
.capability-stamp b {
margin-top: 6px;
color: var(--sage);
font-size: 19px;
}
.contact {
width: min(1080px, calc(100% - 96px));
min-height: 210px;
margin: 68px auto 46px;
padding: 30px 0;
display: flex;
justify-content: space-between;
align-items: center;
gap: 25px;
border-top: 1px solid #bfc6be;
border-bottom: 1px solid #bfc6be;
}
.contact .eyebrow { margin-bottom: 12px; }
.contact-link {
padding: 13px 16px;
background: var(--clay);
color: #fff8f1;
font-size: 10px;
font-weight: 700;
}
.contact-link span { margin-left: 18px; }
.footer {
width: min(1200px, calc(100% - 64px));
min-height: 72px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
border-top: 1px solid var(--line);
}
.footer .brand { font-size: 15px; }
.footer > span,
.footer > a:not(.brand),
.footer small {
color: #737d75;
font-size: 9px;
}
@media (max-width: 760px) {
.header,
.hero,
.intro-band,
.capabilities,
.footer {
width: min(100% - 36px, 560px);
}
.header {
min-height: 68px;
grid-template-columns: 1fr auto;
}
.header-note,
.header nav a:not(.nav-contact) {
display: none;
}
.hero {
margin-top: 18px;
grid-template-columns: 1fr;
}
.hero-main {
min-height: 405px;
padding: 48px 28px 55px;
}
.hero-index { left: 28px; }
.hero-side { min-height: 330px; padding: 20px; }
.side-statement { max-width: 290px; font-size: 34px; }
.intro-band {
padding: 18px 20px;
align-items: flex-start;
flex-direction: column;
gap: 9px;
}
.services,
.contact {
width: min(100% - 44px, 560px);
}
.services { padding: 65px 0; }
.services-heading {
align-items: flex-start;
flex-direction: column;
gap: 14px;
}
.service-item {
min-height: 105px;
grid-template-columns: 30px 1fr 20px;
gap: 10px;
padding: 14px 0;
}
.service-name { grid-column: 2; }
.service-item > p { grid-column: 2; grid-row: 2; }
.service-arrow { grid-column: 3; grid-row: 1; }
.capabilities {
padding: 30px 24px;
grid-template-columns: 1fr;
gap: 24px;
}
.capability-stamp {
position: absolute;
right: 20px;
top: 25px;
width: 80px;
height: 80px;
opacity: .55;
}
.capability-title { position: relative; z-index: 1; }
.capability-title h2 { max-width: 300px; }
.contact {
min-height: 190px;
margin-top: 48px;
flex-direction: column;
align-items: flex-start;
justify-content: center;
}
.footer {
padding: 18px 0;
flex-wrap: wrap;
}
.footer > span { margin-left: auto; }
.footer small { flex-basis: 100%; }
}
@media (max-width: 390px) {
.hero-main { padding-right: 20px; padding-left: 20px; }
h1 { font-size: 50px; }
.hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
.service-name h3 { font-size: 14px; }
.service-item > p { font-size: 9px; }
}