/* =========================================================
   Top Spec Designs — styles.css
   A polished, restrained, design-forward identity.
   ========================================================= */

:root {
  --bg:           #f7f5f0;
  --bg-alt:       #efece4;
  --surface:      #ffffff;
  --ink:          #0e1310;
  --ink-2:        #2a302d;
  --muted:        #5e655f;
  --line:         #e3dfd5;
  --line-strong:  #c9c4b6;

  --accent:       #7d2027;   /* burgundy */
  --accent-2:     #5e181d;
  --accent-soft:  #f1e0e2;
  --warn:         #b8693a;   /* warm clay accent */

  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    22px;

  --shadow-sm:    0 1px 2px rgba(14, 19, 16, .04), 0 2px 8px rgba(14, 19, 16, .04);
  --shadow:       0 4px 12px rgba(14, 19, 16, .06), 0 16px 40px rgba(14, 19, 16, .06);
  --shadow-lg:    0 8px 24px rgba(14, 19, 16, .08), 0 32px 64px rgba(14, 19, 16, .10);

  --serif:        "Fraunces", Georgia, "Times New Roman", serif;
  --sans:         "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw:         1180px;

  --ease:         cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color .2s var(--ease);
}
a:hover { color: var(--accent); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* =========================================================
   Typography
   ========================================================= */

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
  font-weight: 500;
  font-variation-settings: "opsz" 36;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); line-height: 1.1;  letter-spacing: -0.02em; }
h3 { font-size: 1.35rem; line-height: 1.25; font-weight: 600; }
h4 { font-size: 1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

em { font-style: italic; color: var(--accent); font-family: var(--serif); }

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--accent); color: #fff; box-shadow: var(--shadow); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { background: var(--accent-soft); color: var(--accent); }

.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-arrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform .15s var(--ease);
}
.btn:hover .btn-arrow { transform: translate(3px, -1px); }

/* =========================================================
   Header / Nav
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 245, 240, .94);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark {
  display: inline-block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
img.brand-mark { object-fit: contain; }
.brand-name-light { color: var(--muted); font-weight: 400; }

.nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 28px;
}
.nav a {
  font-size: .94rem;
  font-weight: 500;
  color: var(--ink-2);
}
.nav a:hover { color: var(--ink); }

.nav-cta { padding: 10px 18px; font-size: .9rem; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  padding: 16px 24px 28px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mobile-nav a { font-size: 1.05rem; }
.mobile-nav .btn { width: 100%; margin-top: 6px; }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(60% 60% at 30% 40%, rgba(31, 77, 58, .07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-2);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-sub strong { color: var(--ink); font-weight: 700; }

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-size: .92rem;
}
.hero-meta span { color: var(--accent); margin-right: 6px; }

/* Hero browser mock */
.hero-visual {
  position: relative;
  padding: 0 8px;
}

.browser-mock {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(.4deg);
  border: 1px solid var(--line);
}
.browser-bar {
  background: var(--bg-alt);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.browser-bar > span {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d4cfc0;
}
.browser-bar > span:nth-child(1) { background: #e2a896; }
.browser-bar > span:nth-child(2) { background: #e8d6a3; }
.browser-bar > span:nth-child(3) { background: #b3cdb5; }
.browser-url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: .78rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 14px;
  border-radius: 999px;
}
.browser-body {
  padding: 28px 26px 32px;
  display: grid;
  gap: 22px;
}
.mock-hero { display: grid; gap: 8px; }
.mock-eyebrow {
  font-family: var(--sans);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--accent);
  margin-bottom: 4px;
  line-height: 1;
}
.mock-h1 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.05;
}
.mock-h1.short { font-style: italic; color: var(--accent); }
.mock-p { height: 9px; border-radius: 3px; background: var(--line-strong); width: 100%; }
.mock-p.short { width: 70%; }
.mock-btn {
  margin-top: 10px;
  height: 36px;
  border-radius: 999px;
  background: var(--ink);
  color: #fafaf7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  padding: 0 22px;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-card {
  height: 78px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

/* =========================================================
   Section heads
   ========================================================= */

section { padding: 100px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { margin-bottom: 18px; }
.section-sub {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0;
}

/* =========================================================
   Services
   ========================================================= */

.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.service-num {
  font-family: var(--sans);
  font-size: .76rem;
  color: var(--muted);
  letter-spacing: .18em;
  font-weight: 600;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  width: max-content;
  margin-bottom: 4px;
}
.service-card h3 { margin-bottom: 4px; }
.service-card p { color: var(--muted); margin: 0; }
.service-list {
  list-style: none;
  padding: 16px 0 0;
  margin: auto 0 0;
  border-top: 1px solid var(--line);
}
.service-list li {
  padding: 7px 0 7px 22px;
  position: relative;
  color: var(--ink-2);
  font-size: .94rem;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 12px;
  height: 1.5px;
  background: var(--accent);
}

/* =========================================================
   Work
   ========================================================= */

.work { background: var(--bg-alt); }

/* =========================================================
   Work grid: 3 cards (1 customer + 2 samples)
   ========================================================= */

.work-feature-quote {
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 24px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  text-align: left;
}
.work-feature-quote blockquote {
  margin: 0;
}
.work-feature-quote blockquote p {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ink);
}
.work-feature-quote figcaption {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.work-card {
  display: flex;
  height: 100%;
}
.work-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.work-card-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

img.work-card-preview {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: var(--bg-alt);
}

.work-card-body {
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.work-card-label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}
.work-card-label--customer {
  color: var(--accent);
  font-weight: 700;
}
.work-card-body h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ink);
}
.work-card-body p {
  font-size: .94rem;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
  flex: 1;
}
.work-card-cta {
  margin-top: 10px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s var(--ease);
}
.work-card-link:hover .work-card-cta { gap: 10px; }

@media (max-width: 980px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-feature-quote { padding: 20px 22px; }
}

/* =========================================================
   Legal pages
   ========================================================= */
.legal { padding: 80px 0 100px; }
.legal-container { max-width: 720px; }
.legal h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin: 8px 0 6px;
}
.legal-updated {
  color: var(--muted);
  font-size: .9rem;
  margin: 0 0 32px;
}
.legal h2 {
  font-size: 1.4rem;
  margin: 40px 0 12px;
}
.legal p, .legal ul {
  color: var(--ink-2);
  font-size: 1rem;
}
.legal ul {
  padding-left: 22px;
  margin: 12px 0 20px;
}
.legal li {
  margin-bottom: 8px;
}
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--accent-2); }

/* =========================================================
   Process
   ========================================================= */

.process { background: var(--bg); }
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.process-list li {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
  transition: transform .25s var(--ease);
}
.process-list li:hover { transform: translateY(-4px); }
.process-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--accent);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 18px;
  opacity: .7;
}
.process-list h3 { margin-bottom: 8px; }
.process-list p { color: var(--muted); margin: 0; font-size: .94rem; }

/* =========================================================
   Pricing
   ========================================================= */

.pricing { background: var(--bg-alt); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px 34px;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.price-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 11px;
  border-radius: 999px;
  margin: 0 0 18px;
}
.price-tag-light { color: var(--bg); background: rgba(255,255,255,.10); }

.price-card h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: 8px; }
.price-amount {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  margin: 8px 0 14px;
  letter-spacing: -0.02em;
}
.price-amount span {
  display: block;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 8px;
}
.price-sub { color: var(--muted); margin: 0 0 24px; }

.price-features {
  list-style: none;
  padding: 22px 0;
  margin: 0 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.price-features li {
  padding-left: 26px;
  position: relative;
  color: var(--ink-2);
  font-size: .96rem;
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 8px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

.price-foot {
  margin: 16px 0 0;
  font-size: .82rem;
  color: var(--muted);
  text-align: center;
}

.price-card-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.price-card-dark h3,
.price-card-dark .price-amount { color: #fff; }
.price-card-dark .price-sub { color: rgba(255,255,255,.7); }
.price-card-dark .price-amount span { color: rgba(255,255,255,.55); }
.price-card-dark .price-features { border-color: rgba(255,255,255,.12); }
.price-card-dark .price-features li { color: rgba(255,255,255,.85); }
.price-card-dark .price-features li::before { border-color: #fff; }
.price-foot-light { color: rgba(255,255,255,.6); }

/* =========================================================
   Why
   ========================================================= */

.why { background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.why-title { margin: 0; }
.why-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 32px;
}
.why-points h3 { font-family: var(--sans); font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.why-points p { color: var(--muted); margin: 0; }

/* =========================================================
   FAQ
   ========================================================= */

.faq { background: var(--bg-alt); }
.faq-heading {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  text-align: center;
  letter-spacing: -0.02em;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 8px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-list details[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  position: relative;
  padding-right: 56px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform .2s var(--ease);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  padding: 0 22px 22px;
  margin: 0;
  color: var(--muted);
}

/* =========================================================
   Contact
   ========================================================= */

.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-intro h2 { margin-bottom: 18px; }
.contact-intro p { color: var(--muted); margin: 0 0 30px; max-width: 440px; }

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.contact-details li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-label {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 70px;
}
.contact-details a { color: var(--ink); font-weight: 500; }
.contact-details a:hover { color: var(--accent); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.form-row label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: .01em;
}
.optional { color: var(--muted); font-weight: 400; }

.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.hidden-field { position: absolute; left: -9999px; }

.form-foot {
  text-align: center;
  font-size: .82rem;
  color: var(--muted);
  margin: 14px 0 0;
}

.form-success {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 22px;
  font-weight: 500;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 70px 0 28px;
}
.site-footer .brand,
.site-footer .brand:hover { color: #fff; }
.site-footer .brand-name-light { color: rgba(255,255,255,.55); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-tag {
  margin: 18px 0 0;
  max-width: 360px;
  color: rgba(255,255,255,.55);
}

.site-footer h4 { color: #fff; margin-bottom: 16px; }
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.site-footer ul a {
  color: rgba(255,255,255,.7);
  font-size: .94rem;
}
.site-footer ul a:hover { color: #fff; }

.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  margin-top: 48px;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,.18);
}
.footer-bottom::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.footer-bottom a { color: rgba(255,255,255,.65); }
.footer-bottom a:hover { color: #fff; }

/* =========================================================
   Reveal-on-scroll
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Service cards stagger as they enter */
.services-grid .reveal:nth-child(2) { transition-delay: .10s; }
.services-grid .reveal:nth-child(3) { transition-delay: .20s; }

/* Work-card CTA arrow nudge already lives in the .work-card-cta hover rule */

/* =========================================================
   Hero mock: builds itself when it enters the viewport
   ========================================================= */
@keyframes mock-pop {
  0%   { opacity: 0; transform: translateY(10px) scale(.98); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-visual .mock-eyebrow,
.hero-visual .mock-h1,
.hero-visual .mock-p,
.hero-visual .mock-btn,
.hero-visual .mock-card {
  opacity: 0;
  transform: translateY(10px) scale(.98);
}

.hero-visual.is-visible .mock-eyebrow             { animation: mock-pop .55s var(--ease) .25s both; }
.hero-visual.is-visible .mock-h1:nth-of-type(1)   { animation: mock-pop .55s var(--ease) .42s both; }
.hero-visual.is-visible .mock-h1:nth-of-type(2)   { animation: mock-pop .55s var(--ease) .58s both; }
.hero-visual.is-visible .mock-p:nth-of-type(1)    { animation: mock-pop .55s var(--ease) .78s both; }
.hero-visual.is-visible .mock-p:nth-of-type(2)    { animation: mock-pop .55s var(--ease) .92s both; }
.hero-visual.is-visible .mock-btn                 { animation: mock-pop .55s var(--ease) 1.12s both; }
.hero-visual.is-visible .mock-grid .mock-card:nth-child(1) { animation: mock-pop .55s var(--ease) 1.32s both; }
.hero-visual.is-visible .mock-grid .mock-card:nth-child(2) { animation: mock-pop .55s var(--ease) 1.46s both; }
.hero-visual.is-visible .mock-grid .mock-card:nth-child(3) { animation: mock-pop .55s var(--ease) 1.60s both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .browser-mock { transform: none; }
  .hero-visual .mock-eyebrow,
  .hero-visual .mock-h1,
  .hero-visual .mock-p,
  .hero-visual .mock-btn,
  .hero-visual .mock-card { opacity: 1; transform: none; animation: none; }
  .work-card-link, .work-card-cta { transition: none; }
  .work-card-link:hover { transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}


@media (max-width: 720px) {
  section { padding: 72px 0; }
  .hero { padding: 48px 0 80px; }
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .why-points { grid-template-columns: 1fr; gap: 28px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .contact-form { padding: 28px 22px; }
  .price-card { padding: 32px 26px 28px; }
}
