/* blog.css - generated by the Tekton SEO engine (_engine/render.mjs). Do not hand-edit.
   Ink and Electric: colours come from the site.css tokens only. Heroes and article heads are
   ink grounds (site.css flips --ink, --muted and --line inside them); bodies are light. */
h4 { font-family: var(--sans); color: var(--ink); line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; }
footer { margin-top: 96px; }
:is(.band, .section, .cta, .foot-flush) + footer { margin-top: 0; }

/* Breadcrumbs */
.crumbs { font-size: 0.88rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--line); }
.crumbs a:hover { color: var(--ink); text-decoration-color: var(--accent); }
.crumbs span { color: var(--line-2); margin: 0 8px; }

/* Page hero (pillar, local, and hand-built pages that borrow it) */
.pillar-hero { padding: 72px 0 64px; }
.pillar-hero h1 { max-width: 15em; margin-bottom: 22px; }
.pillar-hero .lead { margin-bottom: 32px; }
.pillar-hero .pillar-cta { margin-bottom: 0; }
/* Web design town pages: the Tekton Sites price box under the hero buttons */
.pillar-hero .sites-offer { margin: 28px 0 0; max-width: 40em; padding: 18px 22px; }
.sites-offer p { font-size: 1rem; }
.sites-offer .btn-row { margin-top: 14px; }
/* .answer-box a styles text links; give the button its own ghost look back */
.sites-offer .btn, .sites-offer .btn:hover { color: var(--btn-ghost-fg); text-decoration: none; border-bottom: 3px solid var(--btn-ghost-bd); padding-bottom: 10px; }

/* Article head: one centred reading column shared with the body, on an ink
   band that runs full-bleed behind it */
.article-head { max-width: 808px; padding-top: 64px; padding-bottom: 56px; box-shadow: 0 0 0 100vmax var(--bg-dark); clip-path: inset(0 -100vmax); }
.article-head .tag:hover { color: var(--accent-soft); }
.article-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 20px; }
.article-head .standfirst { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.article-head .meta { max-width: 720px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 0.9rem; color: var(--muted); margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.meta .byline a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.meta .byline a:hover { color: var(--accent-soft); }
.meta .updated { color: var(--muted); }
.pillar-link { font-size: 0.95rem; color: var(--muted); margin-top: 14px; }
.pillar-link a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.pillar-link a:hover { color: var(--accent-soft); }
.article-body { padding: 48px 0 96px; }
.article-body > .wrap { max-width: 808px; }

/* Answer-first block: the direct answer an answer engine quotes, and the first
   thing a reader in a hurry sees. A quiet white card with an electric rule. */
.answer-first { background: var(--card); border-left: 4px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; padding: 22px 26px; margin: 0 0 44px; }
:is(.alt, .bg-card) .answer-first { background: var(--bg-light); }
.answer-first h2, .prose .answer-first h2 { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3; color: var(--accent-on-light); margin: 0 0 10px; }
.answer-first p, .prose .answer-first p { font-size: 1.12rem; line-height: 1.55; color: var(--ink); margin: 0; }

/* Long-form body. Pillar and local pages centre the hero and the body on the
   same reading column as articles (.wrap.reading); the guide grids and link
   rows below them stay full width. */
.wrap.reading { max-width: 808px; }
.page-body { padding: 80px 0 88px; }
.prose { max-width: 720px; padding: 4px 0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); margin: 56px 0 16px; }
.prose h3 { font-size: 1.35rem; margin: 36px 0 10px; }
.prose h4 { font-size: 1.1rem; margin: 28px 0 8px; }
.prose p { font-size: 1.08rem; line-height: 1.65; margin-bottom: 22px; }
.prose ul, .prose ol { margin: 0 0 24px; }
.prose ul { list-style: none; }
.prose ol { padding-left: 1.4em; }
.prose li { font-size: 1.08rem; line-height: 1.6; margin-bottom: 10px; }
.prose ul > li { position: relative; padding-left: 22px; }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); outline: 1.5px solid var(--ink); }
.prose ol > li { padding-left: 6px; }
.prose ol > li::marker { color: var(--accent-on-light); font-weight: 700; }
.prose a:not(.btn) { color: var(--accent-on-light); font-weight: 700; text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.prose a:not(.btn):hover { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose code { font-family: var(--mono); font-size: 0.9em; background: var(--bg-light-2); border-radius: 6px; padding: 1px 6px; }
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); }
.prose blockquote p { font-size: 1.2rem; line-height: 1.5; font-weight: 500; color: var(--ink); margin-bottom: 0; }
.prose hr { border: 0; height: 3px; background: var(--line); border-radius: 2px; margin: 48px 0; }

/* FAQ inside long-form: the engine turns the question H3s into <details> rows
   (site.css styles the rows). The FAQPage schema reads the same source text. */
.prose .faq-list { max-width: none; margin: 4px 0 24px; border-top: 3px solid var(--ink); }
.prose .faq-list summary { font-size: 1.15rem; }
.prose .faq-list details p { margin-bottom: 0; }
.prose .faq-list details > :is(ul, ol) { margin: -6px 0 22px; }
.prose .faq-list details li { font-size: 1.02rem; color: var(--muted); }

/* Card grids: guides on pillar/local pages, the blog index, "Keep reading" */
.more-sections { padding: 88px 0 96px; }
.more-sections .pillar-section + .pillar-section { margin-top: 64px; }
.pillar-section { padding-top: 16px; }
.more-sections .pillar-section { padding-top: 0; }
.guides-head { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 28px; }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); border-top: 6px solid var(--ink); padding: 28px 28px 22px; color: var(--text); }
:is(.alt, .bg-card) .post-card { background: var(--bg-light); }
.topic-chip { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-on-light); margin-bottom: 14px; }
.topic-chip svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--accent-on-light); }
.post-card h2, .post-card h3 { font-size: 1.3rem; line-height: 1.22; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 10px; }
.post-card:hover :is(h2, h3), .post-card:focus-visible :is(h2, h3) { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.post-card p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; flex: 1 1 auto; }
.card-foot { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--muted); }
.card-foot .dot { color: var(--line-2); }
@media (max-width: 900px) { .post-list { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 600px) { .post-list { grid-template-columns: 1fr; gap: 16px; } }

/* Internal-link rows (by area, by industry): pills */
.area-links { display: flex; flex-wrap: wrap; gap: 10px; }
.area-links a { display: inline-flex; align-items: center; font-weight: 700; font-size: 0.98rem; line-height: 1.3; color: var(--ink); background: var(--bg-light-2); border: 3px solid transparent; border-radius: 999px; padding: 9px 18px; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease; }
.area-links a:hover { background: transparent; border-color: var(--ink); }
:is(.alt, .bg-card) .area-links a:hover { background: transparent; }

/* Service areas (/areas/ and the town hubs) */
.area-facts { font-family: var(--mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); margin: -12px 0 28px; }
.area-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 46em; }
.area-list li { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.area-list a { font-weight: 800; font-size: 1.14rem; line-height: 1.3; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.area-list a:hover { color: var(--gold-ink); }
.area-list span { color: var(--muted); }
.area-list .area-meta { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); }
.area-list .area-svcs { font-size: 0.95rem; }
.area-list .area-svcs a { font-size: inherit; font-weight: 700; }

/* Area pages: "At a glance" facts, Dan's quote, citations and sources */
.area-glance { margin: 0 0 44px; }
.prose .area-glance h2 { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.3; color: var(--accent-on-light); margin: 0 0 10px; }
.area-glance dl { display: grid; grid-template-columns: max-content 1fr; margin: 0; border-top: 1px solid var(--line); }
.area-glance dt, .area-glance dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.5; }
.area-glance dt { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); padding: 15px 24px 12px 0; }
.area-glance dd { color: var(--ink); }
.prose .area-quote { margin: 0 0 44px; }
.prose .area-quote blockquote { margin: 0 0 10px; }
.area-quote figcaption { padding-left: 27px; font-size: 0.95rem; color: var(--muted); }
sup.cite { font-size: 0.7em; line-height: 0; margin-left: 2px; white-space: nowrap; }
.prose sup.cite a { text-decoration: none; }
.prose ol.sources li { font-size: 0.98rem; color: var(--muted); overflow-wrap: anywhere; }
.prose ol.sources li:target { background: var(--bg-light-2); border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--card); color: var(--ink); font-weight: 700; padding: 10px 16px; border-radius: var(--r); }
.skip-link:focus { top: 12px; }

/* "Keep reading" on articles */
.related-sec { padding: 88px 0 96px; }

/* The page's one ink band: the offer. Seat pitch on the left, the free offer
   as a white card on the right. The white card is a light ground, so its
   primary button is the blue fill with white text. */
.offer-band .band-copy h2 { font-size: clamp(2rem, 4vw, 3rem); }
.offer-band .band-copy p { font-size: 1.12rem; line-height: 1.6; max-width: 34em; margin-bottom: 30px; }
.offer-band .band-copy p strong { color: var(--on-dark); font-weight: 700; }
.offer-band.solo .wrap { max-width: 880px; text-align: center; }
.offer-band.solo .lede { margin-left: auto; margin-right: auto; }
.offer-band.solo .pillar-cta { justify-content: center; }
.band .cta-card { --btn-primary-bg: var(--accent-on-light); --btn-primary-fg: var(--on-dark); --btn-primary-hover: var(--accent-on-light-hover); --focus: var(--accent-on-light); --swoosh: var(--swoosh-light); }
.band .cta-card h3 { color: var(--ink); }
.band .cta-card p { color: var(--muted); }

/* Standalone offer card (hand-built pages use .cta-band > .cta-card on paper) */
.cta-band { max-width: 760px; margin: 24px 0 0; }
.cta-card { background: var(--card); border-radius: var(--r); padding: 36px 36px 34px; color: var(--text); }
:is(.alt, .bg-card) .cta-card { background: var(--bg-light); }
.cta-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: 10px; }
.cta-card p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; margin-bottom: 24px; }

/* Blog index */
.blog-hero { padding: 72px 0 64px; }
.blog-hero h1 { max-width: 14em; margin-bottom: 22px; }
.blog-hero p { color: var(--muted); font-size: 1.2rem; max-width: 34em; }
.blog-list { padding: 56px 0 96px; }
.blog-filters { margin-bottom: 8px; }
.filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.blog-group[hidden] { display: none; }
.group-head { display: flex; align-items: center; gap: 12px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 56px 0 22px; }
.group-head .group-dot { width: 10px; height: 10px; border-radius: 2px; background: var(--accent); outline: 1.5px solid var(--ink); flex-shrink: 0; }

/* Phones: link-pill rows scroll sideways and bleed to the screen edge, so the
   cut lands at the viewport edge and reads as "more this way". The negative
   margin matches the .wrap gutter (24px, then 16px under 600px). */
@media (max-width: 700px) {
  .area-links { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .area-links::-webkit-scrollbar { display: none; }
  .area-links a { flex: 0 0 auto; font-size: 0.95rem; }
}
@media (max-width: 600px) {
  .area-links { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  footer { margin-top: 64px; }
  .pillar-hero { padding: 48px 0 48px; }
  .article-head { padding-top: 44px; padding-bottom: 44px; }
  .article-body { padding: 36px 0 64px; }
  .page-body { padding: 56px 0 64px; }
  .more-sections, .related-sec { padding: 64px 0; }
  .more-sections .pillar-section + .pillar-section { margin-top: 48px; }
  .blog-hero { padding: 48px 0 48px; }
  .blog-list { padding: 56px 0 64px; }
  .cta-card .btn { width: 100%; }
  .group-head { margin: 40px 0 18px; }
  .prose h2 { margin-top: 44px; }
  .prose p, .prose li { font-size: 1.04rem; }
  .post-card { padding: 24px 22px 20px; }
  .cta-card { padding: 28px 22px 26px; }
  .answer-first { padding: 18px 20px; }
  .area-glance dl { grid-template-columns: 1fr; }
  .area-glance dt { border-bottom: 0; padding: 12px 0 0; }
  .area-glance dd { padding-top: 4px; }
}
