/* Scottish town pages (accountants-aberdeen … accountants-stirling): one stylesheet for the family.
   Layout, spacing and colour only; body type comes from styles.css. */
.tsc { --tint: #f5f4ef; --edge: max(24px, calc((100vw - 1240px) / 2 + 24px)); }
.tsc p { margin: 0 0 14px; }
.tsc h2 { color: var(--black); margin: 0 0 24px; }
.tsc h3 { font-family: "Lato", Arial, sans-serif; font-weight: 900; font-size: 1.15rem; line-height: 1.3; margin: 0 0 8px; color: var(--black); }
.tsc .tsc-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tsc .tsc-btns .btn { margin: 0; }
.tsc a.tsc-link { font-weight: 900; color: var(--black); }

/* Hero: the town photograph across the whole first screen, copy and the sector list along its foot */
.tsc .tsc-hero { position: relative; display: flex; align-items: flex-end; overflow: hidden; background: var(--black);
  min-height: clamp(600px, calc(100vh - 140px), 880px); }
.tsc .tsc-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tsc .tsc-hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(14,14,14,.92) 0%, rgba(14,14,14,.72) 38%, rgba(14,14,14,.2) 74%, rgba(14,14,14,0) 100%); }
.tsc .tsc-hero-grid { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 140px 24px 72px;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 72px; align-items: end; }
.tsc .tsc-hero h1 { color: var(--white); font-size: clamp(3rem, 7vw, 6.2rem); line-height: .95; margin: 0 0 24px; }
.tsc .tsc-hero .lead { color: var(--white); max-width: 640px; margin: 0; }
.tsc .tsc-hero .btn-outline { color: var(--white); }
.tsc .tsc-call { color: var(--white); margin: 20px 0 0; }
.tsc .tsc-call a { color: var(--white); font-weight: 900; }
.tsc .tsc-sectors { border-top: 3px solid var(--lime); padding-top: 16px; }
.tsc .tsc-sectors p { color: var(--white); font-weight: 900; margin: 0 0 6px; }
.tsc .tsc-sectors ul { list-style: none; margin: 0; padding: 0; }
.tsc .tsc-sectors li { color: var(--white); padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.28); }
.tsc .tsc-sectors li:last-child { border-bottom: 0; }

/* Towns with no photograph of their own: the same layout on the lime tint, the sectors set large */
.tsc .tsc-hero.no-photo { background: var(--tint); min-height: clamp(500px, calc(100vh - 300px), 640px); align-items: center; border-bottom: 6px solid var(--lime); }
.tsc .tsc-hero.no-photo .tsc-hero-grid { padding: 72px 24px; align-items: center; }
.tsc .tsc-hero.no-photo h1, .tsc .tsc-hero.no-photo .lead, .tsc .tsc-hero.no-photo .tsc-call,
.tsc .tsc-hero.no-photo .tsc-call a, .tsc .tsc-hero.no-photo .tsc-sectors p, .tsc .tsc-hero.no-photo .btn-outline { color: var(--black); }
.tsc .tsc-hero.no-photo .tsc-sectors { border-top-color: var(--black); }
.tsc .tsc-hero.no-photo .tsc-sectors li { font-family: "Anton", Impact, sans-serif; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.15; color: var(--black); padding: 12px 0; border-bottom-color: rgba(14,14,14,.18); }

/* The business base: a newspaper spread in two ruled columns */
.tsc .tsc-base { padding: 96px 0; }
.tsc .tsc-base h2 { max-width: 860px; }
.tsc .tsc-cols { columns: 2; column-gap: 64px; column-rule: 1px solid var(--line); margin-top: 8px; }
.tsc .tsc-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; margin-top: 56px; padding-top: 26px; border-top: 2px solid var(--black); }
.tsc .tsc-how p:last-child { margin-bottom: 0; }

/* What we do: heading held on the left while the services run down the right */
.tsc .tsc-do { background: var(--tint); padding: 96px 0; }
.tsc .tsc-do .inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
.tsc .tsc-do-head { position: sticky; top: 110px; }
.tsc .tsc-do-head .btn { margin: 8px 0 0; }
.tsc .tsc-do-list { border-top: 2px solid var(--black); }
.tsc .tsc-do-item { padding: 26px 0 22px; border-bottom: 1px solid rgba(14,14,14,.16); }
.tsc .tsc-do-item p { margin: 0; }

/* A Scottish figure the page states: the number set large on black, the explanation beside it */
.tsc .tsc-fig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tsc .tsc-fig-num { background: var(--black); padding: 96px 56px 96px var(--edge); display: flex; flex-direction: column; justify-content: center; }
.tsc .tsc-fig-num strong { font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: clamp(4.4rem, 10vw, 9.5rem); line-height: .9; color: var(--lime); }
.tsc .tsc-fig-num span { color: var(--white); font-weight: 700; margin-top: 22px; max-width: 400px; }
.tsc .tsc-fig-text { padding: 96px var(--edge) 96px 72px; align-self: center; }
.tsc .tsc-fig-text > div { max-width: 560px; }

/* Two things set side by side that the page compares */
.tsc .tsc-pair { padding: 96px 0; border-top: 1px solid var(--line); }
.tsc .tsc-pair .tsc-pair-head { max-width: 820px; }
.tsc .tsc-pair-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 36px 0 32px; border: 2px solid var(--black); }
.tsc .tsc-pair-cell { padding: 40px 44px; }
.tsc .tsc-pair-cell:first-child { background: var(--lime); }
.tsc .tsc-pair-cell + .tsc-pair-cell { border-left: 2px solid var(--black); }
.tsc .tsc-pair.is-border .tsc-pair-cell + .tsc-pair-cell { border-left: 3px dashed var(--black); }
.tsc .tsc-pair-cell strong { display: block; font-family: "Anton", Impact, sans-serif; font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; color: var(--black); margin-bottom: 14px; }
.tsc .tsc-pair-cell p:last-child { margin-bottom: 0; }
.tsc .tsc-pair-foot { max-width: 820px; }

/* Questions: open answers with a lime rule, read straight down */
.tsc .tsc-faq { padding: 96px 0; }
.tsc .tsc-qa { max-width: 860px; }
.tsc .tsc-q { border-left: 4px solid var(--lime); padding: 4px 0 4px 28px; margin-top: 40px; }
.tsc .tsc-q h3 { font-size: 1.3rem; }
.tsc .tsc-q p:last-child { margin-bottom: 0; }

/* Enquiry close on the site's black band, with what is included beside the form */
.tsc .tsc-close { background: var(--black); color: var(--white); padding: 96px 0; }
.tsc .tsc-close .inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.tsc .tsc-close h2 { color: var(--white); }
.tsc .tsc-close .btn-outline { color: var(--white); }
.tsc .tsc-close .tsc-call { margin-top: 22px; }
.tsc .tsc-inc-label { font-weight: 900; margin: 34px 0 6px; }
.tsc .tsc-inc { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.25); }
.tsc .tsc-inc li { position: relative; padding: 11px 0 11px 32px; border-bottom: 1px solid rgba(255,255,255,.25); }
.tsc .tsc-inc li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 14px; height: 7px; border-left: 3px solid var(--lime); border-bottom: 3px solid var(--lime); transform: rotate(-45deg); }
.tsc .tsc-close .contact-form { margin: 0; border: 0; border-radius: var(--radius); padding: 36px; color: var(--charcoal); }
.tsc .tsc-close .contact-form a { color: var(--black); }

/* Other towns: the names set large in one run */
.tsc .tsc-towns { padding: 88px 0 72px; }
.tsc .tsc-town-list { list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 34px; margin: 26px 0 34px; padding: 0; }
.tsc .tsc-town-list li { display: inline-flex; align-items: baseline; }
.tsc .tsc-town-list a { font-family: "Anton", Impact, sans-serif; font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.35; color: var(--black); text-decoration: none; border-bottom: 4px solid var(--lime); }
.tsc .tsc-town-list a:hover, .tsc .tsc-town-list a:focus-visible { border-bottom-color: var(--black); }

@media (max-width: 900px) {
  .tsc .tsc-hero { min-height: 0; }
  .tsc .tsc-hero.has-photo { min-height: calc(100svh - 120px); }
  .tsc .tsc-hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 120px 16px 44px; }
  .tsc .tsc-hero.no-photo .tsc-hero-grid { padding: 48px 16px 44px; }
  .tsc .tsc-hero.no-photo .tsc-sectors li:not(:last-child)::after { color: var(--black); }
  .tsc .tsc-hero.has-photo .tsc-hero-grid { padding-top: 30vh; }
  .tsc .tsc-sectors ul { display: flex; flex-wrap: wrap; }
  .tsc .tsc-sectors li { padding: 4px 0; border-bottom: 0; }
  .tsc .tsc-sectors li:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--lime); font-weight: 900; }
  .tsc .tsc-hero.no-photo .tsc-sectors li { font-size: 1.35rem; padding: 2px 0; }
  .tsc .tsc-hero.has-photo::before { background: linear-gradient(0deg, rgba(14,14,14,.94) 0%, rgba(14,14,14,.8) 55%, rgba(14,14,14,.3) 85%, rgba(14,14,14,.1) 100%); }
  .tsc .tsc-base, .tsc .tsc-do, .tsc .tsc-pair, .tsc .tsc-faq, .tsc .tsc-close { padding: 64px 0; }
  .tsc .tsc-cols { columns: 1; }
  .tsc .tsc-how, .tsc .tsc-do .inner, .tsc .tsc-close .inner { grid-template-columns: 1fr; gap: 28px; }
  .tsc .tsc-how { margin-top: 36px; }
  .tsc .tsc-do-head { position: static; }
  .tsc .tsc-fig { grid-template-columns: 1fr; }
  .tsc .tsc-fig-num { padding: 56px 16px 48px; }
  .tsc .tsc-fig-text { padding: 48px 16px 64px; }
  .tsc .tsc-pair-grid { grid-template-columns: 1fr; }
  .tsc .tsc-pair-cell { padding: 28px 22px; }
  .tsc .tsc-pair-cell + .tsc-pair-cell, .tsc .tsc-pair.is-border .tsc-pair-cell + .tsc-pair-cell { border-left: 0; border-top: 2px solid var(--black); }
  .tsc .tsc-pair.is-border .tsc-pair-cell + .tsc-pair-cell { border-top: 3px dashed var(--black); }
  .tsc .tsc-close .contact-form { padding: 24px 18px; }
  .tsc .tsc-towns { padding: 64px 0 52px; }
  .tsc .tsc-town-list { gap: 8px 22px; }
  }
