/* Sunart Works — small overrides on top of Tailwind CDN */

:root {
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --muted: #6b6b6b;
  --rule: #e5e5e5;
  --bg: #ffffff;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Lora", Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3, h4, h5, h6, .headline {
  font-family: "Lexend", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1 { line-height: 1.1; }
h2 { line-height: 1.2; }
h3 { line-height: 1.3; }

.nav-link,
.nav-link a,
button {
  font-family: "Lexend", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

.nav-link {
  font-size: 0.95rem;
  letter-spacing: 0;
}

.prose-body p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.prose-body p + p { margin-top: 1.15em; }

a { color: inherit; }
a:hover { opacity: 0.7; transition: opacity 150ms ease; }

.rule {
  border-top: 1px solid var(--rule);
}

.testimonial-bg {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("/assets/home/testimonial-background.webp");
  background-size: cover;
  background-position: center;
}

/* Mobile menu */
#mobile-menu[hidden] { display: none; }

/* Form */
input, textarea {
  font: inherit;
  color: inherit;
}
input:focus, textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Case study card */
.cs-card img.cs-cover {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

/* Reduce CDN flash */
.no-fouc { visibility: hidden; }
.fouc-ready { visibility: visible; }
