/* Full-cycle services and floating windows: scoped to the approved surface. */
#services { --services-line:rgba(32,32,29,.2); --services-muted:#5d5b55; padding:clamp(72px,8vw,128px) 0; scroll-margin-top:72px; }
.services-intro { display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(32px,6vw,96px); align-items:end; }
#services .section-title { max-width:700px; font-size:clamp(44px,5.6vw,80px); line-height:1.02; letter-spacing:-.035em; text-wrap:balance; }
.services-intro-copy { max-width:540px; }
.services-intro-copy > p { margin:0 0 24px; color:var(--services-muted); font-size:clamp(16px,1.5vw,19px); line-height:1.65; }
.services-contact-link { display:inline-flex; align-items:center; justify-content:space-between; gap:24px; min-height:48px; padding:8px 0; border-bottom:1px solid var(--paper-ink); color:var(--paper-ink); font-size:14px; line-height:1.5; text-decoration:none; }
.services-contact-link svg,.website-action svg { width:22px; height:22px; flex:none; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
.website-window-bar svg { width:14px; height:14px; flex:none; fill:none; stroke:currentColor; stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; }
.services-contact-link:hover { color:#87472f; border-bottom-color:currentColor; }
.services-contact-link:focus-visible,.website-card:focus-visible { outline:2px solid #87472f; outline-offset:8px; box-shadow:none; }
#services .services-grid { grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:64px; border-top:1px solid var(--services-line); gap:0; }
#services .service { min-height:0; margin:0; padding:32px 32px 32px 0; border:0; border-bottom:1px solid var(--services-line); justify-content:start; }
#services .service h3 { font-size:clamp(24px,2.5vw,32px); letter-spacing:-.03em; line-height:1.2; overflow-wrap:break-word; }
#services .service p { max-width:34ch; color:var(--services-muted); font-size:14px; line-height:1.6; }
.website-work { margin-top:96px; }
.website-work-header { display:flex; justify-content:space-between; align-items:end; gap:32px; margin-bottom:40px; }
.website-work-header h3 { margin:0; max-width:700px; font:500 clamp(36px,4.5vw,60px)/1.08 var(--display); letter-spacing:-.03em; text-wrap:balance; }
.website-work-header p { max-width:340px; margin:0; color:var(--services-muted); font-size:14px; line-height:1.6; }
.website-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:48px 32px; }
.website-card { display:block; min-width:0; color:var(--paper-ink); text-decoration:none; }
.website-preview { position:relative; margin:0; border-radius:16px; overflow:hidden; background:var(--ink); box-shadow:0 8px 16px -8px rgba(26,24,20,.18),0 24px 48px -24px rgba(26,24,20,.25); transform-origin:center; transition:transform .5s cubic-bezier(.22,1,.36,1); }
.website-window-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:36px; padding:10px 16px; background:#f7f4ee; color:#59574f; font:10px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif; letter-spacing:.02em; }
.website-window-dots { display:flex; gap:5px; }
.website-window-dots i { width:6px; height:6px; border-radius:50%; background:#cb8179; }
.website-window-dots i:nth-child(2) { background:#cbb17a; }
.website-window-dots i:nth-child(3) { background:#8da892; }
.website-preview img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:contain; }
.website-caption { display:flex; align-items:start; justify-content:space-between; gap:24px; padding:24px 0 0; }
.website-caption h4 { margin:0 0 8px; font:500 clamp(22px,2.4vw,30px)/1.15 var(--display); letter-spacing:-.025em; overflow-wrap:anywhere; }
.website-caption p { margin:0; color:var(--services-muted); font-size:13px; line-height:1.5; }
.website-action { display:inline-flex; align-items:center; gap:12px; min-height:44px; flex:none; border-bottom:1px solid var(--services-line); font-size:12px; line-height:1.4; }
.website-action svg { transition:transform .4s cubic-bezier(.22,1,.36,1); }
#website-work-title { scroll-margin-top:104px; }
@media (hover:hover) and (pointer:fine) {
  .website-card:hover .website-preview,.website-card:focus-visible .website-preview { transform:translateY(-4px) scale(1.006); }
  .website-card:hover .website-action,.website-card:focus-visible .website-action { border-bottom-color:var(--paper-ink); }
  .website-card:hover .website-action svg { transform:translate(2px,-2px); }
  .website-card:active .website-preview { transform:translateY(-1px) scale(.995); transition-duration:100ms; }
}
@media (max-width:1000px) {
  .services-intro { grid-template-columns:1fr; gap:24px; }
  .services-intro-copy { max-width:700px; }
  .website-caption { flex-direction:column; gap:12px; }
  .website-work-header { align-items:start; flex-direction:column; gap:16px; }
  .website-work-header p { max-width:540px; }
}
@media (max-width:760px) {
  #services .services-grid { grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:40px; }
  #services .service { padding:24px 24px 24px 0; }
  .website-work { margin-top:64px; }
  .website-grid { grid-template-columns:1fr; gap:40px; }
  .website-preview { transform:none!important; }
  .website-caption { flex-direction:row; gap:16px; padding-top:20px; }
  .website-work-header { margin-bottom:32px; }
}
@media (max-width:600px) {
  #services .services-grid { grid-template-columns:1fr; }
  #services .service { padding:24px 0; }
  #services .service p { max-width:42ch; }
  .website-caption { flex-direction:column; gap:8px; }
  .website-preview { box-shadow:0 12px 28px -16px rgba(26,24,20,.25); }
}
@media (prefers-reduced-motion:reduce) {
  .website-preview { transition:none; transform:none!important; }
  .website-action svg { transition:none; transform:none!important; }
}
@media (prefers-contrast:more) {
  .website-window-bar { background:#fff; color:#20201d; }
  .website-preview { outline:1px solid var(--paper-ink); }
  .website-action { border-bottom-color:var(--paper-ink); }
}
