/* Protagonist Ink — Work With Us (/services/).
   Loads after ../styles.css, which supplies the tokens, type, header, footer and
   buttons. This file adds only the page's own compositions, following Services
   Wireframe 2b with Patrick's 13 Oct overrides: Opening → The Protagonist Arc
   (the one muted-red field) → Sprint → Read → Beyond the website → Before you
   get in touch → Invitation (charcoal). Paper is the base. Nothing moves. */

/* ---------- Shared pieces ---------- */

/* Keeps the second half of a statement together on wider screens, so lines
   break at the thought, not mid-phrase. Phones wrap freely. */
@media (min-width: 900px) { .svc-keep { white-space: nowrap; } }

/* On muted red and charcoal, focus rings and link hovers stay paper: red type
   never sits on a dark field. */
.svc-arc :focus-visible { outline-color: var(--paper); }
.svc-invite a:not(.btn):hover { color: var(--red-on-ink); }

/* Primary button on a dark or coloured field: paper fill, ink text. */
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--proof); color: var(--ink); }

/* Image slots. To place a final asset, replace the .fpo element with an <img>
   and keep its frame, so the layout doesn't move. */
.media { position: relative; overflow: hidden; border-radius: var(--radius-frame); background: var(--proof); }
.media > picture { position: absolute; inset: 0; display: block; }
.media > picture > img, .media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fpo { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: var(--space-5); text-align: center; color: var(--ink); }
.fpo-label { max-width: 30ch; font-size: 16px; font-weight: 500; line-height: 1.35; text-wrap: balance; }
.fpo-note { max-width: 36ch; font-size: 14px; line-height: 1.45; }

/* ---------- 1. Opening ----------
   The standard statement as the h1 with its red full stop; lede left, the
   primary button right. No client strip, no secondary email link. */
.svc-opening { padding-block: var(--space-6) var(--space-8); }
.svc-opening__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-5); align-items: end; }
.svc-opening__title { grid-column: 1 / -1; margin-top: 20px; }
.svc-opening__lede { grid-column: 1 / span 7; max-width: 46ch; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.45; text-wrap: pretty; }
.svc-opening__action { grid-column: 9 / span 4; justify-self: end; }

/* ---------- Engagements ----------
   Arc, Sprint and Read share one structure so a visitor can scan names, fit and
   results: eyebrow, name (the section's h2 in the standard statement style),
   statement; then the description beside What you get / Timing; then the
   button. Each section stands on its own for someone who lands on its ID. */
.svc-offer { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-7); align-items: start; }
.svc-offer__head { grid-column: 1 / span 8; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.svc-offer__statement { max-width: 34ch; font-family: var(--font-serif); font-weight: 400; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.2; letter-spacing: -0.012em; text-wrap: balance; }
.svc-offer__body { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: var(--space-3); max-width: 34em; font-size: 19px; line-height: 1.55; }
.svc-offer__facts { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: var(--space-6); }
/* The button leads; any note sits small, tucked beneath it. */
.svc-offer__actions { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.svc-offer__note { max-width: 52ch; font-size: 15px; line-height: 1.5; }
.svc-offer__note strong { font-weight: 500; }
.svc-offer__note span { display: block; }

.svc-fact { padding-top: var(--space-3); }
.svc-fact__title { font-size: 14px; line-height: 1.3; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.svc-fact > p { margin-top: 14px; font-size: 18px; line-height: 1.5; }
.svc-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 18px; line-height: 1.45; }
.svc-list > li { position: relative; padding-left: 20px; }
.svc-list > li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.svc-sublist { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.svc-sublist li { position: relative; padding-left: 20px; }
.svc-sublist li::before { content: ""; position: absolute; left: 1px; top: 0.72em; width: 9px; height: 1px; background: currentColor; }

/* Space and the opening typography separate Sprint and Read. */
.svc-sprint, .svc-read { padding-top: var(--space-9); }
.svc-offer--ruled { padding-top: var(--space-6); }

/* ---------- 2. The Protagonist Arc ----------
   The page's one strong colour moment. Paper type only (7.2:1 on muted red);
   the colour field separates it from the surrounding sections. */
.svc-arc { padding-block: var(--space-9); background: var(--muted-red); color: var(--paper); }

/* ---------- 4. The Story Read ----------
   Left: head, description, then the button with its lead-in and credit detail.
   Right (.svc-read__side): the illustration on a thin soft-blue mount, with
   What you get and Timing directly beneath it. On phones the side column
   dissolves and order puts the picture after the statement: name, statement,
   picture, description, specs, button. */
.svc-offer--read { grid-template-rows: auto auto 1fr; }
.svc-offer--read .svc-offer__head { grid-column: 1 / span 6; grid-row: 1; }
.svc-offer--read .svc-offer__body { grid-column: 1 / span 6; grid-row: 2; }
.svc-offer--read .svc-offer__actions { grid-column: 1 / span 6; grid-row: 3; }
.svc-read__side { grid-column: 8 / span 5; grid-row: 1 / span 3; display: flex; flex-direction: column; gap: var(--space-6); }
.svc-read__panel { padding: var(--space-3); border-radius: var(--radius-frame); background: var(--proof); }
.svc-read__panel img { width: 100%; height: auto; border-radius: var(--radius-soft); }
.svc-read__turn { font-weight: 500; }
.svc-offer__lead-in { margin-top: 4px; font-size: 17px; font-weight: 500; line-height: 1.4; }
.svc-offer__detail { max-width: 44ch; }

/* ---------- 5. Beyond the website ----------
   One headline for the section, a photograph across all twelve columns, then
   two columns that start level: the route in (1–5) and Brand Story Workshops
   (7–12). */
.svc-beyond { margin-top: var(--space-9); padding-block: var(--space-8) var(--space-9); }
.svc-beyond__title { max-width: none; }
.svc-beyond__spread { margin-top: var(--space-6); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.svc-beyond__photo { aspect-ratio: 4 / 5; }
.svc-beyond__grid { margin-top: var(--space-7); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-7); align-items: start; }
.svc-beyond__main { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.svc-beyond__body { max-width: 34em; font-size: 19px; line-height: 1.55; }
.svc-beyond__footnote { margin-top: calc(-1 * var(--space-2)); }

.svc-workshops { grid-column: 7 / span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.svc-workshops__title { max-width: 26ch; font-family: var(--font-serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
.svc-workshops__body { display: flex; flex-direction: column; gap: var(--space-3); max-width: 34em; font-size: 19px; line-height: 1.55; }

/* Annie's words: a deep-blue band, the quote at statement scale with a large
   soft-blue hanging mark. Paper type only; no red on indigo. */
.svc-voice { padding-block: var(--space-9); background: var(--indigo); color: var(--paper); }
.svc-voice__figure { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-6); }
.svc-voice__mark { grid-column: 1 / span 1; grid-row: 1; justify-self: end; margin-top: -0.12em; font-family: var(--font-serif); font-size: clamp(170px, 17vw, 270px); line-height: 0.8; color: var(--proof); }
.svc-voice__quote { grid-column: 2 / span 10; grid-row: 1; margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.svc-voice__credit { grid-column: 2 / span 10; display: flex; flex-direction: column; gap: 4px; padding-top: var(--space-4); max-width: 560px; }
.svc-voice__name { font-size: 18px; font-weight: 500; }
.svc-voice__role { font-size: 16px; line-height: 1.45; color: var(--paper-muted); }

/* ---------- Questions you might be asking ----------
   Four native disclosures: keyboard and touch work without script, and they
   open instantly. Each summary is a 64px row. */
.svc-questions { padding-block: var(--space-8) var(--space-9); }
.svc-questions__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-5); align-items: start; }
.svc-questions__title { grid-column: 1 / span 4; padding-top: 22px; }
.svc-faq { grid-column: 5 / span 8; border-bottom: 1px solid var(--rule); }
.svc-faq__item { border-top: 1px solid var(--rule); }
.svc-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; padding-block: 16px; list-style: none; cursor: pointer; font-size: 20px; font-weight: 500; line-height: 1.35; }
.svc-faq__item summary::-webkit-details-marker { display: none; }
.svc-faq__item summary::after { content: "+"; flex: none; width: 24px; text-align: center; font-size: 26px; font-weight: 400; line-height: 1; color: var(--graphite); }
.svc-faq__item[open] summary::after { content: "–"; }
.svc-faq__item summary:hover { color: var(--red-press); }
.svc-faq__item p { max-width: 38em; padding: 0 48px var(--space-5) 0; font-size: 18px; line-height: 1.55; }

/* ---------- 6. Invitation ----------
   The charcoal close. Copy and studio email left (1–5); Dubsado's form on a
   paper card right (7–12), because the hosted form draws charcoal text on a
   transparent ground. */
.svc-invite { padding-block: var(--space-9); }
.svc-invite__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--space-6); align-items: start; }
.svc-invite__copy { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.svc-invite__mark { width: 64px; height: auto; margin-bottom: var(--space-3); }
.svc-invite__text { max-width: 34em; font-size: 19px; line-height: 1.55; color: var(--paper-muted); }
.svc-invite__email { font-size: 19px; line-height: 1.55; }
.svc-invite__email a { font-weight: 500; }
.svc-invite__card { position: relative; grid-column: 7 / span 6; min-width: 0; padding: var(--space-5) var(--space-5) var(--space-3); border-radius: var(--radius-frame); background: var(--paper); color: var(--ink); }

/* ---------- Tablet ---------- */
@media (max-width: 1099px) {
  .svc-offer__head { grid-column: 1 / -1; }
  .svc-offer__body { grid-column: 1 / span 7; }
  .svc-offer__facts { grid-column: 8 / span 5; }
  .svc-offer--read .svc-offer__head { grid-column: 1 / span 7; }
  .svc-beyond__main { grid-column: 1 / span 6; }
  .svc-workshops { grid-column: 7 / span 6; }
  .svc-invite__copy { grid-column: 1 / span 6; }
}

/* ---------- Phones and small tablets: one column, recomposed ----------
   Each engagement reads name, statement, visual, description, what you get,
   button. Buttons go full width; the Read's soft-blue panel runs full bleed;
   nothing depends on hover. */
@media (max-width: 899px) {
  .svc-opening { padding-block: var(--space-5) var(--space-7); }
  .svc-opening__grid,
  .svc-offer,
  .svc-beyond__grid,
  .svc-questions__grid,
  .svc-invite__grid { grid-template-columns: minmax(0, 1fr); }
  .svc-opening__grid > *,
  .svc-offer > *,
  .svc-beyond__grid > *,
  .svc-questions__grid > *,
  .svc-invite__grid > * { grid-column: 1 !important; grid-row: auto !important; }
  .svc-opening__title { margin-top: 16px; }
  .svc-opening__action { justify-self: stretch; }

  .svc-offer { row-gap: var(--space-6); }
  .svc-offer__head { gap: 16px; }
  .svc-offer__body { font-size: 18px; }
  .svc-offer__actions { flex-direction: column; align-items: stretch; gap: var(--space-3); }
  main .btn { width: 100%; }

  .svc-arc { padding-block: var(--space-8); }
  .svc-sprint, .svc-read { padding-top: var(--space-8); }
  .svc-offer--ruled { padding-top: var(--space-5); }

  .svc-read__side { display: contents; }
  .svc-read__side > * { grid-column: 1 !important; }
  .svc-offer--read .svc-offer__head { order: 1; }
  .svc-read__figure { order: 2; }
  .svc-offer--read .svc-offer__body { order: 3; }
  .svc-offer--read .svc-offer__facts { order: 4; }
  .svc-offer--read .svc-offer__actions { order: 5; }
  .svc-read__panel { margin-inline: calc(-1 * var(--margin)); padding: var(--space-3) var(--margin); border-radius: 0; }

  .svc-beyond { margin-top: var(--space-8); padding-block: var(--space-7) var(--space-8); }
  .svc-beyond__spread { margin-top: var(--space-5); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .svc-beyond__grid { margin-top: var(--space-6); }
  .svc-workshops__title { font-size: clamp(28px, 7.4vw, 32px); }
  .svc-voice { padding-block: var(--space-8); }
  .svc-voice__figure { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-4); }
  .svc-voice__mark, .svc-voice__quote, .svc-voice__credit { grid-column: 1; grid-row: auto; justify-self: start; }
  .svc-voice__mark { height: 0.42em; margin-top: 0; font-size: 120px; line-height: 0.8; }
  .svc-voice__quote { font-size: clamp(30px, 8.4vw, 38px); line-height: 1.12; }
  .svc-beyond__body, .svc-workshops__body { font-size: 18px; }

  .svc-questions { padding-block: var(--space-7) var(--space-8); }
  .svc-questions__title { padding-top: 0; }
  .svc-faq__item summary { font-size: 18px; }
  .svc-faq__item p { padding-right: 0; font-size: 17px; }

  .svc-invite { padding-block: var(--space-8); }
  .svc-invite__mark { width: 48px; }
  .svc-invite__text, .svc-invite__email { font-size: 18px; }
  .svc-invite__card { margin-inline: calc(-1 * var(--space-3)); padding: var(--space-4) var(--space-3) var(--space-2); }
}
