:root {
  --river: #164a52;
  --deep: #102f36;
  --cream: #f4f0e6;
  --paper: #faf8f2;
  --charcoal: #202629;
  --muted: #687174;
  --sunset: #d98a45;
  --line: rgba(32, 38, 41, .14);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --max: 1180px;
  --shadow: 0 18px 45px rgba(16, 47, 54, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
  line-height: 1.65;
}
a { color: inherit; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.sr-only, .skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { position: fixed; width: auto; height: auto; clip: auto; top: 10px; left: 10px; z-index: 100; padding: 10px 14px; background: var(--cream); color: var(--deep); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,242,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 54px; height: 36px; display: grid; place-items: center; }
.brand-mark svg { width: 54px; height: 36px; overflow: visible; }
.brand-mark .water, .brand-mark .boat, .brand-mark .stand, .brand-mark .sun { fill: none; stroke: var(--river); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark .boat { fill: var(--river); stroke: none; }
.brand-mark .screen { fill: var(--cream); stroke: var(--deep); stroke-width: 2; }
.brand-mark .sun { stroke: var(--sunset); }
.brand-name { display: grid; line-height: 1.05; }
.brand-name strong { font-family: var(--serif); font-size: 1.02rem; letter-spacing: -.03em; }
.brand-name span { font-size: .72rem; letter-spacing: .10em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 26px; font-size: .88rem; font-weight: 600; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-cta):hover, .text-link:hover { color: var(--river); }
.nav-cta { padding: 10px 17px; background: var(--river); color: var(--cream); border-radius: 3px; }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; }

.hero { position: relative; overflow: hidden; background: var(--cream); min-height: 650px; display: flex; align-items: center; }
.hero-watermark { position: absolute; inset: auto 0 0; height: 48%; opacity: .07; color: var(--river); }
.hero-watermark svg { width: 100%; height: 100%; fill: currentColor; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px; padding: 92px 0 100px; position: relative; z-index: 1; }
.eyebrow { margin: 0 0 17px; color: var(--river); font-size: .73rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero h1, h2 { font-family: var(--serif); letter-spacing: -.045em; line-height: 1.12; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(3.4rem, 7vw, 6.5rem); }
.hero h1 em { color: var(--river); font-style: normal; }
.hero-lede { max-width: 600px; margin: 25px 0 30px; font-size: 1.2rem; color: #4e575a; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 21px; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-weight: 700; font-size: .9rem; }
.button-primary { background: var(--river); color: var(--cream); }
.button-primary:hover { background: var(--deep); }
.button-secondary { border-color: var(--line); background: transparent; }
.button-secondary:hover { border-color: var(--river); color: var(--river); }
.button-light { background: var(--cream); color: var(--deep); }
.hero-note { margin: 23px 0 0; font-size: .79rem; color: var(--muted); }
.hero-note span { color: var(--sunset); font-size: .7rem; margin-right: 5px; }

.hero-art { height: 430px; position: relative; }
.hero-art-label {
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.08;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  color: var(--deep);
}
.hero-art-label br { display: block; }
.hero-art-label::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 12px auto 0;
  background: var(--sunset);
}
.sun-disc { position: absolute; width: 125px; height: 125px; border-radius: 50%; background: var(--sunset); opacity: .88; right: 14%; top: 22%; }
.horizon { position: absolute; left: 3%; right: 0; bottom: 38%; border-top: 2px solid rgba(16,47,54,.3); }
.river-line { position: absolute; left: 2%; right: 0; height: 1px; background: rgba(22,74,82,.25); transform: skewY(-2deg); }
.river-one { bottom: 25%; }
.river-two { bottom: 15%; width: 75%; left: 15%; }
.boat-art { position: absolute; width: 290px; height: 180px; left: 23%; bottom: 18%; transform: rotate(-3deg); }
.boat-hull { position: absolute; left: 10px; bottom: 10px; width: 270px; height: 55px; background: var(--river); clip-path: polygon(0 0,100% 0,82% 100%,18% 100%); }
.boat-cabin { position: absolute; left: 92px; bottom: 55px; width: 110px; height: 75px; border: 8px solid var(--deep); border-bottom: 0; background: var(--paper); }
.mini-screen { position: absolute; left: 22px; top: 18px; width: 50px; height: 34px; background: var(--cream); border: 4px solid var(--river); }
.boat-post { position: absolute; left: 143px; bottom: 130px; height: 35px; border-left: 4px solid var(--deep); }

.section { padding: 120px 0; }
.section-intro { max-width: 720px; margin-bottom: 58px; }
.section h2 { font-size: clamp(2.3rem, 4vw, 4rem); margin: 0 0 22px; }
.section-intro > p:last-child, .local p, .business p { color: var(--muted); font-size: 1.03rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--paper); min-height: 360px; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; }
.service-card.featured { background: var(--cream); }
.service-number { font-family: var(--serif); color: var(--sunset); font-size: .8rem; }
.card-kicker { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; margin: 0 0 8px; }
.service-card h3 { font-family: var(--serif); font-size: 1.65rem; margin: 0 0 13px; }
.service-card p:not(.card-kicker) { color: var(--muted); font-size: .94rem; }
.text-link { color: var(--deep); font-size: .86rem; font-weight: 700; text-decoration: none; }
.text-link span { margin-left: 5px; }

.philosophy { background: var(--deep); color: var(--cream); }
.philosophy-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.philosophy .eyebrow { color: var(--sunset); }
.philosophy h2 { color: var(--cream); }
.large-copy { font-family: var(--serif); font-size: 1.35rem !important; line-height: 1.5; color: var(--cream) !important; }
.principles { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(244,240,230,.18); margin-top: 38px; }
.principles div { padding: 25px 22px 24px 0; border-bottom: 1px solid rgba(244,240,230,.18); }
.principles div:nth-child(odd) { border-right: 1px solid rgba(244,240,230,.18); padding-right: 25px; }
.principles div:nth-child(even) { padding-left: 25px; }
.principles span { color: var(--sunset); font-size: .72rem; margin-right: 10px; }
.principles strong { font-size: .9rem; }
.principles p { color: rgba(244,240,230,.68); font-size: .82rem; margin: 8px 0 0; }

.repair-replace { background: var(--river); color: var(--cream); padding: 90px 0; }
.repair-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 90px; }
.repair-grid .eyebrow { color: var(--sunset); }
.repair-grid h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin: 0 0 22px; }
.repair-grid p { color: rgba(244,240,230,.75); max-width: 650px; }
.repair-illustration { height: 280px; position: relative; }
.old-computer { position: absolute; left: 4%; top: 32px; }
.crt { width: 190px; height: 145px; background: var(--deep); border: 9px solid #244c51; border-radius: 16px 16px 10px 10px; padding: 15px; }
.crt-glow { width: 100%; height: 100%; background: #163e43; border-radius: 5px; }
.crt-base { width: 110px; height: 20px; background: #244c51; margin: 0 auto; }
.arrow-path { position: absolute; left: 46%; top: 90px; color: var(--sunset); font-size: 3.5rem; transform: rotate(-8deg); }
.new-computer { position: absolute; right: 4%; top: 48px; }
.modern-screen { width: 185px; height: 120px; border: 8px solid var(--cream); background: #d7e0dc; border-radius: 3px; }
.modern-stand { width: 70px; height: 55px; border-bottom: 9px solid var(--cream); border-left: 9px solid transparent; border-right: 9px solid transparent; margin: -2px auto 0; }

.business { background: var(--cream); }
.business-grid, .local-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.business .large-copy { color: var(--charcoal) !important; }
.tech-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.tech-list span, .locations span { border: 1px solid var(--line); padding: 7px 11px; font-size: .75rem; background: rgba(255,255,255,.3); }
.light-link { color: var(--river); }

.local { border-top: 1px solid var(--line); }
.locations { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

.contact { padding-top: 40px; }
.contact-box { background: var(--deep); color: var(--cream); padding: 60px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 60px; }
.contact .eyebrow { color: var(--sunset); }
.contact h2 { margin: 0 0 15px; font-size: clamp(2.3rem, 4vw, 3.7rem); }
.contact p:not(.eyebrow):not(.contact-small) { color: rgba(244,240,230,.72); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.contact-actions .button-secondary { color: var(--cream); border-color: rgba(244,240,230,.25); }
.contact-small { width: 100%; margin: 5px 0 0; font-size: .72rem; color: rgba(244,240,230,.48); }

.site-footer { padding: 55px 0; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; }
.footer-tagline { margin: 20px 0 0; color: var(--muted); font-family: var(--serif); font-size: .9rem; }
.footer-meta { text-align: right; color: var(--muted); font-size: .76rem; }
.footer-meta p { margin: 0 0 6px; }
.copyright { margin-top: 22px !important; }

@media (max-width: 900px) {
  .site-nav { gap: 16px; }
  .hero-grid, .philosophy-grid, .repair-grid, .business-grid, .local-grid, .contact-box { grid-template-columns: 1fr; gap: 45px; }
  .hero { min-height: auto; }
  .hero-art { height: 300px; order: -1; }
  .hero-grid { padding-top: 65px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }
  .philosophy-grid, .business-grid, .local-grid { gap: 45px; }
  .contact-box { padding: 45px 35px; }
  .footer-grid { flex-direction: column; }
  .footer-meta { text-align: left; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .nav-wrap { min-height: 68px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 4px; }
  .menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: var(--deep); }
  .site-nav { position: absolute; left: 16px; right: 16px; top: 68px; display: none; flex-direction: column; align-items: stretch; padding: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero-grid { padding: 55px 0 75px; }
  .hero-art { height: 230px; }
  .sun-disc { width: 80px; height: 80px; }
  .boat-art { transform: scale(.72) rotate(-3deg); transform-origin: bottom left; left: 7%; bottom: 8%; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-lede { font-size: 1.05rem; }
  .section { padding: 82px 0; }
  .principles { grid-template-columns: 1fr; }
  .principles div:nth-child(odd) { border-right: 0; padding-right: 0; }
  .principles div:nth-child(even) { padding-left: 0; }
  .repair-replace { padding: 65px 0; }
  .repair-illustration { transform: scale(.78); transform-origin: center left; }
  .contact-box { padding: 35px 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
