/* Service pages: /services and /services/* */
.services { --muted-ink: #514a42; --paper-line: #b8ac9e; --space: clamp(3rem, 6vw, 6rem); }
.services h1, .services h2, .services h3 { font-family: var(--serif); font-weight: 400; line-height: 1.01; letter-spacing: -0.045em; margin: 0; }
.services h2 { font-size: clamp(2.25rem, 4.35vw, 4.75rem); }
.services p { margin: 0; }
.services .section-label, .services .purpose { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; line-height: 1.4; text-transform: uppercase; }
.services .section-label { color: var(--amber); margin-bottom: 1rem; }
.service-lead { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.18fr); gap: 6%; align-items: center; padding-block: clamp(1.6rem, 4.4vw, 4.6rem) var(--space); }
.service-lead h1 { font-size: clamp(3.8rem, 7.3vw, 8.4rem); line-height: 0.96; }
.service-lead h1 i { color: var(--cream); }
.lead-copy > p:not(.section-label) { color: #dfd6ca; margin: 1.55rem 0; max-width: 39ch; font-size: clamp(1.12rem, 1.5vw, 1.4rem); }
.services .solid-link, .services .outline-link { display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 0.83rem 1.18rem; min-height: 46px; font-weight: 700; text-decoration: none; }
.services .solid-link { background: var(--cream); color: var(--ink); }
.services a:hover { text-decoration: underline; text-underline-offset: 0.24em; }
.proof { margin: 0; min-width: 0; }
.proof-stage { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.52; background: #53473c; display: grid; align-items: center; }
.setting { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.57); z-index: -1; }
.proof-screen { width: 78%; margin-left: 6%; border: clamp(3px, 0.45vw, 7px) solid #302922; border-radius: 6px; overflow: hidden; box-shadow: 0 15px 35px #160c0990; transform: rotate(-3deg); }
.proof-screen img { width: 100%; height: auto; display: block; }
.mobile-proof { position: absolute; width: 23%; bottom: 7%; right: 5%; border: clamp(2px, 0.28vw, 5px) solid #2d2824; border-radius: clamp(4px, 0.65vw, 12px); transform: rotate(4deg); box-shadow: 0 10px 24px #190f0c90; }
.proof-stage:not(:has(.mobile-proof)) .proof-screen { width: 84%; margin: auto; }
.proof figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.3em 1em; font-size: 0.85rem; padding-top: 0.65rem; color: #d6cabd; }
.proof figcaption span:first-child { font-weight: 700; color: var(--cream); }
.choices { background: var(--cream); color: var(--ink); padding-block: var(--space); scroll-margin-top: 0.5rem; }
.section-opening, .section-columns, .other-services, .technical-entry, .contact-line { display: grid; align-items: start; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr); gap: 8%; }
.section-opening { padding-bottom: clamp(1.75rem, 3.4vw, 3rem); align-items: end; }
.section-opening > p, .fit, .deliverable p, .other-services details p, .contact-line p { max-width: 53ch; font-size: 1.1rem; line-height: 1.5; }
.section-opening > p, .fit, .deliverable p { color: var(--muted-ink); }
.plan-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 19rem; column-gap: clamp(1.5rem, 3.5vw, 3.5rem); align-items: center; border-top: 1px solid var(--paper-line); padding-block: clamp(1.4rem, 2.6vw, 2.55rem); scroll-margin-top: 1rem; }
.plan-row:last-child { border-bottom: 1px solid var(--paper-line); }
.plan-row h3, .deliverable h3 { font-size: clamp(1.65rem, 2.65vw, 2.8rem); }
.plan-row h3 a { text-decoration: none; }
.services .purpose, .choices .section-label { color: var(--green); margin-bottom: 0.45rem; }
.plan-row p:not(.purpose) { color: var(--muted-ink); max-width: 42ch; }
.plan-row strong { display: block; margin-top: 0.45rem; }
/* Plan rows share one column grid with the section intro, so text and buttons line up row to row. */
.choices .section-opening { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 19rem; gap: clamp(1.5rem, 3.5vw, 3.5rem); }
.choices .section-opening > p { grid-column: 2 / span 2; }
.plan-row .outline-link { justify-self: stretch; white-space: nowrap; }
.services .outline-link { border: 1px solid #83796b; }
.other-services { padding-block: var(--space); }
.technical-entry { padding-block: var(--space) 0; align-items: end; }
.technical-entry h2 { font: clamp(2rem, 3.6vw, 3.4rem)/1.04 var(--serif); letter-spacing: -0.035em; margin: 0; max-width: 18ch; }
.technical-entry p:not(.section-label) { max-width: 50ch; font-size: 1.1rem; line-height: 1.5; margin: 0 0 22px; }
.other-services h2, .section-columns h2 { max-width: 13ch; }
.other-services details { border-top: 1px solid #716357; }
.other-services details:last-child { border-bottom: 1px solid #716357; }
.other-services summary { position: relative; padding: 1.1rem 2.25rem 1.1rem 0; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 2rem); cursor: pointer; list-style: none; }
.other-services summary::-webkit-details-marker { display: none; }
.other-services summary:after { content: "+"; position: absolute; right: 0.35rem; font: 1.5rem var(--sans); color: var(--amber); }
.other-services details[open] summary:after { content: "−"; }
.other-services details > div { padding-bottom: 1.35rem; }
.other-services details p, .contact-line p { color: #ddd3c8; }
.services .text-link { display: inline-block; padding-block: 0.55rem; text-underline-offset: 0.24em; font-weight: 700; }
.service-contact { background: #302922; padding-block: clamp(2rem, 4.5vw, 4.5rem); }
.contact-line { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.contact-line p, .services .fit { margin-top: 0.85rem; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 0.28em; color: #ded4c7; }
.detail-lead { padding-top: 1.15rem; }
.detail-lead h1 { font-size: clamp(3.1rem, 5.85vw, 6.8rem); }
.deliverable { padding-block: 1.35rem; border-top: 1px solid var(--paper-line); }
.deliverable:first-child { padding-top: 0; border: 0; }
.deliverable:last-child { padding-bottom: 0; }
.deliverable p { margin-top: 0.55rem; }
.services .example-copy { max-width: 49ch; font-size: clamp(1.16rem, 1.8vw, 1.5rem); line-height: 1.45; }
.alternative { padding-block: 1.35rem; display: flex; gap: 0.3rem 1rem; align-items: center; flex-wrap: wrap; }
@media (prefers-reduced-motion: no-preference) {
  .proof-screen { animation: proof-arrive 0.65s ease-out both; }
  .mobile-proof { animation: phone-arrive 0.75s 0.06s ease-out both; }
  @keyframes proof-arrive { from { transform: translateY(14px) rotate(-1deg); } }
  @keyframes phone-arrive { from { transform: translateY(20px) rotate(1deg); } }
}
@media (max-width: 1100px) {
  .plan-row, .choices .section-opening { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .choices .section-opening > p { grid-column: 2; }
  .plan-row .outline-link { grid-column: 2; justify-self: start; min-width: 19rem; margin-top: 0.7rem; }
}
@media (max-width: 750px) {
  .service-lead, .section-opening, .section-columns, .other-services, .technical-entry { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-lead { padding-top: 1rem; }
  .service-lead h1 { font-size: clamp(3.5rem, 13vw, 5.8rem); }
  .lead-copy > p:not(.section-label) { margin: 1rem 0 1.2rem; }
  .detail-lead h1 { font-size: clamp(2.9rem, 11vw, 5rem); }
  .proof-stage { aspect-ratio: 1.66; }
  .plan-row { display: block; }
  .plan-row .outline-link { min-width: 0; }
  .choices .section-opening { grid-template-columns: 1fr; gap: 0.8rem; }
  .choices .section-opening > p { grid-column: auto; }
  .plan-row > div + div { margin-block: 0.7rem 0.1rem; }
  .section-opening { gap: 0.8rem; }
  .contact-line { display: grid; gap: 1.15rem; justify-items: start; }
  .alternative { display: block; }
  .alternative span { display: block; }
}
@media (min-width: 751px) {
  .service-lead:not(.detail-lead) h1 { font-size: clamp(3.2rem, 5.95vw, 6.7rem); }
}

/* Management: publishing a finished project (website content update, not the room makeover). */
.publish-demo { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 6%; align-items: center; padding-block: var(--space); }
.publish-copy h2 { font: clamp(2.2rem, 4vw, 3.8rem)/1 var(--serif); letter-spacing: -0.04em; margin: 0; }
.publish-copy h2 i { display: block; }
.publish-copy p:not(.section-label) { max-width: 46ch; font-size: 1.1rem; line-height: 1.5; margin: 18px 0 24px; }
.publish-switch { display: inline-flex; border: 1px solid currentColor; }
.publish-switch button { min-height: 46px; padding: 0 18px; border: 0; background: transparent; color: inherit; font-weight: 700; transition: background-color 180ms ease, color 180ms ease; }
.publish-switch button + button { border-left: 1px solid currentColor; }
.publish-switch button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.publish-frame { margin: 0; }
.publish-chrome { display: flex; align-items: center; gap: 14px; height: 32px; padding: 0 12px; background: #2b241f; }
.publish-chrome span { display: flex; gap: 5px; }
.publish-chrome i { width: 8px; height: 8px; border-radius: 50%; background: #5d5148; }
.publish-chrome b { flex: 1; max-width: 300px; margin-inline: auto; text-align: center; font: 400 0.72rem var(--sans); color: #cbbfb1; background: #1f1a16; border-radius: 6px; padding: 3px 8px; }
.publish-page { background: #e6dfcf; color: #243528; padding: clamp(18px, 3vw, 34px); }
.ff-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid #24352833; padding-bottom: 12px; margin-bottom: 18px; }
.ff-mark { font: 700 1.05rem var(--serif); letter-spacing: 0.08em; text-transform: uppercase; }
.ff-nav { font: 700 0.62rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.ff-label { font: 700 0.68rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 12px; }
.publish-state { animation: publish-in 220ms ease both; }
.publish-state:not(.is-active) { display: none; }
@keyframes publish-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ff-new { display: grid; grid-template-columns: 46% 1fr; gap: 16px; align-items: center; color: inherit; text-decoration: none; padding-bottom: 14px; border-bottom: 1px solid #24352833; margin-bottom: 4px; }
.ff-new img { width: 100%; height: auto; display: block; }
.ff-new em { display: inline-block; font: 700 0.62rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; background: #243528; color: #e6dfcf; padding: 3px 7px; margin-bottom: 8px; font-style: normal; }
.ff-new b { display: block; font: clamp(1.3rem, 2.2vw, 1.9rem)/1.05 var(--serif); }
.ff-new span span { font-size: 0.85rem; }
.ff-list { list-style: none; margin: 0; padding: 0; }
.ff-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #24352833; }
.ff-list b { font: 1.15rem var(--serif); font-weight: 400; }
.ff-list span { font-size: 0.85rem; }
.publish-frame figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; font-size: 0.85rem; }
@media (max-width: 750px) {
  .publish-demo { grid-template-columns: 1fr; gap: 28px; }
  .publish-switch { display: flex; width: 100%; }
  .publish-switch button { flex: 1; padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .publish-state { animation: none; }
  .publish-switch button { transition: none; }
}
