diff options
| author | simon <vesspa0330@gmail.com> | 2026-10-05 22:16:59 -0500 |
|---|---|---|
| committer | simon <vesspa0330@gmail.com> | 2026-10-05 22:16:59 -0500 |
| commit | b2b38f65b93ca7f1301ea2e6b70cfe51dec141dc (patch) | |
| tree | 3365bd26fcf369c31506bc527faa6fe9a9814d9d /css/bot_about.css | |
| parent | 83c5a012ace0055b8df159fd7f835eae558a09f4 (diff) | |
changes all around
Diffstat (limited to 'css/bot_about.css')
| -rw-r--r-- | css/bot_about.css | 557 |
1 files changed, 557 insertions, 0 deletions
diff --git a/css/bot_about.css b/css/bot_about.css new file mode 100644 index 0000000..229d0af --- /dev/null +++ b/css/bot_about.css @@ -0,0 +1,557 @@ +/* ========================================================= + LUXURY DETAILING MAINE + About Page / Core Site Styles + Gold + Charcoal / restrained luxury + ========================================================= */ + +@font-face { + font-family: Inter; + src: url('../assets/fonts/Inter.ttf'); + font-display: swap; +} + +:root { + --white: #eeeeee; + --muted: #a8a8a8; + --black: #191919; + --black-deep: #111111; + --panel: #202020; + --panel-light: #242424; + + --gold: rgb(223, 200, 65); + --gold-muted: rgb(158, 141, 44); + --gold-soft: rgba(223, 200, 65, 0.18); + + --content-width: 1180px; + --text-width: 760px; + + --ease: cubic-bezier(0.22, 1, 0.36, 1); +} + +/* ---------- RESET ---------- */ + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +html { + scroll-behavior: smooth; + background: var(--black-deep); +} + +body { + min-height: 100vh; + color: var(--white); + background: var(--black); + font-family: Inter, sans-serif; + font-size: 16px; + line-height: 1.8; + letter-spacing: 0.01rem; + -webkit-font-smoothing: antialiased; +} + +img { + max-width: 100%; + display: block; +} + +a { + color: var(--gold); + text-align: center; +} + +::selection { + color: var(--black-deep); + background: var(--gold); +} + +/* ---------- HEADER ---------- */ + +header { + position: sticky; + top: 0; + z-index: 999; + background: rgba(17, 17, 17, 0.94); + border-bottom: 1px solid rgba(223, 200, 65, 0.22); + backdrop-filter: blur(14px); + -webkit-backdrop-filter: blur(14px); +} + +.banner { + width: min(90%, var(--content-width)); + height: 4.75rem; + margin: 0 auto; + padding: 1rem 0; + + display: flex; + align-items: center; + justify-content: space-between; +} + +.logo { + color: var(--gold); + font-size: 1.15rem; + font-weight: 700; + letter-spacing: 0.08em; + text-decoration: none; + text-transform: uppercase; + transition: color 250ms ease, opacity 250ms ease; +} + +.logo:hover { + color: var(--white); +} + +nav { + display: flex; + align-items: center; + gap: 2.75rem; + list-style: none; +} + +.navLink { + position: relative; + color: var(--white); + font-size: 0.8rem; + font-weight: 600; + letter-spacing: 0.12em; + text-decoration: none; + text-transform: uppercase; + transition: color 250ms ease; +} + +.navLink::after { + content: ""; + position: absolute; + left: 0; + bottom: -0.45rem; + width: 100%; + height: 1px; + background: var(--gold); + transform: scaleX(0); + transform-origin: right; + transition: transform 300ms var(--ease); +} + +.navLink:hover, +.navLink:focus-visible { + color: var(--gold); +} + +.navLink:hover::after, +.navLink:focus-visible::after { + transform: scaleX(1); + transform-origin: left; +} + +/* ---------- MAIN LAYOUT ---------- */ + +main { + width: 100%; + margin: 0; + padding: 0; + + display: flex; + flex-direction: column; + align-items: center; + gap: 0; + + text-align: center; +} + +section { + position: relative; + width: 100%; + padding: 8rem max(5%, calc((100% - var(--content-width)) / 2)); + display: flex; + flex-direction: column; + align-items: center; + overflow: hidden; +} + +section > h1, +section > h2, +section > h3, +section > p { + width: min(100%, var(--text-width)); +} + +/* ---------- TYPOGRAPHY ---------- */ + +h1, +h2, +h3 { + color: var(--white); + font-weight: 600; + line-height: 1.15; +} + +h1 { + max-width: 900px !important; + margin-bottom: 1.5rem; + font-size: clamp(2.7rem, 6vw, 5rem); + letter-spacing: -0.045em; +} + +h2 { + margin-bottom: 2rem; + font-size: clamp(2rem, 4vw, 3.2rem); + letter-spacing: -0.035em; +} + +h3 { + font-size: 1.5rem; +} + +p { + color: #d4d4d4; + font-size: 1.02rem; + line-height: 1.9; +} + +p + p { + margin-top: 1.35rem; +} + +.eyebrow { + width: auto !important; + margin-bottom: 1.35rem; + color: var(--gold); + font-size: 0.72rem; + font-weight: 800; + letter-spacing: 0.28em; + line-height: 1.4; + text-transform: uppercase; +} + +.emphasis { + color: var(--gold); +} + +/* ---------- ABOUT PAGE SECTIONS ---------- + These selectors intentionally work with the existing + HTML so the page does not need to be rebuilt. +*/ + +/* Opening story */ +main > section:first-child { + min-height: 78vh; + justify-content: center; + padding-top: 9rem; + padding-bottom: 9rem; + + background: + radial-gradient( + circle at 50% 25%, + rgba(223, 200, 65, 0.055), + transparent 42% + ), + var(--black); +} + +main > section:first-child::before { + content: ""; + position: absolute; + top: 0; + left: 50%; + width: 1px; + height: 5rem; + background: linear-gradient( + to bottom, + transparent, + var(--gold-muted) + ); +} + +main > section:first-child h1 { + position: relative; +} + +main > section:first-child h1::after { + content: ""; + display: block; + width: 52px; + height: 1px; + margin: 2rem auto 0; + background: var(--gold); +} + +main > section:first-child p { + max-width: 720px; +} + +/* Luxury philosophy */ +main > section:nth-child(2) { + background: var(--black-deep); + padding-top: 8.5rem; + padding-bottom: 8.5rem; +} + +main > section:nth-child(2)::before { + content: "LUXURY"; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + color: rgba(255, 255, 255, 0.018); + font-size: clamp(5rem, 18vw, 15rem); + font-weight: 800; + letter-spacing: -0.08em; + white-space: nowrap; + pointer-events: none; +} + +main > section:nth-child(2) h2, +main > section:nth-child(2) p { + position: relative; + z-index: 1; +} + +main > section:nth-child(2) h2 { + max-width: 850px; +} + +main > section:nth-child(2) h2::after { + content: ""; + display: block; + width: 70px; + height: 2px; + margin: 2rem auto 2.5rem; + background: var(--gold); +} + +main > section:nth-child(2) p:first-of-type { + max-width: 680px; + color: var(--white); + font-size: clamp(1.35rem, 2.3vw, 1.8rem); + line-height: 1.55; +} + +/* Caring / Maine section */ +main > section:nth-child(3) { + background: var(--black); +} + +main > section:nth-child(3)::after { + content: ""; + position: absolute; + width: 320px; + height: 320px; + right: -190px; + bottom: -190px; + border: 1px solid rgba(223, 200, 65, 0.08); + border-radius: 50%; + pointer-events: none; +} + +/* Why I do it */ +main > section:nth-child(4) { + background: + linear-gradient( + to bottom, + var(--black-deep), + var(--black) + ); + padding-bottom: 9rem; +} + +main > section:nth-child(4) p:last-child { + margin-top: 2.25rem; + padding-top: 2.25rem; + border-top: 1px solid rgba(223, 200, 65, 0.18); + color: var(--white); + font-size: 1.08rem; +} + +/* ---------- FOOTER ---------- */ + +footer { + width: min(90%, var(--content-width)); + margin: 0 auto; + padding: 3rem 0 3.5rem; + + display: flex; + justify-content: space-between; + gap: 3rem; + + border-top: 1px solid rgba(223, 200, 65, 0.18); + + color: var(--gold); + text-align: center; +} + +#footer-left, +#footer-right { + width: 50%; +} + +#footer-left { + text-align: left; +} + +#footer-right { + text-align: right; +} + +footer a { + color: var(--gold); + text-decoration: none; + transition: color 250ms ease; +} + +footer a:hover { + color: var(--white); +} + +/* ---------- ACCESSIBILITY ---------- */ + +.skipLink { + position: absolute; + top: -50px; + left: 6px; + z-index: 1000; + + padding: 8px 12px; + border-radius: 4px; + + background: #fff; + color: var(--black); + font-weight: bold; + text-decoration: none; +} + +.skipLink:focus { + top: 6px; +} + +/* ---------- DESKTOP ---------- */ + +@media screen and (min-width: 851px) { + .banner { + width: min(90%, var(--content-width)); + } + + section { + min-height: 500px; + } +} + +/* ---------- MOBILE ---------- */ + +@media screen and (max-width: 850px) { + header { + border-bottom: 1px solid rgba(223, 200, 65, 0.18); + } + + .banner { + width: 90%; + height: 4.25rem; + } + + .logo { + font-size: 0.95rem; + } + + nav { + position: fixed; + top: -23rem; + left: 0; + z-index: -1; + + width: 100%; + padding: 4.8rem 0 4rem; + + display: flex; + flex-direction: column; + gap: 1.7rem; + + background: rgba(17, 17, 17, 0.98); + border-bottom: 1px solid var(--gold-muted); + box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); + + font-size: 1.2rem; + text-align: center; + + transition: top 450ms var(--ease); + } + + nav.active { + top: 2rem; + } + + .navLink { + font-size: 0.95rem; + } + + section, + main > section:first-child, + main > section:nth-child(2), + main > section:nth-child(3), + main > section:nth-child(4) { + min-height: 0; + padding: 6rem 7%; + } + + main > section:first-child { + padding-top: 7rem; + padding-bottom: 7rem; + } + + main > section:first-child::before { + height: 3.5rem; + } + + h1 { + font-size: clamp(2.4rem, 11vw, 3.6rem); + line-height: 1.08; + } + + h2 { + font-size: clamp(2rem, 9vw, 2.8rem); + } + + p { + font-size: 0.98rem; + line-height: 1.8; + } + + main > section:nth-child(2) p:first-of-type { + font-size: 1.25rem; + } + + main > section:nth-child(2)::before { + font-size: 28vw; + } + + footer { + width: 86%; + margin: 0 auto; + padding: 2.5rem 0 3rem; + flex-direction: column; + gap: 1.5rem; + font-size: 0.85rem; + } + + #footer-left, + #footer-right { + width: 100%; + text-align: center; + } +} + +/* ---------- REDUCED MOTION ---------- */ + +@media (prefers-reduced-motion: reduce) { + html { + scroll-behavior: auto; + } + + *, + *::before, + *::after { + transition-duration: 0.01ms !important; + animation-duration: 0.01ms !important; + } +} |
