/* /scotland — designed page. Layout and spacing only; body type comes from styles.css. */
.dz-scotland { --tint: #f5f4ef; --edge: max(24px, calc((100vw - 1240px) / 2 + 24px)); }
.dz-scotland p { margin: 0 0 12px; }
.dz-scotland h3 { font-family: "Lato", Arial, sans-serif; font-weight: 900; font-size: 1.12rem; line-height: 1.3; margin: 0 0 8px; color: var(--black); }
.dz-scotland .sc-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.dz-scotland .sc-btns .btn { margin: 0; }
.dz-scotland .btn-outline { color: var(--black); border-color: var(--black); }

/* Hero: copy on white, Oban running the full hero height to the right window edge */
.dz-scotland .sc-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: clamp(560px, calc(100vh - 150px), 800px); border-bottom: 6px solid var(--lime); }
.dz-scotland .sc-hero-copy { padding: 72px 56px 72px var(--edge); align-self: center; }
.dz-scotland .sc-hero h1 { color: var(--black); margin: 0 0 22px; }
.dz-scotland .sc-hero .lead { color: var(--black); max-width: 560px; }
.dz-scotland .sc-call { margin-top: 20px; }
.dz-scotland .sc-call a { font-weight: 900; color: var(--black); }
.dz-scotland .sc-hero-photo { position: relative; margin: 0; min-height: 360px; }
.dz-scotland .sc-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.dz-scotland .sc-hero-photo figcaption { position: absolute; right: 18px; bottom: 14px; color: var(--white); font-weight: 700; font-size: .9rem; text-shadow: 0 1px 6px rgba(0,0,0,.6); }

/* Bands: the text and the calculator, then the two systems drawn to one scale */
.dz-scotland .sc-bands { background: var(--tint); padding: 96px 0 88px; }
.dz-scotland .sc-bands-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 72px; align-items: start; margin-bottom: 64px; }
.dz-scotland .sc-bands-text h2 { margin: 0 0 20px; }
.dz-scotland .bcheck { background: var(--black); color: var(--white); border-radius: 18px; padding: 34px 32px 30px; scroll-margin-top: 100px; }
.dz-scotland .bcheck h2 { color: var(--white); font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 0 0 10px; }
.dz-scotland .bcheck .bc-say { color: #d6d5cf; margin-bottom: 22px; }
.dz-scotland .rg-field label { display: block; color: var(--white); font-weight: 900; margin: 0 0 10px; }
.dz-scotland .rg-input { display: flex; align-items: center; gap: 10px; border: 1px solid #4a4b41; border-radius: 10px; padding: 12px 16px; background: #1a1b16; }
.dz-scotland .rg-input span { color: var(--lime); font-weight: 900; font-size: 1.2rem; }
.dz-scotland .rg-input input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white); font: inherit; font-size: 1.2rem; font-weight: 700; outline: none; }
.dz-scotland .rg-out { display: none; margin-top: 22px; border-top: 1px solid #34352d; padding-top: 22px; }
.dz-scotland .rg-out.on { display: block; }
.dz-scotland .rg-big { font-family: "Anton", sans-serif; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.05; color: var(--white); margin: 0 0 8px; }
.dz-scotland .rg-cap { color: #e4e3dc; }
.dz-scotland .rg-rows { list-style: none; margin: 0 0 18px; padding: 0; }
.dz-scotland .rg-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #2a2b24; color: #d6d5cf; }
.dz-scotland .rg-rows b { color: var(--white); }
.dz-scotland .bc-grab { display: flex; gap: 8px; flex-wrap: wrap; }
.dz-scotland .bc-grab input[type=email] { flex: 1 1 200px; background: var(--black); border: 1px solid #4a4b41; border-radius: 8px; padding: 13px 14px; color: var(--white); font: inherit; }
.dz-scotland .bc-grab button { background: var(--lime); color: var(--black); border: 0; border-radius: 8px; padding: 13px 20px; font: inherit; font-weight: 900; cursor: pointer; }
.dz-scotland .honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dz-scotland .bc-small { color: #bdbcb4; margin: 12px 0 0; }
.dz-scotland .bc-small a { color: var(--lime); }

.dz-scotland .sc-bars { background: var(--white); border-radius: 18px; padding: 36px 36px 30px; border: 1px solid #dfe5bf; }
.dz-scotland .bar-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; align-items: center; margin-bottom: 16px; }
.dz-scotland .bar-row h3 { margin: 0; }
.dz-scotland .bar { position: relative; display: flex; height: 64px; border: 2px solid var(--black); border-radius: 8px; overflow: hidden; }
.dz-scotland .seg { display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--black); overflow: hidden; }
.dz-scotland .seg:last-of-type { border-right: 0; }
.dz-scotland .seg b { font-weight: 900; font-size: .95rem; white-space: nowrap; }
.dz-scotland .r0 { background: var(--white); color: var(--grey); }
.dz-scotland .r19 { background: #f1f8cf; } .dz-scotland .r20 { background: #e6f39c; } .dz-scotland .r21 { background: #dcef6c; }
.dz-scotland .r40, .dz-scotland .r42 { background: var(--lime); }
.dz-scotland .r45 { background: #3a3b33; color: var(--white); } .dz-scotland .r48 { background: var(--black); color: var(--white); }
.dz-scotland .seg.r19 b { font-size: 0; }
.dz-scotland .mark { position: absolute; top: -2px; bottom: -2px; width: 4px; margin-left: -2px; background: #c4342b; z-index: 2; }
.dz-scotland .axis { position: relative; height: 56px; margin-left: 190px; border-top: 1px solid var(--line); }
.dz-scotland .axis span { position: absolute; top: 8px; transform: translateX(-50%); font-weight: 700; font-size: .85rem; color: var(--grey); white-space: nowrap; }
.dz-scotland .axis span:first-child { transform: none; }
.dz-scotland .axis span:nth-child(3) { top: 30px; }
.dz-scotland .keys { align-items: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; margin: 22px 0 0 190px; }
.dz-scotland .keys ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.dz-scotland .keys li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; background: none; color: var(--black); }
.dz-scotland .keys li.lab { width: 100%; font-weight: 900; }
.dz-scotland .keys li i { width: 16px; height: 16px; border: 1px solid var(--black); border-radius: 3px; }
.dz-scotland .keys .r19 i { background: #f1f8cf; } .dz-scotland .keys .r20 i { background: #e6f39c; } .dz-scotland .keys .r21 i { background: #dcef6c; }
.dz-scotland .keys .r40 i, .dz-scotland .keys .r42 i { background: var(--lime); } .dz-scotland .keys .r45 i { background: #3a3b33; } .dz-scotland .keys .r48 i { background: var(--black); }

/* Salary table beside the 50% panel */
.dz-scotland .sc-salary { padding: 100px 0; }
.dz-scotland .sc-salary .inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px 72px; align-items: center; }
.dz-scotland .sc-salary h2 { margin: 0 0 16px; }
.dz-scotland .sc-table { width: 100%; border-collapse: collapse; margin: 28px 0 0; background: var(--white); }
.dz-scotland .sc-table th { text-align: right; font-weight: 900; padding: 12px 14px; border-bottom: 3px solid var(--black); color: var(--black); }
.dz-scotland .sc-table td { text-align: right; padding: 14px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--black); }
.dz-scotland .sc-table th:first-child, .dz-scotland .sc-table td:first-child { text-align: left; }
.dz-scotland .sc-table td:last-child { font-weight: 900; }
.dz-scotland .sc-source { color: var(--grey); }
.dz-scotland .sc-source a { color: var(--black); }
.dz-scotland .sc-fifty { background: var(--lime); border-radius: 18px; padding: 36px 34px; }
.dz-scotland .sc-fifty .big { font-family: "Anton", sans-serif; font-size: clamp(5rem, 9vw, 8rem); line-height: .95; color: var(--black); margin: 0 0 16px; }
.dz-scotland .sc-fifty p { color: var(--black); }

/* Differences: four ruled rows, the figure that defines each on the left */
.dz-scotland .sc-diff { background: var(--black); color: var(--white); padding: 100px 0; }
.dz-scotland .sc-diff h2 { color: var(--white); margin: 0 0 16px; }
.dz-scotland .sc-diff-lead { color: #d6d5cf; max-width: 760px; margin-bottom: 40px; }
.dz-scotland .sc-diff ul { list-style: none; margin: 0; padding: 0; }
.dz-scotland .sc-diff li { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px 48px; align-items: start; padding: 30px 0; border-top: 1px solid #34352d; }
.dz-scotland .sc-diff .fig { font-family: "Anton", sans-serif; font-size: clamp(2.6rem, 4.5vw, 3.8rem); line-height: 1; color: var(--white); }
.dz-scotland .sc-diff h3 { color: var(--lime); font-size: 1.3rem; margin-top: 4px; }
.dz-scotland .sc-diff li p { color: #e4e3dc; margin: 0; max-width: 760px; }

/* How we work beside who we work with */
.dz-scotland .sc-work { padding: 100px 0; }
.dz-scotland .sc-work .inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 72px; align-items: start; }
.dz-scotland .sc-work h2 { margin: 0 0 18px; }
.dz-scotland .sc-work-copy, .dz-scotland .sc-guides-head { position: sticky; top: 110px; }
.dz-scotland .sc-sectors ul { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.dz-scotland .sc-sectors li { padding: 22px 0; border-top: 3px solid var(--black); }
.dz-scotland .sc-sectors li p { margin: 0; }

/* Services in a row of four, Pulse under them */
.dz-scotland .sc-services { background: var(--tint); padding: 96px 0; }
.dz-scotland .sc-services h2 { margin: 0 0 10px; }
.dz-scotland .sc-svc { list-style: none; margin: 36px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dz-scotland .sc-svc li { background: var(--white); border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; }
.dz-scotland .sc-svc li p { flex: 1; }
.dz-scotland .sc-svc li a { font-weight: 900; color: var(--black); }
.dz-scotland .sc-pulse { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) auto; gap: 24px 40px; align-items: center; background: var(--white); border: 3px solid var(--black); border-radius: 14px; padding: 30px 32px; }
.dz-scotland .sc-pulse h3 { font-size: 1.35rem; }
.dz-scotland .sc-pulse div p { margin: 0; }
.dz-scotland .sc-pulse ul { margin: 0; padding: 0 0 0 20px; }
.dz-scotland .sc-pulse li { font-weight: 700; padding: 3px 0; }
.dz-scotland .sc-pulse .btn { margin: 0; }

/* Towns: twelve names set large, the rest as a sentence */
.dz-scotland .sc-towns { padding: 100px 0 80px; }
.dz-scotland .sc-towns h2 { margin: 0 0 10px; }
.dz-scotland .sc-townlist { list-style: none; margin: 36px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--black); }
.dz-scotland .sc-townlist li { border-bottom: 1px solid var(--line); }
.dz-scotland .sc-townlist a { display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 18px 0; font-size: 1.45rem; font-weight: 900; color: var(--black); text-decoration: none; }
.dz-scotland .sc-townlist a:hover { text-decoration: underline; }
.dz-scotland .sc-also { color: var(--grey); }

/* Guides: a numbered column beside the heading */
.dz-scotland .sc-guides { padding: 40px 0 100px; }
.dz-scotland .sc-guides .inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 72px; }
.dz-scotland .sc-guides h2 { margin: 0 0 14px; }
.dz-scotland .sc-guides ol { list-style: none; margin: 0; padding: 0; }
.dz-scotland .sc-guides li a { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.dz-scotland .sc-guides li:last-child a { border-bottom: 1px solid var(--line); }
.dz-scotland .sc-guides .n { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--black); display: grid; place-items: center; font-family: "Anton", sans-serif; font-size: 1.2rem; }
.dz-scotland .sc-guides li a:hover h3 { text-decoration: underline; }
.dz-scotland .sc-guides li p { margin: 0; }

/* Questions as an open list, news alongside */
.dz-scotland .sc-faq { background: var(--tint); padding: 96px 0; }
.dz-scotland .sc-faq .inner { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px 64px; align-items: start; }
.dz-scotland .sc-faq h2 { margin: 0 0 28px; }
.dz-scotland .sc-faq details { background: var(--white); border-radius: 12px; margin-bottom: 10px; }
.dz-scotland .sc-faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 900; color: var(--black); position: relative; }
.dz-scotland .sc-faq summary::-webkit-details-marker { display: none; }
.dz-scotland .sc-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-weight: 900; }
.dz-scotland .sc-faq details[open] summary::after { content: "\2212"; }
.dz-scotland .sc-faq details p { padding: 0 24px 22px; margin: 0; }
.dz-scotland .sc-faq details a { color: var(--black); }
.dz-scotland .sc-news { border-top: 3px solid var(--black); padding-top: 18px; }
.dz-scotland .sc-news h2 { font-size: 1.6rem; margin: 0; }
.dz-scotland .sc-news .local-news-list { margin-top: 14px; }
.dz-scotland .sc-news .local-news-source { text-transform: none; letter-spacing: 0; }
.dz-scotland .sc-news .local-news-item { display: block; padding: 12px 0; border-bottom: 1px solid #d7dcb8; text-decoration: none; }
.dz-scotland .sc-news .local-news-item span { display: block; }
.dz-scotland .sc-news .local-news-loading { text-align: left; padding: 8px 0; }

/* Close: black band, quote card on the right */
.dz-scotland .sc-close { background: var(--black); color: var(--white); padding: 96px 0; scroll-margin-top: 80px; }
.dz-scotland .sc-close .inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 72px; align-items: center; }
.dz-scotland .sc-close h2 { color: var(--white); margin: 0 0 20px; }
.dz-scotland .sc-close p { color: #e4e3dc; }
.dz-scotland .sc-close-copy a:not(.btn) { color: var(--lime); font-weight: 900; }
.dz-scotland .sc-close .btn-outline { color: var(--white); border-color: rgba(255,255,255,.75); }
.dz-scotland .sc-close-quote .qstart { background: var(--white); color: var(--black); border-radius: 18px; padding: 34px 32px; }
.dz-scotland .sc-close-quote p { color: var(--grey); }
.dz-scotland .sc-close-quote h2 { color: var(--black); font-size: 2rem; margin: 0 0 10px; }
.dz-scotland .sc-close-quote .btn { margin-top: 18px; width: 100%; }

@media (max-width: 1000px) {
  .dz-scotland .sc-hero { grid-template-columns: 1fr; min-height: 0; }
  .dz-scotland .sc-hero-photo { order: -1; min-height: 300px; }
  .dz-scotland .sc-hero-copy { padding: 48px 24px 56px; }
  .dz-scotland .sc-bands-top, .dz-scotland .sc-salary .inner, .dz-scotland .sc-work .inner, .dz-scotland .sc-guides .inner,
  .dz-scotland .sc-faq .inner, .dz-scotland .sc-close .inner { grid-template-columns: 1fr; }
  .dz-scotland .sc-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dz-scotland .sc-work-copy, .dz-scotland .sc-guides-head { position: static; }
  .dz-scotland .sc-pulse { grid-template-columns: 1fr; }
  .dz-scotland .sc-townlist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .dz-scotland .sc-bands, .dz-scotland .sc-salary, .dz-scotland .sc-diff, .dz-scotland .sc-work, .dz-scotland .sc-services,
  .dz-scotland .sc-towns, .dz-scotland .sc-faq, .dz-scotland .sc-close { padding: 64px 0; }
  .dz-scotland .sc-guides { padding: 16px 0 64px; }
  .dz-scotland .bcheck { padding: 26px 20px; }
  .dz-scotland .sc-bars { padding: 22px 16px; }
  .dz-scotland .bar-row { grid-template-columns: 1fr; gap: 8px; }
  .dz-scotland .bar { height: 46px; }
  .dz-scotland .seg b { font-size: 0; }
  .dz-scotland .axis { margin-left: 0; height: 64px; }
  .dz-scotland .axis span { font-size: .72rem; }
  .dz-scotland .axis span:nth-child(3) { top: 8px; }
  .dz-scotland .axis span:nth-child(even) { top: 30px; }
  .dz-scotland .keys { margin-left: 0; grid-template-columns: 1fr; }
  .dz-scotland .sc-table th, .dz-scotland .sc-table td { padding: 10px 6px; font-size: .92rem; }
  .dz-scotland .sc-diff li { grid-template-columns: 1fr; padding: 24px 0; }
  .dz-scotland .sc-sectors ul, .dz-scotland .sc-svc { grid-template-columns: 1fr; }
  .dz-scotland .sc-townlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dz-scotland .sc-townlist a { font-size: 1.15rem; }
  .dz-scotland .sc-fifty, .dz-scotland .sc-close-quote .qstart { padding: 26px 20px; }
}
