/* /solar-panels-worksop/ (16 Oct 2026): the closest town, 8 miles from the office. The journey from Retford is the
   hero's picture, drawn large as a ruler marked off in miles; the nearby towns follow it as a route list. */

/* Hero: centred words, the journey across the full width under them */
.wk-hero { padding-bottom: clamp(48px, 6vw, 80px); }
.wk-hero .ak-hero-grid { row-gap: clamp(28px, 3.4vw, 44px); }
.wk-hero .ak-hero-aside::before { width: 640px; height: 640px; right: -260px; top: -420px; opacity: .9; }
.wk-route { padding: 0 clamp(0px, 2vw, 24px); }
.wk-hero .ak-journey { gap: clamp(14px, 2.4vw, 32px); padding: clamp(20px, 2.6vw, 30px) clamp(22px, 3.4vw, 44px); border-radius: 999px;
  box-shadow: 0 0 0 1px var(--line), var(--ak-lift); }
.wk-hero .ak-journey-end { gap: clamp(12px, 1.4vw, 18px); font: 500 clamp(1.25rem, 1rem + .9vw, 1.75rem)/1.1 var(--display); letter-spacing: -0.01em; }
.wk-hero .ak-journey-end small { margin-top: 4px; font: 400 clamp(.875rem, .8rem + .3vw, 1rem)/1.3 var(--text); letter-spacing: 0; }
.wk-hero .ak-journey-dot { width: clamp(28px, 2.6vw, 40px); height: clamp(28px, 2.6vw, 40px); border-width: clamp(5px, .5vw, 7px); }
.wk-hero .ak-journey-dot--base { width: clamp(16px, 1.4vw, 22px); height: clamp(16px, 1.4vw, 22px); border-width: 0;
  box-shadow: 0 0 0 6px var(--sky); }
/* The line as a ruler: eight equal stretches, one for each mile */
.wk-hero .ak-journey-line { height: 14px; opacity: 1; min-width: 60px;
  background:
    linear-gradient(var(--ink), var(--ink)) left center / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, var(--line-strong) 0 2px, transparent 2px 12.5%) left center / 100% 14px no-repeat; }
.wk-hero .ak-journey-line span { padding: 8px 18px; background: var(--ak-sun); color: var(--ink); font-size: clamp(.9375rem, .85rem + .35vw, 1.125rem);
  box-shadow: 0 0 0 5px var(--paper), 0 10px 20px -12px rgba(38, 40, 42, .6); }
.wk-hero .ak-hero-act .ak-acc { margin-top: 26px; }
@media (max-width: 600px) {
  .wk-route { padding: 0; }
  .wk-hero .ak-journey { border-radius: 22px; padding: 16px 16px; gap: 10px; }
  .wk-hero .ak-journey-end { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 1.125rem; }
  .wk-hero .ak-journey-end--to { align-items: flex-end; }
  .wk-hero .ak-journey-line { min-width: 40px; }
  .wk-hero .ak-journey-line span { padding: 5px 11px; box-shadow: 0 0 0 4px var(--paper); }
}

/* Intro: the words, and Bassetlaw's homes beside them */
.wk-intro .ak-services { margin-top: 16px; }
/* The three services as small tiles in a row, each in the sun ring */
@media (min-width: 600px) {
  .wk-intro .ak-services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 40rem; }
  .wk-intro .ak-services a { position: relative; flex-direction: column; align-items: flex-start; gap: 14px; height: 100%; padding: 18px 18px 20px; line-height: 1.3; }
  .wk-intro .ak-services a::after { position: absolute; top: 18px; right: 18px; margin: 0; padding: 0; }
}
.wk-homes { padding: clamp(22px, 2.8vw, 34px); border-radius: var(--ak-radius); background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), var(--ak-lift); position: relative; overflow: hidden; }
.wk-homes::after { content: ""; position: absolute; right: -120px; bottom: -150px; width: 260px; height: 260px;
  background: url("../sun-arc.svg") center / contain no-repeat; opacity: .7; pointer-events: none; }
.wk-homes > * { position: relative; z-index: 1; }
.wk-homes-label { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 500 1.375rem/1.2 var(--display); }
.wk-homes-label small { display: block; margin-top: 3px; font: 400 .9375rem/1.3 var(--text); color: var(--ink-soft); }
.wk-homes .ak-bars { padding: 0; box-shadow: none; background: none; border-radius: 0; }
@media (min-width: 521px) { .wk-homes .ak-bars li { grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr) 4rem; } }
.wk-homes .ak-bars-track { height: 18px; }
.wk-homes .ak-bars-value { font-size: 1.375rem; }
.wk-homes-text { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); line-height: 1.6; }

/* Costs: the grant note, four icon cards in a row, and the price as a strip */
.wk-grant { max-width: 60rem; padding: 24px 26px; }
.wk-grant p { font-size: 1.125rem; }
.wk-costs-lead { max-width: 48rem; margin: clamp(32px, 4vw, 44px) 0 20px; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.6; }
.wk-cost-cards .ak-card { display: flex; flex-direction: column; padding: 24px 22px 26px; }
.wk-cost-cards .ak-card .ak-ring { margin-bottom: 18px; }
.wk-cost-cards .ak-card p { margin: 0; color: var(--ink-soft); font-size: 1.0625rem; }
.wk-cost-cards .ak-card p { font-size: 1.125rem; line-height: 1.55; }
.wk-cost-cards .ak-card a { font-weight: 600; color: var(--ink); text-decoration-color: var(--sun-coral); text-underline-offset: 3px; }
.wk-price { display: grid; gap: 14px 40px; align-items: center; margin-top: clamp(20px, 2.4vw, 28px);
  background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--ak-sun) border-box; }
.wk-price .ak-price-fig { margin: 0; }
.wk-price .btn { margin-top: 0; justify-self: start; }
@media (min-width: 900px) {
  .wk-price { grid-template-columns: auto minmax(0, 1fr) auto; padding: 26px 34px; }
  .wk-price .ak-price-fig { padding-right: 36px; border-right: 1px solid var(--line); }
  .wk-price p:not(.ak-price-fig) { max-width: 26rem; font-size: 1.125rem; }
}

/* How it works: the words, then the three warranties across */
.wk-how .section-head { margin-bottom: 22px; }
.wk-how-text { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 48px); }
.wk-how-text p { color: var(--ink-soft); font-size: 1.125rem; line-height: 1.65; }
.wk-how-text p:first-child { color: var(--ink); font-size: 1.1875rem; }
.wk-how-text p + p { margin-top: 14px; }
.wk-how-text a { color: var(--ink); font-weight: 600; }
@media (min-width: 800px) { .wk-how .ak-warr--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.wk-how .ak-warr--cards > div { padding: 24px 26px; }

/* Planning: one note, the same council as Retford */
.wk-planning .ak-text h2 { max-width: 18rem; }
.wk-plan-note { padding: clamp(24px, 3vw, 36px); gap: 20px; border-radius: var(--ak-radius); }
.wk-plan-note p { font-size: 1.125rem; }
.wk-plan-note p + p { margin-top: 14px; }
.wk-plan-note .wk-plan-tag { display: inline-block; margin-bottom: 6px; padding: 5px 14px; border-radius: 999px; background: var(--ak-sun);
  font-weight: 600; font-size: .9375rem; line-height: 1.35; }
@media (min-width: 900px) { .wk-planning .ak-split { align-items: center; } }

/* Reviews: one big quote, then two side by side */
.wk-quotes .ak-reviews--quote { margin-bottom: 20px; }
.wk-quotes .ak-reviews--pair .ak-review blockquote p { font-size: 1.25rem; }

/* FAQs: three questions, three cards across */
@media (min-width: 1000px) { .area-worksop .ak-faq--cards .faq { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Nearby: a route, each town a stop with the miles from our office (across on wide screens, down on phones) */
.wk-near-grid { display: grid; gap: 26px; }
.wk-near-label { margin: 0 0 6px; font-weight: 600; font-size: .9375rem; color: var(--ink-soft); letter-spacing: .02em; }
.wk-near .ak-near-list { max-width: none; }
.wk-near .ak-near-list li { position: relative; align-items: center; padding: 16px 4px 16px 40px; }
.wk-near .ak-near-list li::before { content: ""; position: absolute; left: 6px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%;
  border: 3px solid transparent; background: var(--ak-ring-bg); }
.wk-near .ak-near-list li:first-child::before { background: var(--ink); border-color: var(--ink); }
.wk-near .ak-near-list li::after { content: ""; position: absolute; left: 13px; top: calc(50% + 10px); height: calc(100% - 20px); width: 2px;
  background: repeating-linear-gradient(var(--line-strong) 0 4px, transparent 4px 8px); }
.wk-near .ak-near-list li:last-child::after { display: none; }
.wk-near .ak-near-list a { font: 500 1.25rem/1.2 var(--display); text-decoration-color: var(--sun-coral); text-underline-offset: 3px; }
.wk-near .ak-near-list span { font-variant-numeric: tabular-nums; }
.wk-near .ak-more { margin: 0; }
@media (min-width: 800px) {
  .wk-near-label { margin-bottom: 18px; }
  .wk-near .ak-near-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wk-near .ak-near-list li { flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 6px; padding: 40px 16px 0 0; border-bottom: 0; }
  .wk-near .ak-near-list li::before { left: 0; top: 0; margin-top: 0; width: 22px; height: 22px; border-width: 4px; }
  .wk-near .ak-near-list li:first-child::before { width: 22px; height: 22px; }
  .wk-near .ak-near-list li::after { left: 30px; right: 8px; top: 10px; width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px); }
}
/* Notes on phones: the icon above the words, so the words get the full width */
@media (max-width: 600px) {
  .wk-grant, .wk-plan-note { flex-direction: column; gap: 14px; }
  .wk-hero .ak-journey-dot--base { margin: 6px; }
}
/* The narrowest phones: the two places on one line, the ruler across the full width under them */
@media (max-width: 400px) {
  .wk-hero .ak-journey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 18px; padding: 16px 16px 22px; }
  .wk-hero .ak-journey-end--to { grid-column: 2; grid-row: 1; }
  .wk-hero .ak-journey-line { grid-column: 1 / -1; grid-row: 2; margin: 0 6px; }
}
