/* Components for the "established firm" pages (approach, illustrative plans, sectors).
   Kept in its own file so it doesn't collide with rebrand edits to styles.css.
   Uses the brand tokens from styles.css only: no new colours. */

/* The method: four stages in a row, stacking on small screens */
.method { list-style: none; margin: 1.6em 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: stage; }
.method-step { position: relative; counter-increment: stage; background: var(--label); border: var(--border); border-radius: var(--radius); padding: 22px 20px 20px; display: flex; flex-direction: column; min-width: 0; }
.method-step:first-child { box-shadow: 5px 5px 0 var(--accent); }
.method-step::before { content: counter(stage); position: absolute; top: -14px; left: 18px; width: 28px; height: 28px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); border: var(--border); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .9rem; }
.method-step:not(:last-child)::after { content: "\2192"; position: absolute; right: -24px; top: 50%; transform: translateY(-50%); font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.method-step h3 { margin: .4em 0 .2em; font-size: 1.25rem; }
.method-word { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-text); margin: 0; }
.method-step p { color: var(--muted); margin: 0 0 .8em; font-size: .97rem; }
.method-services { margin: auto 0 0; padding: .7em 0 0; list-style: none; border-top: var(--border-soft); font-size: .88rem; }
.method-services li { margin: .2em 0; }
.method-services a { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.method-services a:hover { text-decoration: underline; }
.method-loop { margin: 22px 0 0; padding: 12px 16px; border: 1.5px dashed var(--ink); border-radius: var(--radius); text-align: center; font-weight: 600; }
@media (max-width: 960px) {
  .method { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .method-step:nth-child(2)::after { display: none; }
}
@media (max-width: 600px) {
  .method { grid-template-columns: 1fr; row-gap: 44px; }
  .method-step:not(:last-child)::after { content: "\2193"; right: auto; left: 50%; top: auto; bottom: -38px; transform: translateX(-50%); display: block; }
}

/* Content map: one conversation in the middle, outputs around it */
.content-map { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-top: 1.6em; }
.content-map-source { background: var(--dark); color: var(--white); border: var(--border); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: 5px 5px 0 var(--accent); max-width: 260px; }
.content-map-source strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1.25rem; margin-bottom: .2em; }
.content-map-source span { color: var(--on-dark); font-size: .92rem; }
.content-map-col { display: grid; gap: 12px; min-width: 0; }
.content-map-item { background: var(--label); border: var(--border-soft); border-radius: var(--radius); padding: 12px 16px; }
.content-map-item b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-text); }
.content-map-item span { font-size: .95rem; }
@media (max-width: 860px) {
  .content-map { grid-template-columns: 1fr; }
  .content-map-source { max-width: none; order: -1; }
}

/* Labels for anything illustrative, so it can't be mistaken for client work */
.example-label { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .3em .8em; background: var(--label); color: var(--ink); border: 1.5px dashed var(--ink); margin: 0 0 1em; }

/* Principles grid */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 1.4em; }
.principle { background: var(--label); border: var(--border-soft); border-radius: var(--radius); padding: 24px; }
.principle h3 { margin: 0 0 .35em; font-size: 1.15rem; }
.principle p { margin: 0; color: var(--muted); }

/* Illustrative plans */
.plan { background: var(--label); border: var(--border); border-radius: var(--radius); padding: 32px; margin-top: 1.6em; scroll-margin-top: 90px; }
.plan > h2 { margin-top: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; margin-top: 1.2em; }
.plan-grid h3 { font-size: 1.1rem; margin: 0 0 .4em; }
.plan-grid p, .plan-grid li { color: var(--muted); }
.plan-phases { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plan-phases li { border-left: 3px solid var(--accent); padding-left: 14px; }
.plan-phases strong { display: block; color: var(--ink); }
.plan-map { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: .4em 0 0; }
.plan-map li { background: var(--bg); border: var(--border-soft); border-radius: 999px; padding: .3em .85em; font-size: .9rem; color: var(--ink); }
.plan-map li:first-child { background: var(--dark); color: var(--white); border-color: var(--dark); font-weight: 600; }
@media (max-width: 760px) { .plan { padding: 22px 18px; } .plan-grid { grid-template-columns: 1fr; } }

/* About: who you'll work with */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 1.6em; align-items: start; }
.team-card { background: var(--label); border: var(--border); border-radius: var(--radius); padding: 26px; min-width: 0; }
.team-card:first-child { box-shadow: 5px 5px 0 var(--accent); }
.team-card .peter-photo { width: 96px; margin-bottom: 16px; }
.team-role { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-text); margin: 0 0 .2em; }
.team-card h3 { margin: 0 0 .5em; font-size: 1.3rem; }
.team-card p { color: var(--muted); }
.team-card p:last-child { margin-bottom: 0; }
.team-areas { list-style: none; padding: 0; margin: .4em 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.team-areas li { background: var(--bg); border: var(--border-soft); border-radius: 999px; padding: .3em .85em; font-size: .9rem; }
@media (max-width: 960px) { .team-grid { grid-template-columns: 1fr; max-width: 640px; } }

/* About: sectors */
.sectors { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 1.4em; }
@media (min-width: 720px) { .sectors { grid-template-columns: repeat(3, 1fr); } }
.sector { background: var(--label); border: var(--border-soft); border-radius: var(--radius); padding: 24px; }
.sector h3 { margin: 0 0 .5em; font-size: 1.15rem; }
.sector ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.sector li { margin: .25em 0; }

/* Homepage: "What do you need?" picker */
.need-picker { margin: 0 0 .8em; }
.need-picker a { font-size: .95rem; }
.need-picker-more { color: var(--muted); margin: 0 0 2em; }

/* Brand health check */
.check-list { list-style: none; margin: 1.4em 0 0; padding: 0; display: grid; gap: 14px; counter-reset: q; }
.check-item { counter-increment: q; background: var(--label); border: var(--border-soft); border-radius: var(--radius); padding: 18px 20px; margin: 0; }
.check-item legend { float: left; width: 100%; font-weight: 600; padding: 0; margin-bottom: .6em; }
.check-options { clear: both; }
.check-item legend::before { content: counter(q) ". "; color: var(--accent-text); }
.check-options { display: flex; flex-wrap: wrap; gap: 8px; }
.check-options label { display: inline-flex; align-items: center; gap: 6px; padding: .4em .9em; border: var(--border-soft); border-radius: 999px; background: var(--bg); cursor: pointer; font-size: .95rem; }
.check-options input { accent-color: var(--ink); margin: 0; }
.check-options label:has(input:checked) { border-color: var(--ink); background: var(--accent); color: var(--accent-ink); }
.check-result { margin-top: 1.6em; padding: 24px; background: var(--label); border: var(--border); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--accent); }
.check-result[hidden] { display: none; }
.check-score { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2rem; margin: 0; }
.check-result ul { padding-left: 1.1em; }

/* Our work: track record and case stories */
.proof-stats { margin-top: 1.6em; }
.proof-feature { margin-top: 24px; background: var(--label); border: var(--border); border-radius: var(--radius); padding: 26px; max-width: 820px; }
.proof-feature h3 { margin: .3em 0 .4em; }
.proof-feature p:last-child { margin-bottom: 0; }
.proof-note { margin: 18px 0 0; font-size: .88rem; color: var(--muted); max-width: 820px; }
.case-story { margin: .8em 0 0; }
.case-story dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-text); margin: .9em 0 .2em; }
.case-story dd { margin: 0; }
.home-proof .ag-stats { margin-top: 1.4em; }
@media (max-width: 760px) { .proof-feature { padding: 20px; } }

/* Homepage hero: soft link to the free marketing check */
.hero-note { margin: 1.1em 0 0; font-size: .95rem; color: var(--on-dark); }
.hero-note a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.mc-teaser { margin-bottom: 14px; }
