/* Dottie Dog Software — palette: white #FFFFFF, alt #F5F4F0, ink #1C1A17,
   muted #5F5B55, gold #C68A2E, gold-deep #9A6318, wash #F2EAD8 */
:root {
  --page: #ffffff;
  --alt: #f5f4f0;
  --line: #e8e4dc;
  --ink: #1c1a17;
  --muted: #5f5b55;
  --faint: #8a857c;
  --gold: #c68a2e;
  --gold-deep: #9a6318;
  --wash: #f2ead8;
  --nose: #2a2118;
  --footer-bg: #1c1a17;
  --footer-text: #f5f4f0;
  --footer-muted: #a8a29a;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1120px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.375rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--gold-deep); }
img, svg { display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 8px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--ink); color: #fff;
  padding: 12px 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 2px solid var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-sm { padding: 8px 20px; font-size: 0.9375rem; }
.btn-lg { padding: 14px 32px; font-size: 1.0625rem; }

.text-link {
  color: var(--ink); font-weight: 600; text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0% 2px; background-repeat: no-repeat; background-position: left 100%;
  transition: background-size 0.25s ease, color 0.2s ease;
  padding-bottom: 2px;
}
.text-link:hover { background-size: 100% 2px; color: var(--gold-deep); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-name { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; }
.brand-name em { font-style: normal; font-weight: 400; color: var(--muted); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.9375rem;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 96px 0 72px; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
.lede { color: var(--muted); font-size: 1.125rem; max-width: 34rem; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin: 28px 0 20px; flex-wrap: wrap; }
.trusted {
  font-family: var(--mono); font-size: 0.8125rem; color: var(--faint);
  border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px;
}

/* Mascot art */
.hero-art { display: flex; justify-content: center; }
.blob {
  position: relative;
  width: 340px; height: 340px;
  background: var(--wash);
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 40px rgba(28, 26, 23, 0.08);
}
.mascot { width: 300px; height: 300px; animation: floaty 6s ease-in-out infinite; }
.paw { position: absolute; }
.paw-1 { top: 6%; right: 10%; transform: rotate(18deg); }
.paw-2 { bottom: 12%; left: 2%; transform: rotate(-14deg); }
.paw-3 { bottom: 4%; right: 22%; transform: rotate(8deg); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes wag {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}
.ear { transform-box: fill-box; transform-origin: 50% 0%; }
.ear-l { animation: wag 2.4s ease-in-out infinite; }
.ear-r { animation: wag 2.4s ease-in-out infinite reverse; }

/* Work rows */
.work { padding: 96px 0; }
.work h2 { margin-bottom: 8px; }
.row {
  display: grid; grid-template-columns: 72px 1fr 120px; gap: 32px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid var(--line);
}
.row:first-of-type { border-top: 1px solid var(--line); margin-top: 32px; }
.num { font-family: var(--mono); font-size: 1rem; color: var(--gold-deep); }
.row-copy h3 { margin-bottom: 8px; }
.row-copy p { color: var(--muted); margin: 0; max-width: 36rem; }
.spot {
  width: 96px; height: 96px; border-radius: 18px;
  background: var(--alt); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  justify-self: end;
}

/* About band */
.about { background: var(--alt); padding: 96px 0; }
.about-grid { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; }
.portrait {
  background: var(--page); border: 1px solid var(--line); border-radius: 32px;
  padding: 28px; display: flex; justify-content: center;
}
.about-copy p { color: var(--muted); max-width: 38rem; }
.facts { margin: 28px 0 0; display: grid; gap: 14px; }
.facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.facts dt { font-family: var(--mono); font-size: 0.8125rem; color: var(--gold-deep); padding-top: 4px; }
.facts dd { margin: 0; }

/* Contact */
.contact { padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.contact-grid p { color: var(--muted); max-width: 32rem; }
.contact-cta { text-align: right; }
.caption { font-size: 0.875rem; color: var(--faint); margin: 16px 0 0; }

/* Footer */
.footer { background: var(--footer-bg); color: var(--footer-text); padding: 40px 0; }
.footer-inner {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.brand-light { color: var(--footer-text); font-weight: 600; font-size: 0.9375rem; }
.footer-links { display: flex; gap: 20px; margin-left: auto; }
.footer-links a { color: var(--footer-muted); text-decoration: none; font-size: 0.875rem; }
.footer-links a:hover { color: var(--footer-text); }
.footer-note { width: 100%; margin: 8px 0 0; color: var(--footer-muted); font-size: 0.8125rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { justify-content: flex-start; }
  .blob { width: 220px; height: 220px; }
  .mascot { width: 190px; height: 190px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-cta { text-align: left; }
}
@media (max-width: 720px) {
  .row { grid-template-columns: 48px 1fr; }
  .spot { display: none; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
  .hero, .work, .about, .contact { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
