body.services-page main { max-width:none; margin:0; padding:0; }
body.services-page main .wrap { width:calc(100% - 48px); max-width:var(--oddsprig-content-width,1502px); margin-inline:auto; padding-inline:0; }
body.services-document main .wrap,
body.contact-page main .wrap { max-width:var(--oddsprig-content-width,1502px); }
body.services-page .page-intro { margin-block:0; padding-block:24px 16px; }
body.services-page .page-intro h1 { margin:0; font-size:clamp(1.75rem,4vw,2.5rem); line-height:1.2; }
body.services-page .page-intro p { max-width:65ch; margin:8px 0 0; }
body.services-page main > .section { margin-block:0; padding-block:0 32px; }
body.services-page main a:not(.button) { text-decoration:underline; text-underline-offset:3px; }
body.services-page main :is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid #e5ce8e; outline-offset:3px; }

body.services-page .service-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
body.services-page .service-card { min-width:0; display:flex; flex-direction:column; padding:24px; }
body.services-page .service-top { margin:0 0 12px; }
body.services-page .service-card h2 { margin:0 0 8px; font-family:inherit; font-size:1.25rem; font-weight:600; line-height:1.3; }
body.services-page .service-description { margin:0 0 12px; }
body.services-page .included { margin:0; }
body.services-page .included li { padding-block:4px; }
body.services-page .service-bottom { margin-top:auto; padding-top:16px; }
body.services-page main .button { min-height:44px; max-width:100%; padding:10px 16px; line-height:1.4; white-space:normal; }

body.services-page .process-list { display:grid; grid-template-columns:1fr; gap:0; margin:0; padding:0; list-style:none; }
body.services-page .process-list > li { display:grid; grid-template-columns:2.25rem minmax(0,1fr); gap:12px; padding:16px 0; }
body.services-page .process-list h2,
body.services-page .sample-heading h2 { margin:0 0 4px; font-family:inherit; font-size:1.125rem; font-weight:600; line-height:1.35; }
body.services-page .process-list p { margin:0; }
body.services-page .faq-list details { margin:0; }
body.services-page .faq-list summary { min-height:44px; padding:12px 32px 12px 0; font-size:1rem; line-height:1.5; }
body.services-page .faq-answer { padding:0 0 16px; }
body.services-page .faq-answer p { margin:0; }

body.services-page .sample-list { display:grid; gap:24px; }
body.services-page .sample { margin:0; padding:0; }
body.services-page .sample-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin:0 0 12px; }
body.services-page .comparison { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
body.services-page .comparison > figure { min-width:0; margin:0; }
body.services-page .section-end { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; margin:24px 0 0; }
body.services-page .section-end p { margin:0; }

body.contact-page .contact-layout { display:block; }
body.contact-page .page-intro .email-link { margin:0; font-size:1rem; line-height:1.5; }
body.contact-page .contact-form { box-sizing:border-box; width:100%; max-width:none; margin:0; padding:20px; }
body.contact-page .form-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0; }
body.contact-page .field { min-width:0; margin:0 0 16px; }
body.contact-page .field label { display:block; margin:0 0 6px; }
body.contact-page .contact-form :is(input,select,textarea) { box-sizing:border-box; min-width:0; width:100%; max-width:100%; font-size:16px; }
body.contact-page .contact-form :is(input,select) { min-height:44px; }
body.contact-page .contact-form textarea { min-height:8rem; }
body.contact-page .form-help { max-width:65ch; margin:16px 0 0; }

/* These three service sub-pages share the homepage container, with a reading
   column for longer text. Keep their overrides separate from reviewed pages. */
body.services-subpage { min-height:100vh; display:flex; flex-direction:column; }
body.services-subpage main { flex:1 0 auto; }
body.services-subpage .reading-column { width:100%; max-width:52rem; margin-inline:auto; }
body.services-page.services-subpage .page-intro { padding-block:40px 24px; }
body.services-subpage .page-intro h1 { font:600 clamp(1.5rem,3vw,1.875rem)/1.2 var(--serif); letter-spacing:normal; }
body.services-subpage main > .section { padding-block:0 64px; }

/* Reset all homepage subgrid tracks, spans and number spacing. */
body.services-process .process-list { grid-template-rows:none; border-top:1px solid var(--line); }
body.services-process .process-list > li { grid-template-rows:none; grid-row:auto; padding-block:20px; border-top:0; border-bottom:1px solid var(--line); }
body.services-process .process-list > li > div { display:block; grid-template-rows:none; grid-row:auto; }
body.services-process .process-number { margin-bottom:0; padding-top:3px; }
body.services-process .process-list h2 { margin:0 0 6px; font:600 1.35rem/1.25 var(--serif); letter-spacing:normal; }
body.services-process .process-list p { max-width:65ch; font-size:1rem; }
body.services-process .section-end { border-top:0; margin-top:24px; padding-top:0; }
body.services-process .section-end p { font:inherit; }

body.services-faq .faq-list summary { padding-block:16px; letter-spacing:normal; }
body.services-faq .faq-answer { max-width:65ch; padding-bottom:20px; font-size:1rem; }

body.services-redesigns main > .redesigns.section { padding-block:48px 56px; }
body.services-redesigns .sample-list { gap:28px; }
body.services-redesigns .sample + .sample { padding-top:28px; }
body.services-redesigns .sample-heading { margin-bottom:20px; }
body.services-redesigns .sample-heading h2 { margin:0; font:600 clamp(1.4rem,2.2vw,1.75rem)/1.2 var(--serif); letter-spacing:normal; }
body.services-redesigns :is(.bakery-body,.plumber-body) strong { font-size:1.5rem; line-height:1.2; letter-spacing:normal; }
body.services-redesigns .bread-art { width:100%; max-width:180px; justify-self:end; }

@media (max-width:650px) {
  body.services-page.services-subpage .page-intro { padding-block:28px 20px; }
  body.services-subpage main > .section { padding-bottom:40px; }
  body.services-redesigns main > .redesigns.section { padding-block:32px 40px; }
  body.services-redesigns :is(.bakery-body,.plumber-body) strong { font-size:1.25rem; }
}

/* Contact uses the homepage's container edges and dark form surface. */
body.contact-page .oddsprig-nav-wrap,
body.contact-page main .wrap,
body.contact-page .site-footer.wrap { width:calc(100% - 48px); max-width:var(--oddsprig-content-width,1502px); margin-inline:auto; }
body.contact-page .page-intro { padding-block:24px 20px; }
body.contact-page .contact.section { background:transparent; color:var(--paper); color-scheme:dark; padding-block:12px 32px; --focus:var(--lime); }
body.contact-page .contact-form { padding:24px; background:var(--surface); border:1px solid var(--line); border-radius:15px; }
body.contact-page .contact-form h2 { margin:0 0 20px; color:var(--gold); font-size:1.5rem; line-height:1.3; letter-spacing:normal; }
body.contact-page .field { gap:0; }
body.contact-page .field label { color:var(--paper); font-size:.875rem; }
body.contact-page .field label span { color:var(--muted); font-size:inherit; }
body.contact-page .contact-form :is(input,select,textarea) { background:var(--bg); border-color:#667e7b; border-radius:8px; color:var(--paper); }
body.contact-page .contact-form textarea::placeholder { color:var(--muted); }
body.contact-page :is(.form-help,.form-status) { color:var(--muted); font-size:.875rem; }
body.contact-page .form-help a { color:var(--lime); }
body.contact-page .contact-form .button-dark { background:var(--lime); color:var(--bg); }
body.contact-page :is(.site-footer nav a,.footer-bottom) { font-size:.875rem; }

@media (max-width:850px) {
  body.contact-page .oddsprig-nav-wrap,
  body.contact-page main .wrap,
  body.contact-page .site-footer.wrap { width:calc(100% - 32px); }
}

@media (max-width:650px) {
  body.services-page main .wrap { width:calc(100% - 32px); }
  body.services-page .page-intro { padding-block:20px 12px; }
  body.services-page .service-grid,
  body.services-page .comparison,
  body.contact-page .form-row { grid-template-columns:minmax(0,1fr); }
  body.services-page .service-card { padding:20px; }
  body.contact-page .contact-form { padding:16px; }
  body.contact-page .form-row { gap:0; }
  body.contact-page .contact-form .button { width:100%; }
  body.contact-page .page-intro { padding-block:20px 12px; }
  body.contact-page .oddsprig-main-nav:has(.site-index) { gap:4px; }
}
