/* ==========================================================================
   TCS Toronto — base styles (reset, tokens, type, header, footer, shared bits)
   ========================================================================== */
:root {
  --navy: #212a31;
  --navy-deep: #1e2837;
  --ink: #212930;
  --red: #d71f28;
  --red-dot: #ff222f;
  --paper: #f4f8f9;
  --paper-2: #f7f7f7;
  --white: #fff;
  --head: "itc-avant-garde-gothic-pro", "Avenir Next", "Century Gothic", sans-serif;
  --body: "freight-text-pro", Georgia, "Times New Roman", serif;
  --dot: Roboto, Helvetica, Arial, sans-serif;
  --gutter: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 300;
  font-size: 18px;
  line-height: 29px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: top; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 15px; }
b, strong { font-weight: 700; }
hr { border: 0; height: 1px; background: rgba(0,0,0,.08); margin: 0 0 15px; }
ul { margin: 0 0 15px; padding-left: 40px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--head);
  font-weight: 700;
  margin: 0 0 15px;
  color: var(--ink);
  letter-spacing: -2px;
}
h1 { font-size: 180px; line-height: 1em; letter-spacing: -4px; }
h2 { font-size: 80px; line-height: 80px; }
h3 { font-size: 25px; line-height: 25px; }
h4 { font-size: 21px; line-height: 25px; letter-spacing: 0; }

/* The red full stop that ends every headline */
.dot { color: var(--red-dot); font-family: var(--dot); font-weight: 400; }
.dot--ink { color: var(--ink); }
.dot--white { color: #fff; }

/* Underlined call-to-action link (“Click here to read…”) */
.cta {
  display: inline-block;
  position: relative;
  font-family: var(--head);
  font-weight: 600;
  font-size: 20px;
  line-height: 36px;
  letter-spacing: 0;
  color: inherit;
}
.cta b { font-weight: 700; }
.cta--white { color: #fff; }
.cta::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.cta:hover::after { transform: scaleX(1); }


/* Fixed (parallax-style) background image, done as a clipped position:fixed layer.
   Looks like background-attachment:fixed but stays on the GPU, so scrolling doesn't repaint
   or flicker. A section opts in by setting --fx-img: url(...) and adding class "fx". */
.fx { position: relative; isolation: isolate; clip-path: inset(0); }
.fx::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--fx-img) center / cover no-repeat;
  pointer-events: none;
}

/* Utility */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vc_empty_space { display: block; }
.vc_empty_space_inner { display: block; }

/* ==========================================================================
   Header — just the red TCS tile, centred, always visible
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 0;
  z-index: 1000;
  pointer-events: none;
}
.site-logo {
  position: absolute;
  top: 17px;
  left: 50%;
  width: 107px;
  height: 60px;
  margin-left: -53.5px;
  pointer-events: auto;
}
.site-logo img { width: 107px; height: 60px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 0 25px 14px 19px;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-top: 30px;
}
.social { display: flex; gap: 10px; margin: 0 0 4px 0; }
.social__item { display: block; width: 40px; height: 40px; margin: 5px 0 5px 0; }
.site-footer__contact { text-align: right; font-size: 15px; line-height: 22.5px; }
.site-footer__contact p { margin: 0 0 15px; }
b, strong { font-weight: 700; }
.site-footer__contact p:last-child { margin-bottom: 0; }
.site-footer__contact a { color: #fff; }
.site-footer__contact strong { font-weight: 700; }

/* ==========================================================================
   Responsive type
   ========================================================================== */
@media (max-width: 1100px) {
  h1 { font-size: 110px; }
  h2 { font-size: 64px; line-height: 1.05; }
}
@media (max-width: 768px) {
  body { font-size: 17px; line-height: 27px; }
  h1 { font-size: 64px; letter-spacing: -2px; }
  h2 { font-size: 46px; line-height: 1.05; letter-spacing: -1px; }
  .site-logo, .site-logo img { width: 80px; height: 45px; }
  .site-logo { margin-left: -40px; top: 12px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .site-footer__contact { text-align: left; }
}
