/* ABOUTME: Defines Tidewater Bike Works' warm waterfront-inspired brand styling. */
/* ABOUTME: Creates a responsive, accessible presentation using only the supplied palette. */
:root { color-scheme: light; --primary: #1f6f8b; --accent: #9f6613; --background: #fbf8f3; --text: #1c2b33; --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --font-display: Georgia, "Times New Roman", serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--text); font: 1rem/1.65 var(--font-body); }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; letter-spacing: -.04em; }
h1 { max-width: 12ch; font-size: clamp(3.25rem, 9vw, 7.5rem); }
h2 { font-size: clamp(2.25rem, 5vw, 4.25rem); }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { max-width: 42rem; }
.container { width: min(74rem, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; top: -6rem; left: 1rem; z-index: 3; padding: 1rem; background: var(--primary); color: var(--background); }
.skip-link:focus { top: 1rem; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 1.25rem; border-bottom: 2px solid var(--primary); }
.wordmark { color: var(--primary); font-weight: 750; line-height: 1.2; text-decoration: none; white-space: nowrap; }
nav { display: flex; gap: 1.5rem; }
nav a { color: var(--primary); font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { display: grid; align-content: center; padding-block: clamp(4rem, 8vw, 7rem); }
.hero p { margin-top: 2rem; color: var(--primary); font-size: clamp(1.15rem, 2.4vw, 1.5rem); }
.services { padding-block: clamp(4rem, 9vw, 7rem); border-top: 2px solid var(--primary); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.service { min-height: 15rem; padding: 2rem; background: var(--primary); color: var(--background); }
.service p { margin-top: 1rem; }
.about { margin-bottom: 3rem; padding: clamp(3rem, 8vw, 6rem); background: var(--text); color: var(--background); }
.about p { margin-top: 2rem; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 2rem; color: var(--primary); font-size: .875rem; }
@media (max-width: 720px) { .site-header { gap: 1rem; } nav { gap: 1rem; } .service-grid { grid-template-columns: 1fr; } .service { min-height: auto; } .about { margin-inline: -.5rem; } }
@media (max-width: 420px) { .container { width: calc(100% - 2rem); } .site-header { padding-block: 1rem; } .wordmark, nav { font-size: .78rem; } nav { gap: .65rem; } .hero { padding-block: 4rem; } }
