Groundroom / website / assets / site.css
| 1 | /* Hallmark: editorial; limestone and evergreen; static house scaffold. */ |
| 2 | /* Critique: the hero illustration explains the product before the project descriptions. */ |
| 3 | @font-face{font-family:Instrument;src:url('/assets/instrument.woff2') format('woff2');font-weight:400 700;font-display:swap} |
| 4 | :root{--paper:#f6f2e8;--ink:#1b2621;--muted:#475752;--forest:#234032;--dark:#172a23;--white:#f9f5ec;--line:#d5d4c4;--guide:#556753;--focus:#8a3d22;--serif:Georgia,"Times New Roman",serif;--body:Instrument,system-ui,sans-serif;--max:75rem} |
| 5 | *{box-sizing:border-box} |
| 6 | html,body{margin:0;overflow-x:clip} |
| 7 | body{background:var(--paper);color:var(--ink);font-family:var(--body);line-height:1.56} |
| 8 | h1,h2,h3,p,figure{margin:0} |
| 9 | h1,h2{font-family:var(--serif);font-weight:400;line-height:1.04;overflow-wrap:break-word;min-width:0} |
| 10 | a{color:inherit;text-underline-offset:.24em} |
| 11 | a:focus-visible{outline:3px solid var(--focus);outline-offset:4px} |
| 12 | .wrap{width:min(var(--max),calc(100% - 2.5rem));margin-inline:auto} |
| 13 | .skip{position:absolute;top:.5rem;left:.5rem;padding:.75rem;background:var(--white);transform:translateY(-180%);z-index:2} |
| 14 | .skip:focus{transform:none} |
| 15 | .site-header{border-bottom:1px solid var(--line)} |
| 16 | .site-header-inner{min-height:4.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem} |
| 17 | .brand-link,.footer-brand{text-decoration:none;font-weight:700} |
| 18 | .brand-link{display:flex;align-items:center;gap:.55rem;font-size:1.15rem} |
| 19 | .site-header nav,.site-footer nav{display:flex;gap:1.15rem;align-items:center;flex-wrap:wrap} |
| 20 | .site-header nav a:not(.nav-cta),.site-footer nav a{font-size:.92rem} |
| 21 | .nav-cta,.button{display:inline-grid;place-items:center;text-decoration:none;border:1px solid var(--forest);border-radius:999px;min-height:2.75rem;padding:.48rem 1.05rem;font-weight:650;text-align:center} |
| 22 | .nav-cta:hover{background:var(--forest);color:var(--white)} |
| 23 | .button{background:var(--forest);color:var(--white);padding-inline:1.3rem;width:fit-content} |
| 24 | .button:hover{background:var(--dark)} |
| 25 | .hero{padding-block:clamp(3.5rem,7vw,7rem);display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(1.5rem,4vw,4.5rem);align-items:center} |
| 26 | .hero h1{font-size:clamp(3.05rem,5.1vw,5.3rem);letter-spacing:-.056em} |
| 27 | .hero-copy p{color:var(--muted);max-width:30rem;margin-block:1.4rem 1.65rem;font-size:clamp(1.03rem,1.8vw,1.25rem)} |
| 28 | .hero-art img{display:block;width:100%;height:auto;border-radius:1rem;background:var(--forest)} |
| 29 | .hero-art figcaption{padding-block:.6rem 0;color:var(--muted);font-size:.84rem} |
| 30 | .project{border-top:1px solid var(--line);padding-block:clamp(2.5rem,5vw,5rem);display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(1.5rem,5vw,6.5rem)} |
| 31 | .project h2,.project-status h2{font-size:clamp(2.15rem,4vw,3.5rem)} |
| 32 | .project header p,.work p{margin-top:.65rem;color:var(--muted)} |
| 33 | .work{padding:0;margin:0;list-style:none} |
| 34 | .work li{display:grid;grid-template-columns:2.2rem minmax(0,1fr);gap:1rem;padding-block:0 1.1rem;border-bottom:1px solid var(--line);margin-bottom:1.1rem} |
| 35 | .work li:last-child{margin:0} |
| 36 | .work li span{color:var(--guide);font-size:.92rem} |
| 37 | .work h3{font-size:1.27rem;line-height:1.25} |
| 38 | .project-status{background:var(--dark);color:var(--white)} |
| 39 | .status-inner{display:flex;justify-content:space-between;align-items:center;gap:1.75rem;padding-block:clamp(2rem,5vw,4rem)} |
| 40 | .status-inner p{margin-top:1rem;max-width:37rem} |
| 41 | .button-dark{border-color:var(--white);background:var(--white);color:var(--dark);flex-shrink:0} |
| 42 | .button-dark:hover{background:var(--dark);color:var(--white)} |
| 43 | .button-dark:focus-visible{outline-color:var(--white)} |
| 44 | .site-footer{display:flex;flex-wrap:wrap;gap:1rem 1.5rem;align-items:center;padding-block:1.75rem} |
| 45 | .site-footer p{margin-right:auto;color:var(--muted)} |
| 46 | .text-page{max-width:54rem;padding-block:clamp(2.5rem,7vw,5rem);min-height:57vh} |
| 47 | .text-page h1{font-size:clamp(2.65rem,6vw,4.75rem);margin-bottom:1.75rem} |
| 48 | .text-page h2{font-size:clamp(1.45rem,2.8vw,2.05rem);margin-bottom:.45rem} |
| 49 | .text-page p,.text-page section{margin-bottom:1.3rem} |
| 50 | @media(max-width:50rem){.hero,.project{grid-template-columns:minmax(0,1fr)}.hero{padding-block:3.25rem 2.6rem}.status-inner{flex-direction:column;align-items:flex-start}.site-footer nav{flex-basis:100%}} |
| 51 | @media(max-width:32rem){.site-header-inner{flex-wrap:wrap;padding-block:.7rem;gap:.45rem}.site-header nav{gap:.8rem;width:100%}.site-header nav a{min-height:2.75rem;align-content:center}.site-header nav .nav-cta{margin-left:auto}.wrap{width:calc(100% - 2rem)}.hero h1{font-size:clamp(2.75rem,11vw,3.8rem)}} |