/* Service landing pages (/web-design/, /branding/, …), built by tools/build.mjs. Uses styles.css tokens. */

.sv .header { background: rgba(247, 245, 238, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* Hero */
.sv-hero { padding: clamp(130px, 14vw, 190px) 0 clamp(64px, 8vw, 110px); }
.sv-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--ink); }
.crumbs a:hover { color: var(--olive); }
.sv-title { font-size: clamp(40px, 5.2vw, 76px); font-weight: 800; line-height: 1; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: break-word; }
.sv-lead { margin-top: 28px; max-width: 600px; font-size: clamp(17px, 1.45vw, 20px); color: var(--muted); }
.sv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.sv-card { position: relative; overflow: hidden; background: var(--deep); color: var(--cream); border-radius: 32px; padding: clamp(28px, 3vw, 40px); }
.sv-card-leaf { position: absolute; right: -28px; top: -28px; width: 150px; height: 150px; opacity: .9; transform: rotate(12deg); }
.sv-card-leaf svg { width: 100%; height: 100%; }
.sv-facts { position: relative; display: grid; gap: 16px; margin-top: 64px; }
.sv-facts li { display: flex; gap: 14px; align-items: baseline; font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.sv-facts li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--sage); transform: translateY(-2px); }
.sv-note { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(243, 239, 224, .18); color: rgba(243, 239, 224, .75); font-size: 15px; }
.sv-card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--sage); }
.sv-card-link .arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.sv-card-link:hover .arrow { transform: translateX(4px); }

/* What's included */
.sv-incl-section { padding-top: 0; }
.sv-incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sv-item { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 30px; }
.sv-item h3 { font-size: clamp(21px, 1.8vw, 26px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 40px 0 10px; }
.sv-item p { color: var(--muted); font-size: 16px; }

/* Works (reuses the home page cards) */
.sv-works-section { padding-top: 0; }
.sv-works > .work { margin-top: 0 !important; }

/* Steps */
.sv-steps-section { padding-top: 0; }
.sv-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.sv-steps li { border-top: 1.5px solid var(--deep); padding-top: 22px; }
.sv-steps .step-num { font-size: 14px; font-weight: 800; letter-spacing: .1em; color: var(--olive); }
.sv-steps h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.03em; margin: 14px 0 8px; }
.sv-steps p { color: var(--muted); font-size: 16px; }

/* Other services */
.sv-more-section { padding-top: 0; }
.sv-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.sv-more a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); font-size: clamp(22px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.035em; transition: color .4s; }
.sv-more a:hover { color: var(--olive); }
.sv-more a:hover .circle-arrow { transform: rotate(45deg); opacity: 1; background: var(--sage); border-color: var(--sage); color: var(--deep); }

/* Call to action */
.sv-cta-section { padding-bottom: clamp(48px, 6vw, 80px); }
.sv-cta { background: var(--deep); color: var(--cream); border-radius: 36px; padding: clamp(36px, 6vw, 88px); }
.sv-cta .title { color: var(--cream); }
.sv-cta .title em { color: var(--sage); }
.sv-cta > p:not(.eyebrow) { margin-top: 22px; max-width: 560px; color: rgba(243, 239, 224, .75); }
.btn-line { border: 1.5px solid rgba(243, 239, 224, .3); color: var(--cream); }
.btn-line::before { background: var(--cream); }
.btn-line:hover { color: var(--deep); border-color: var(--cream); }

/* Footer service links */
.sv-foot-nav { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.sv-foot-nav a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; transition: background .3s, color .3s; }
.sv-foot-nav a:hover, .sv-foot-nav a[aria-current] { background: var(--deep); color: var(--cream); border-color: var(--deep); }

/* Blog list */
.blog-hero { padding-bottom: clamp(32px, 4vw, 56px); }
.blog-list-section { padding-top: 0; }
.blog-list-section .title { margin-bottom: 32px; }
.blog-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(26px, 3vw, 38px); transition: border-color .4s, transform .6s var(--ease); }
.post-card:hover { border-color: var(--olive); transform: translateY(-4px); }
.post-card h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; text-wrap: balance; }
.post-card p:not(.post-meta) { color: var(--muted); font-size: 16px; }
.post-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--olive); }
.post-more .arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.post-card:hover .post-more .arrow { transform: translateX(4px); }
.post-meta { font-size: 14px; font-weight: 600; color: var(--muted); }

/* Article */
.post { padding-top: clamp(120px, 13vw, 170px); }
.post-head, .post-body, .post-faq { max-width: 820px; }
.post-head .post-meta { margin-bottom: 16px; }
.post-title { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; overflow-wrap: break-word; }
.post-body { margin-top: clamp(40px, 5vw, 64px); }
.prose { font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: 56px 0 18px; }
.prose h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin: 32px 0 8px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--olive); font-weight: 700; }
.prose a { color: var(--olive); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--deep); }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 16px; background: var(--paper); border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.prose th, .prose td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: var(--deep); color: var(--cream); font-weight: 700; font-size: 14px; }
.prose tr:last-child td { border-bottom: 0; }
.post-faq { margin-top: 56px; margin-bottom: clamp(64px, 8vw, 110px); }
.post-faq h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }

@media (max-width: 640px) {
  .prose { font-size: 17px; }
  .prose table { display: block; overflow-x: auto; }
  .prose th, .prose td { padding: 12px; min-width: 120px; }
}

@media (max-width: 1080px) {
  .sv-incl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}
@media (max-width: 900px) {
  .sv-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .sv-more, .blog-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .sv-incl, .sv-steps { grid-template-columns: minmax(0, 1fr); }
  .sv-actions .btn { flex: 1 1 100%; }
  .sv-facts { margin-top: 40px; }
}
