/* Tyneside Digital Studio public information site. Same look as the main website (site/site.css): navy, cream and
   terracotta, Montserrat headings and Inter text. The fonts are served from this site, so it makes no requests to
   other websites. Mobile first. */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --navy: #0a192f;
  --navy-2: #13294a;
  --terracotta: #b04e33;
  --terracotta-on-dark: #e07a58;
  --cream: #f9f7f2;
  --sand: #f0ece4;
  --line: #e5e1d8;
  --muted: #5b6472;
  --good: #1d6b45;
  --warn: #8a5a00;
  --radius: 2px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Montserrat", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
/* On phones the menu sits on its own row, so the header is taller. */
@media (max-width: 899px) {
  html {
    scroll-padding-top: 136px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--cream);
  overflow-wrap: break-word;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--terracotta);
  text-underline-offset: 2px;
}
a:hover {
  color: var(--navy);
}
:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1,
h2 {
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-weight: 800;
}
h1 {
  font-size: clamp(1.9rem, 6vw, 3.25rem);
}
h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
}
h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
}
h4 {
  font-size: 1.05rem;
}
p,
ul,
ol,
dl {
  margin: 0 0 1rem;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .wrap {
    padding: 0 24px;
  }
}
.narrow {
  max-width: 780px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  border-radius: 2px;
}
.skip:focus {
  top: 12px;
}

.preview-bar {
  background: #fff1b8;
  color: var(--navy);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 16px;
}
mark.todo {
  background: #fff1b8;
  color: var(--navy);
  border-radius: 2px;
  padding: 0 4px;
  font-weight: 600;
}

/* Header: TD logo, uppercase menu and a terracotta button, as on the main website */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(249 247 242 / 0.95);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
  text-decoration: none;
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.05em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  color: inherit;
}
.logo-dot {
  width: 10px;
  height: 10px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--terracotta);
  display: inline-block;
}
.site-header nav {
  order: 3;
  width: 100%;
  display: flex;
  gap: 0 4px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -10px;
}
.site-header nav::-webkit-scrollbar {
  display: none;
}
@media (min-width: 900px) {
  .site-header nav {
    order: 0;
    width: auto;
    gap: 0 18px;
    margin: 0;
  }
}
.site-header nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.site-header nav a:hover {
  color: var(--terracotta);
}
@media (max-width: 899px) {
  .site-header nav {
    justify-content: space-between;
    margin: 0 -8px;
  }
  .site-header nav a {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    padding: 0 8px;
  }
  .site-header nav a::after {
    left: 8px;
    right: 8px;
  }
}
.site-header nav a:hover::after {
  transform: scaleX(1);
}
/* Hero: centred, with the terracotta second line, as on the main website */
.hero {
  background: linear-gradient(180deg, var(--cream) 0%, #f0eee9 100%);
  padding: 48px 0 56px;
  text-align: center;
}
@media (min-width: 768px) {
  .hero {
    padding: 96px 0 104px;
  }
}
.hero h1 {
  font-size: clamp(2.1rem, 7.4vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 20ch;
  margin: 0 auto 0.4em;
}
.accent {
  color: var(--terracotta);
}
.lead {
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  color: var(--muted);
  max-width: 46ch;
}
.hero .lead {
  margin-left: auto;
  margin-right: auto;
}
.hero .notice {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 2px;
  border: 2px solid var(--terracotta);
  background: var(--terracotta);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 10px 20px -12px rgb(176 78 51 / 0.7);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s var(--ease);
}
.btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.btn:active {
  transform: scale(0.97);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  box-shadow: none;
}
.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
}
.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.875rem;
  box-shadow: none;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 18px -12px rgb(10 25 47 / 0.35);
  letter-spacing: 0.12em;
  text-align: left;
}
.eyebrow-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--terracotta);
  flex: none;
}
.notice {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 14px 16px;
  max-width: 62ch;
  margin-top: 20px;
}

/* Sections */
.section {
  padding: 56px 0;
}
@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }
}
.section.alt {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.muted {
  color: var(--muted);
  font-weight: 600;
  text-transform: none;
  font-family: var(--sans);
  font-size: 0.9rem;
}
.small {
  font-size: 0.9rem;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.chips li::before {
  content: "✓";
  color: var(--terracotta);
  font-weight: 800;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 24px 0;
}
@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgb(10 25 47 / 0.14);
  border-color: var(--navy);
}
@media (prefers-reduced-motion: reduce) {
  .card,
  .btn,
  .site-header nav a::after {
    transition: none;
  }
  .card:hover {
    transform: none;
  }
}
.section.alt .card {
  background: var(--cream);
}
.card h3 {
  margin-top: 12px;
}
.card-price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
}
.tba {
  color: var(--muted);
  font-weight: 700;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 3px 10px;
  border: 1px solid currentColor;
}
.badge-planned {
  color: var(--muted);
}
.badge-enquiries {
  color: var(--warn);
}
.badge-now {
  color: var(--good);
}

.ticks,
.crosses {
  list-style: none;
  padding: 0;
}
.ticks li,
.crosses li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}
.ticks li::before,
.crosses li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
}
.ticks li::before {
  content: "✓";
  color: var(--good);
}
.crosses li::before {
  content: "–";
  color: var(--muted);
}
.list-h {
  font-weight: 700;
  margin-bottom: 8px;
}
.cols {
  display: grid;
  gap: 24px;
}
@media (min-width: 820px) {
  .cols {
    grid-template-columns: 1fr 1.2fr;
  }
}

.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
thead th {
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
tbody tr:last-child > * {
  border-bottom: 0;
}
tbody th {
  font-weight: 700;
}
.num {
  text-align: right;
  white-space: nowrap;
}
/* On phones, product tables stack instead of scrolling sideways. */
@media (max-width: 600px) {
  .table-wrap table,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap th,
  .table-wrap td {
    display: block;
  }
  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .table-wrap tr {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
  }
  .table-wrap tbody tr:last-child {
    border-bottom: 0;
  }
  .table-wrap th,
  .table-wrap td {
    padding: 2px 0;
    border: 0;
  }
  .num {
    text-align: left;
    font-weight: 700;
  }
}

.links a {
  font-weight: 600;
}

.contact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 620px;
}
.contact-main {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.05rem, 4.2vw, 1.4rem);
}
.contact dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  margin: 0;
}
.contact dt {
  font-weight: 700;
}
.contact dd {
  margin: 0;
}

/* Legal pages */
.legal h1 {
  font-size: clamp(1.7rem, 5vw, 2.5rem);
}
.legal h2 {
  font-size: 1.05rem;
  margin-top: 2.25rem;
}
.legal ul {
  padding-left: 1.25rem;
}
.legal li {
  margin-bottom: 0.5rem;
}
.updated {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.legal .notice {
  margin: 0 0 1.25rem;
}
.toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
}
.toc-t {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}
.toc ol {
  margin: 0;
  padding-left: 1.2rem;
}
@media (min-width: 640px) {
  .toc ol {
    columns: 2;
    column-gap: 2rem;
  }
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c9d1de;
  padding: 40px 0 24px;
  font-size: 0.9rem;
}
.site-footer a {
  color: var(--terracotta-on-dark);
}
.site-footer a:hover {
  color: #fff;
}
.site-footer mark.todo {
  color: var(--navy);
}
.footer-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr;
  }
}
.footer-brand {
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand .logo {
  font-size: 2rem;
}
.footer-h {
  color: #a3aec2;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 18px 0 8px;
}
.site-footer nav a {
  display: block;
  padding: 6px 0;
}
.footer-small {
  border-top: 1px solid rgb(255 255 255 / 0.12);
  margin-top: 24px;
  padding-top: 16px;
  font-size: 0.8rem;
  color: #a3aec2;
}

/* Correspondence address */
address {
  font-style: normal;
}
.footer-address {
  line-height: 1.6;
  margin-bottom: 12px;
}
.contact .note {
  display: block;
  font-size: 0.85rem;
  color: var(--muted, #5b6472);
  margin-top: 2px;
}
@media (max-width: 480px) {
  .contact dl {
    grid-template-columns: 1fr;
  }
  .contact dd {
    margin-bottom: 10px;
  }
}

/* The legally required trader details: small print at the bottom of every page. */
.legal-line {
  margin: 6px 0 0;
  font-size: 0.75rem;
  color: #8f9bb0;
}
.site-footer .legal-line mark.todo {
  font-size: inherit;
}

/* Business information list at the end of the Terms */
.biz-info {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 16px;
}
.biz-info dt {
  font-weight: 700;
}
.biz-info dd {
  margin: 0;
}
@media (max-width: 480px) {
  .biz-info {
    grid-template-columns: 1fr;
  }
  .biz-info dd {
    margin-bottom: 8px;
  }
}
