:root { --ink: #20231f; --cream: #f4f0e7; --paper: #fbfaf7; --rust: #bd5b3c; --sage: #a8b59c; --line: rgba(32,35,31,.18); --serif: 'Playfair Display', Georgia, serif; --sans: 'DM Sans', sans-serif; }
* { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; } a { color: inherit; text-decoration: none; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; padding: 26px 6vw; } .site-header { background: var(--paper); position: relative; z-index: 2; } .wordmark { font-family: var(--serif); font-size: 1.55rem; letter-spacing: .02em; } .wordmark span { font-style: italic; } nav { display: flex; gap: 30px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; } nav a:hover, .text-link:hover { color: var(--rust); }
.hero { min-height: 680px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; background: var(--sage); overflow: hidden; padding: 70px 8vw 90px; } .eyebrow { color: var(--rust); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; margin: 0 0 18px; } .hero h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; } .hero h1 { font-size: clamp(3.3rem, 6.2vw, 6.2rem); max-width: 710px; margin: 0 0 24px; letter-spacing: -.03em; } .hero-text { max-width: 460px; font-size: 1.08rem; margin-bottom: 34px; } .hero-actions { display: flex; align-items: center; gap: 25px; }
.button { border: 0; padding: 15px 21px; font: 700 .75rem var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: transform .2s ease, background .2s ease; } .button:hover { transform: translateY(-3px); } .button-dark { color: var(--paper); background: var(--ink); } .button-dark:hover { background: var(--rust); } .button span { margin-left: 13px; font-size: 1rem; } .text-link { border-bottom: 1px solid currentColor; padding-bottom: 3px; font-size: .82rem; font-weight: 700; } .text-link span { margin-left: 6px; }
.hero-art { min-height: 490px; position: relative; } .sun-disc { width: 330px; height: 330px; border-radius: 50%; background: #d9c38d; position: absolute; top: 26px; left: 25%; } .book-stack { position: absolute; z-index: 1; bottom: 55px; left: 25%; transform: rotate(-8deg); } .book { box-shadow: 5px 10px 16px rgba(34,35,29,.2); } .book-bottom { width: 310px; height: 38px; background: #8e513e; transform: skewX(-12deg); } .book-middle { width: 280px; height: 48px; background: #d8a67d; transform: translate(16px, -5px) skewX(-12deg); color: #6e4034; padding: 11px 25px; font: .65rem var(--sans); text-transform: uppercase; letter-spacing: .12em; } .book-top { width: 245px; height: 165px; background: #f2e2c7; transform: translate(38px, -8px) skewX(-12deg); color: var(--rust); display: flex; justify-content: flex-end; padding: 18px; font: italic 1.2rem var(--serif); }
.coffee-cup { position: absolute; z-index: 2; right: 13%; bottom: 75px; width: 130px; height: 95px; border-radius: 14px 14px 45px 45px; background: #e9d6b3; transform: rotate(7deg); box-shadow: 5px 10px 14px rgba(34,35,29,.2); } .coffee { width: 102px; height: 22px; margin: -5px auto 0; border-radius: 50%; background: #58362a; } .handle { position: absolute; width: 45px; height: 42px; right: -32px; top: 16px; border: 12px solid #e9d6b3; border-left: 0; border-radius: 0 50% 50% 0; } .art-note { position: absolute; right: 3%; top: 55px; color: #6f4736; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; transform: rotate(9deg); } .art-note em { color: var(--rust); }
.section-shell { max-width: 1200px; margin: auto; padding-left: 6vw; padding-right: 6vw; } .book-section { padding-top: 125px; padding-bottom: 135px; } .section-heading { display: flex; flex-wrap: wrap; align-items: end; gap: 20px 7%; margin-bottom: 65px; } .section-heading .eyebrow { width: 100%; margin-bottom: -4px; } .section-heading h2 { flex: 1 1 340px; font-size: clamp(2.7rem, 4.5vw, 4.4rem); margin: 0; } .section-heading h2 em, .about-copy h2 em, .hello-section h2 em { color: var(--rust); } .section-heading > p:last-child { flex: 1 1 260px; max-width: 360px; margin: 0 0 6px; color: #62645d; } .book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; } .book-card { display: grid; grid-template-columns: 190px 1fr; gap: 30px; align-items: center; } .cover { aspect-ratio: .68; min-height: 280px; position: relative; padding: 20px 18px; display: flex; flex-direction: column; box-shadow: 10px 13px 0 #e6e0d5; overflow: hidden; } .cover-one { background: #d8a67d; color: #4e372e; } .cover-two { background: #bc5b3d; color: #f5e9d5; } .cover-kicker { font-size: .57rem; text-transform: uppercase; letter-spacing: .12em; } .cover strong { margin-top: 20px; font: italic 1.35rem var(--serif); line-height: 1; } .cover-title { margin-top: auto; font: 1.5rem var(--serif); line-height: 1.1; } .cover-mark { position: absolute; bottom: 15px; right: 18px; font-size: .7rem; } .book-number { margin: 0 0 14px; color: var(--rust); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; } .book-info h3 { font-size: 1.9rem; margin: 0 0 14px; } .book-info > p:not(.book-number) { color: #62645d; margin: 0 0 23px; font-size: .92rem; }
.about-section { display: grid; grid-template-columns: 1fr 1fr; background: #ede7dc; } .about-image { min-height: 560px; background: linear-gradient(rgba(57,47,33,.08), rgba(57,47,33,.08)), url('https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=1200&q=85') center/cover; } .about-copy { padding-top: 100px; padding-bottom: 100px; max-width: 600px; margin: 0; } .about-copy h2, .hello-section h2 { font-size: clamp(2.8rem, 4vw, 4.4rem); margin: 0 0 30px; } .about-copy p:not(.eyebrow) { max-width: 460px; color: #62645d; } .about-copy .text-link { display: inline-block; margin-top: 16px; }
.hello-section { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-top: 130px; padding-bottom: 130px; } .hello-section h2 { margin-bottom: 20px; } .hello-intro { max-width: 390px; color: #62645d; } .signup-form { align-self: center; border-top: 1px solid var(--line); padding-top: 25px; } .signup-form label { display: block; font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 13px; } .form-row { display: flex; border-bottom: 1px solid var(--ink); } .form-row input { min-width: 0; flex: 1; padding: 15px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 1rem var(--sans); } .form-row input::placeholder { color: #9a9b93; } .form-row button { margin: 5px 0; padding: 10px 16px; } .form-note { color: #73756d; font-size: .75rem; } .form-note.success { color: #3a7354; } .form-note.error { color: var(--rust); }
.site-footer { border-top: 1px solid var(--line); color: #73756d; font-size: .76rem; } .site-footer .wordmark { color: var(--ink); } .site-footer p { margin: 0; } .reveal { animation: rise .8s ease both; } .reveal-delay { animation-delay: .15s; } @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) { nav { gap: 13px; font-size: .64rem; } .hero { grid-template-columns: 1fr; padding-top: 55px; } .hero-art { min-height: 380px; margin-top: 20px; } .sun-disc { left: 16%; width: 260px; height: 260px; } .book-stack { left: 14%; bottom: 28px; transform: scale(.85) rotate(-8deg); transform-origin: left bottom; } .coffee-cup { right: 12%; bottom: 42px; transform: scale(.8) rotate(7deg); } .art-note { top: 16px; right: 4%; font-size: 1rem; } .book-grid, .about-section, .hello-section { grid-template-columns: 1fr; } .book-card { grid-template-columns: 145px 1fr; gap: 22px; } .cover { min-height: 220px; } .book-section { padding-top: 85px; padding-bottom: 95px; } .about-image { min-height: 360px; } .about-copy { padding-top: 75px; padding-bottom: 75px; } .hello-section { gap: 45px; padding-top: 85px; padding-bottom: 95px; } .site-footer { flex-wrap: wrap; gap: 16px 25px; } }
@media (max-width: 520px) { .site-header { padding: 20px 6vw; } .site-header nav a:nth-child(2) { display: none; } .hero h1 { font-size: 3.1rem; } .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; } .book-card { grid-template-columns: 1fr; gap: 30px; } .cover { width: 160px; } .form-row { display: block; border: 0; } .form-row input { display: block; width: 100%; border-bottom: 1px solid var(--ink); margin-bottom: 12px; } .form-row button { margin: 0; } }