/* Agency website styles — authored against shadcn theme tokens so a pasted
   tweakcn theme drives colour, font, radius and shadow natively. Designed to
   look premium out of the box; server-rendered for top performance. */

:root {
  --background: #ffffff;
  --foreground: #0a0a0a;
  --card: #ffffff;
  --card-foreground: #0a0a0a;
  --primary: #16a34a;
  --primary-foreground: #ffffff;
  --secondary: #f6f7f8;
  --secondary-foreground: #0a0a0a;
  --muted: #f4f4f5;
  --muted-foreground: #6b7280;
  --accent: #f4f4f5;
  --border: #e7e8ea;
  --radius: 0.7rem;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 6px 20px -6px rgba(16, 24, 40, 0.12);
  --shadow-lg: 0 30px 60px -24px rgba(16, 24, 40, 0.22);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---- nav ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  max-width: 1160px;
  margin: 0 auto;
  background: color-mix(in srgb, var(--background) 82%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.site-brand { font-weight: 750; font-size: 20px; letter-spacing: -0.03em; }
.site-nav nav { display: flex; gap: 26px; flex-wrap: wrap; }
.site-nav nav a { color: var(--muted-foreground); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.site-nav nav a:hover { color: var(--foreground); }

main { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ---- buttons ---- */
.s-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: calc(var(--radius) - 0.1rem);
  padding: 13px 24px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform .12s ease, filter .15s, box-shadow .15s;
}
.s-btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.s-btn.ghost {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
  box-shadow: none;
}
.s-btn.ghost:hover { background: var(--secondary); filter: none; }

/* ---- hero ---- */
.s-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 88px 0 56px;
}
.s-hero.solo { grid-template-columns: 1fr; text-align: center; max-width: 780px; margin: 0 auto; }
.s-hero.solo .s-lede { margin-left: auto; margin-right: auto; }
.s-hero.solo .s-hero-cta { justify-content: center; }
.s-hero::before {
  content: "";
  position: absolute;
  inset: -10% 10% auto;
  height: 420px;
  background: radial-gradient(ellipse 55% 100% at 50% 0%,
    color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.s-hero-text h1 {
  font-size: clamp(38px, 5.6vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin-bottom: 22px;
}
.s-eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 650;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.s-lede { font-size: 19px; color: var(--muted-foreground); margin-bottom: 30px; max-width: 48ch; }
.s-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.s-hero-art img {
  width: 100%;
  border-radius: calc(var(--radius) + 0.4rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

/* ---- section rhythm ---- */
.s-section { padding: 68px 0; }
.s-h2 {
  font-size: clamp(28px, 3.8vw, 40px);
  letter-spacing: -0.035em;
  font-weight: 780;
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.1;
}
.s-section-sub { text-align: center; color: var(--muted-foreground); font-size: 17px; max-width: 62ch; margin: 0 auto 46px; }

/* ---- features ---- */
.s-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.s-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s;
}
.s-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.s-card h3 { font-size: 19px; font-weight: 680; margin-bottom: 10px; letter-spacing: -0.02em; }
.s-card p { color: var(--muted-foreground); font-size: 15.5px; }

/* ---- stats ---- */
.s-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 0.3rem);
  background: var(--secondary);
  padding: 40px 28px;
}
.s-stat { text-align: center; }
.s-stat b { display: block; font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; letter-spacing: -0.04em; color: var(--primary); line-height: 1; }
.s-stat span { display: block; margin-top: 8px; color: var(--muted-foreground); font-size: 14px; }

/* ---- services / pricing ---- */
.s-list { display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin: 0 auto; }
.s-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.s-list-row h3 { font-size: 18px; font-weight: 650; margin-bottom: 5px; letter-spacing: -0.015em; }
.s-list-row p { color: var(--muted-foreground); font-size: 15px; }
.s-price { font-weight: 780; font-size: 20px; color: var(--primary); white-space: nowrap; letter-spacing: -0.02em; }

/* ---- about ---- */
.s-about-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 48px; align-items: start; }
.s-about-body { font-size: 18px; color: var(--muted-foreground); line-height: 1.7; }

/* ---- testimonials ---- */
.s-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.s-quote {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin: 0;
  box-shadow: var(--shadow-sm);
}
.s-quote blockquote { font-size: 17px; line-height: 1.55; margin: 0 0 18px; letter-spacing: -0.01em; }
.s-quote figcaption { display: flex; flex-direction: column; gap: 2px; }
.s-quote figcaption strong { font-size: 14.5px; }
.s-quote figcaption span { font-size: 13px; color: var(--muted-foreground); }

/* ---- gallery ---- */
.s-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.s-gitem { margin: 0; }
.s-gitem img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.s-gitem figcaption { font-size: 13px; color: var(--muted-foreground); margin-top: 7px; }

/* ---- cta panel ---- */
.s-cta {
  position: relative;
  text-align: center;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 0.5rem);
  padding: 64px 32px;
  overflow: hidden;
}
.s-cta::before {
  content: "";
  position: absolute;
  inset: auto 0 -60% 0;
  height: 200px;
  background: radial-gradient(ellipse 50% 100% at 50% 100%,
    color-mix(in srgb, var(--primary) 18%, transparent), transparent 70%);
}
.s-cta > * { position: relative; }
.s-cta .s-h2 { margin-bottom: 12px; }

/* ---- contact form ---- */
.s-form-wrap { max-width: 560px; margin: 0 auto; }
.s-form { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.s-form-row input, .s-form-row textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 0.15rem);
  color: var(--foreground);
  padding: 13px 15px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.s-form-row input:focus, .s-form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
}
.s-form .s-btn { align-self: flex-start; cursor: pointer; }
.s-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.s-form-done { text-align: center; font-size: 17px; padding: 28px; color: var(--foreground); }

/* ---- footer ---- */
.site-foot {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted-foreground);
  font-size: 13.5px;
}
.site-foot-made { opacity: 0.75; }

/* ---- subtle scroll reveal (progressive; zero JS, no perf cost) ---- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    main > section {
      animation: s-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
    @keyframes s-rise {
      from { opacity: 0; transform: translateY(22px); }
      to { opacity: 1; transform: none; }
    }
  }
}

@media (max-width: 780px) {
  .s-hero { grid-template-columns: 1fr; padding-top: 52px; text-align: left; }
  .s-hero-art { order: -1; }
  .s-about-grid { grid-template-columns: 1fr; gap: 18px; }
  .s-list-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-nav, main, .site-foot { padding-left: 20px; padding-right: 20px; }
  .site-nav nav { gap: 16px; }
}

/* ---- faq section (docs/seo.md — pairs with FAQPage JSON-LD) ---- */
.s-faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
.s-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  background: var(--card);
}
.s-faq-item summary { cursor: pointer; font-weight: 600; }
.s-faq-item p { margin: 10px 0 0; color: var(--muted-foreground); }
