@charset "UTF-8";
/* ============================================================
   The Sighthound Guy — Theme CSS
   PageMotor Design Conversion — Pass 3
   Primary scale: GRT size=16 width=480
   Fonts: Inter ("Inter", sans-serif) / Playfair Display ("Playfair Display", serif)
   ============================================================ */
/* ============================================================
   1. CSS CUSTOM PROPERTY BRIDGE
   Registered css_vars: @if/@else bridges
   Unregistered (custom): plain literals
   ============================================================ */
:root {
  /* --- Registered: Font variables --- */
  --font1: "Inter", sans-serif;
  --font2: "Playfair Display", serif;
  /* --- Registered: GRT typographic scale --- */
  --f1: 42px;
  --f2: 33px;
  --f3: 26px;
  --f4: 20px;
  --f5: 16px;
  --f6: 13px;
  /* --- Registered: GRT line-height scale --- */
  --g1: 61px;
  --g2: 49px;
  --g3: 39px;
  --g4: 31px;
  --g5: 25px;
  --g6: 21px;
  /* --- Registered: GRT spacing scale --- */
  --x1: 40px;
  --x2: 25px;
  --x3: 15px;
  --x4: 9px;
  --x5: 6px;
  --x6: 4px;
  /* --- Registered: Golden Ratio --- */
  --phi: 1.6180339887;
  /* --- Registered: Style / color variables --- */
  --bg1: #1A1A18;
  --bg2: #141412;
  --c1: #F2EFE9;
  --c2: #6B6B65;
  --ca: #C8B89A;
  --border1: 1px solid #F2EFE9;
  --border2: 1px solid #6B6B65;
  --border3: 1px solid #C8B89A;
  /* --- Registered: Layout variables --- */
  --w-content: 480px;
  --w-total: 960px;
  --gutter-full: 40px;
  --gutter-mobile: 15px;
  /* --- Unregistered custom literals (plain values, NOT @if-bridged) --- */
  --sand-light: #E0D5C4;
  --nav-bg: rgba(26,26,24,0.92);
  --sand-border-faint: rgba(200,184,154,0.1);
  --sand-border-light: rgba(200,184,154,0.15);
  --sand-border-mid: rgba(200,184,154,0.2);
  --sand-border-strong: rgba(200,184,154,0.3);
  --step-marker-ghost: rgba(200,184,154,0.2);
  --cta-p: rgba(26,26,24,0.7);
  --cta-eyebrow: rgba(26,26,24,0.5);
  --cta-eyebrow-line: rgba(26,26,24,0.3);
  --cta-note: rgba(26,26,24,0.5);
}

/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  padding: 0;
  margin: 0;
}

h1, h2, h3, h4 {
  font-weight: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  word-break: normal;
}

img, fieldset {
  border: 0;
}

abbr {
  text-decoration: none;
}

code {
  line-height: 1em;
}

pre {
  overflow: auto;
  word-wrap: normal;
  tab-size: 4;
}

sub, sup {
  line-height: 0.5em;
}

img {
  max-width: 100%;
  height: auto;
}

iframe, video, embed, object {
  display: block;
  max-width: 100%;
}

img, .left, .right, .center {
  display: block;
}

.center {
  float: none;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

button, input[type=submit] {
  cursor: pointer;
  overflow: visible;
}

/* ============================================================
   3. HTML / BODY / STRUCTURAL FOUNDATIONS
   ============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font1);
  font-size: var(--f5);
  line-height: var(--g5);
  color: var(--c1);
  background-color: var(--bg1);
  overflow-x: hidden;
}

::selection {
  background-color: var(--ca);
  color: var(--bg1);
}

/* ============================================================
   4. COMMON CONTENT ELEMENTS
   Global appearance only — NO margins here (margins in .page-content)
   ============================================================ */
h1 {
  font-family: var(--font2);
  font-size: var(--f2);
  line-height: var(--g2);
  font-weight: 900;
  color: var(--c1);
}

h2 {
  font-family: var(--font2);
  font-size: var(--f3);
  line-height: var(--g3);
  font-weight: 700;
  color: var(--c1);
}

h3 {
  font-family: var(--font2);
  font-size: var(--f4);
  line-height: var(--g4);
  font-weight: 700;
  color: var(--c1);
}

h4 {
  font-family: var(--font2);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 700;
  color: var(--c1);
}

a {
  color: var(--ca);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--sand-light);
}

blockquote {
  font-family: var(--font2);
  font-size: var(--f4);
  line-height: var(--g4);
  font-style: italic;
  color: var(--c2);
  border-left: 2px solid var(--ca);
  padding-left: var(--x2);
}

blockquote > :last-child {
  margin-bottom: 0;
}

sub, sup {
  color: var(--c2);
}

code, pre, kbd {
  font-family: monospace;
  font-size: 15px;
  line-height: var(--g5);
}

code {
  background-color: rgba(200, 184, 154, 0.12);
  padding: var(--x6);
  border-radius: var(--x5);
  margin: 0 1px;
}

pre {
  padding: var(--x3);
  border-left: var(--x5) solid rgba(200, 184, 154, 0.3);
  border-radius: 0 var(--x4) var(--x4) 0;
}

kbd {
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c1);
  background-color: rgba(200, 184, 154, 0.1);
  padding: var(--x6) var(--x5);
  border: 1px solid rgba(200, 184, 154, 0.3);
  border-radius: var(--x5);
  margin: 0 1px;
}

svg {
  width: var(--f5);
  height: var(--f5);
  vertical-align: text-bottom;
}

hr {
  border: none;
  border-bottom: 1px solid var(--sand-border-faint);
  margin: var(--x2) 0;
}

.drop-cap {
  font-family: var(--font2);
  font-size: calc(var(--x2) * 2);
  line-height: 1em;
  font-weight: 700;
  color: var(--ca);
  margin-right: var(--x5);
  float: left;
}

.small {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c2);
}

.callout {
  color: #111111;
  border-left: 2px solid var(--ca);
  border-radius: 0 var(--x4) var(--x4) 0;
}

.callout.alert {
  color: #111111;
  border-left-color: #c0392b;
}

.callout.note {
  color: #111111;
  border-left-color: var(--c2);
}

.highlight {
  padding: var(--x6) 0;
}

.impact {
  font-family: var(--font2);
  font-size: var(--f4);
  line-height: var(--g4);
  font-weight: 400;
  font-style: italic;
  color: var(--ca);
}

.pop {
  box-shadow: 0 0 var(--x4) rgba(0, 0, 0, 0.4);
}

.caption {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c2);
}

.center + .caption {
  text-align: center;
}

blockquote + .caption {
  padding-left: calc(var(--x3) + var(--x5));
}

@media all and (min-width: 510px) {
  h1 {
    font-size: var(--f1);
    line-height: var(--g1);
  }
  h2 {
    font-size: var(--f2);
    line-height: var(--g2);
  }
  h3 {
    font-size: var(--f3);
    line-height: var(--g3);
  }
  h4 {
    font-size: var(--f4);
    line-height: var(--g4);
  }
  .impact {
    font-size: var(--f3);
    line-height: var(--g3);
  }
  .left:not(.bar) {
    float: left;
    clear: both;
    margin-right: var(--x2);
  }
  .right:not(.bar) {
    float: right;
    clear: both;
    margin-left: var(--x2);
  }
}
/* ============================================================
   5. DYNAMIC PAGE CONTENT (.page-content scoped)
   ============================================================ */
.page-container + .page-container {
  margin-top: var(--x1);
}

.page-content h1 {
  margin-bottom: var(--x2);
}

.page-content h2 {
  margin-top: var(--x1);
  margin-bottom: var(--x2);
}

.page-content h3 {
  margin-top: var(--x2);
  margin-bottom: var(--x3);
}

.page-content h4 {
  margin-bottom: var(--x4);
}

.page-content h1 + h2, .page-content h2 + h3, .page-content h1:first-child, .page-content h2:first-child, .page-content h3:first-child, .page-content hr + h2 {
  margin-top: 0;
}

.page-content > :last-child {
  margin-bottom: 0;
}

.page-content ul ul, .page-content ul ol, .page-content ol ul, .page-content ol ol {
  margin-bottom: 0;
}

.page-content li:last-child {
  margin-bottom: 0;
}

.page-content .callout > :last-child {
  margin-bottom: 0;
}

.page-content .caption {
  margin-top: -21px;
}

h1 + .page-content .caption, h2 + .page-content .caption {
  margin-top: -22.5px;
}

h3 + .page-content .caption {
  margin-top: -14px;
  margin-bottom: var(--x3);
}

.page-content p, .page-content ul, .page-content ol, .page-content blockquote, .page-content pre, .page-content img, .page-content .callout, .page-content .caption {
  margin-bottom: var(--x2);
}

.page-content p:last-child, .page-content ul:last-child, .page-content ol:last-child, .page-content blockquote:last-child, .page-content pre:last-child, .page-content img:last-child, .page-content .callout:last-child, .page-content .caption:last-child {
  margin-bottom: 0;
}

@media all and (min-width: 510px) {
  .page-content h1 + .caption, .page-content h2 + .caption {
    margin-top: -21px;
  }
  .page-content h3 + .caption {
    margin-top: -13px;
  }
}
.page-title a {
  color: var(--c1);
}

.page-title a:hover {
  color: var(--ca);
}

.page-title:has(+ .byline) {
  margin-bottom: 0;
}

.byline {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c2);
  margin-bottom: var(--x2);
}

.page-container, .headline-area, .page-content {
  display: flow-root;
}

.page-content + .modular-content {
  margin-top: var(--x2);
}

.modular-content > :last-child {
  margin-bottom: 0;
}

/* ============================================================
   6. FORMS
   ============================================================ */
label {
  display: block;
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 600;
  color: var(--c1);
  margin-bottom: var(--x5);
}

label .required {
  font-weight: normal;
}

input, textarea, select {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  line-height: 1em;
  font-weight: inherit;
  color: var(--c1);
  background-color: rgba(200, 184, 154, 0.06);
  padding: var(--x4) var(--x3);
  border: 1px solid rgba(200, 184, 154, 0.3);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--ca);
  background-color: rgba(200, 184, 154, 0.1);
}

input[type=checkbox], input[type=radio], input[type=image], input[type=submit], select {
  width: auto;
}

input[type=checkbox], input[type=radio] {
  display: inline-block;
}

input[type=checkbox] + label, input[type=radio] + label {
  display: inline;
  font-weight: normal;
  margin-left: var(--x6);
  user-select: none;
}

textarea {
  line-height: inherit;
  resize: vertical;
}

select {
  appearance: none;
}

button, input[type=submit], .button {
  display: inline-block;
  width: auto;
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: 1em;
  font-weight: 600;
  vertical-align: top;
  color: var(--bg1);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  background-color: var(--ca);
  padding: var(--x4) var(--x2);
  border: none;
  border-radius: 0;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

button:hover, button:active, input[type=submit]:hover, input[type=submit]:active, .button:hover, .button:active {
  text-decoration: none;
  background-color: var(--sand-light);
  color: var(--bg1);
}

button.save, input[type=submit].save, .button.save {
  color: #fff;
  background-color: #2e7d52;
}

button.save:hover, button.save:active, input[type=submit].save:hover, input[type=submit].save:active, .button.save:hover, .button.save:active {
  background-color: #3a9966;
  color: #fff;
}

button.delete, input[type=submit].delete, .button.delete {
  color: #fff;
  background-color: #8b1a1a;
}

button.delete:hover, button.delete:active, input[type=submit].delete:hover, input[type=submit].delete:active, .button.delete:hover, .button.delete:active {
  background-color: #a52020;
  color: #fff;
}

button.action, input[type=submit].action, .button.action {
  color: var(--ca);
  background-color: transparent;
  border: 1px solid rgba(200, 184, 154, 0.4);
}

button.action:hover, button.action:active, input[type=submit].action:hover, input[type=submit].action:active, .button.action:hover, .button.action:active {
  background-color: rgba(200, 184, 154, 0.08);
  border-color: var(--ca);
  color: var(--ca);
}

button.update, input[type=submit].update, .button.update {
  color: var(--bg1);
  background-color: #b8960a;
}

button.update:hover, button.update:active, input[type=submit].update:hover, input[type=submit].update:active, .button.update:hover, .button.update:active {
  background-color: #d4ac0c;
  color: var(--bg1);
}

button svg, input[type=submit] svg, .button svg {
  vertical-align: inherit;
}

/* ============================================================
   7. SHARED COMPONENTS: NAVIGATION
   ============================================================ */
.tsg-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-border-light);
}

.tsg-nav .tsg-nav-brand {
  font-family: var(--font2);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ca);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.tsg-nav .tsg-nav-brand:hover {
  color: var(--sand-light);
}

.tsg-nav .tsg-nav-cta {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: 1em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg1);
  background: var(--ca);
  padding: var(--x5) var(--x2);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.tsg-nav .tsg-nav-cta:hover {
  background: var(--sand-light);
  color: var(--bg1);
}

/* ============================================================
   8. SHARED COMPONENTS: FOOTER
   ============================================================ */
.tsg-footer {
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--x3);
}

.tsg-footer .tsg-footer-brand {
  font-family: var(--font2);
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 700;
  color: var(--ca);
  letter-spacing: 0.05em;
}

.tsg-footer .tsg-footer-legal {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c2);
}

/* ============================================================
   9. SECTION BASE / INNER CONTAINER
   ============================================================ */
.tsg-section-inner {
  max-width: var(--w-total);
  margin: 0 auto;
}

.tsg-section-eyebrow {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ca);
  margin-bottom: var(--x2);
  display: flex;
  align-items: center;
  gap: var(--x3);
}

.tsg-section-eyebrow::after {
  content: "";
  display: block;
  height: 1px;
  width: 3rem;
  background: var(--ca);
  opacity: 0.4;
}

/* ============================================================
   10. HOME TEMPLATE SECTIONS
   Nested inside .page-main-home for specificity isolation
   ============================================================ */
.page-main-home {
  /* --- Hero --- */
  /* --- Problem section --- */
  /* --- Programme section --- */
  /* --- Includes section --- */
  /* --- Pricing section --- */
  /* --- Requirements section --- */
  /* --- Process section --- */
  /* --- CTA section --- */
}

.page-main-home .tsg-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 2.5rem 5rem;
  border-bottom: 1px solid var(--sand-border-mid);
  position: relative;
}

.page-main-home .tsg-hero-eyebrow {
  font-family: var(--font1);
  font-size: 0.75rem;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ca);
  margin-bottom: 2rem;
}

.page-main-home .tsg-hero h1 {
  font-family: var(--font2);
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  font-weight: 900;
  color: var(--c1);
  max-width: 14ch;
}

.page-main-home .tsg-hero h1 em {
  font-style: normal;
  color: var(--ca);
}

.page-main-home .tsg-hero-sub {
  font-family: var(--font1);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 300;
  color: var(--sand-light);
  max-width: var(--w-content);
  margin-top: 2.5rem;
}

.page-main-home .tsg-hero-price-strip {
  margin-top: 3rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.page-main-home .tsg-hero-price {
  font-family: var(--font2);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 700;
  color: var(--c1);
}

.page-main-home .tsg-hero-price-label {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c2);
  letter-spacing: 0.05em;
}

.page-main-home .tsg-hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  font-family: var(--font1);
  font-size: 0.7rem;
  line-height: 1.6;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c2);
  writing-mode: vertical-rl;
}

.page-main-home .tsg-problem {
  padding: 6rem 2.5rem;
  border-bottom: 1px solid var(--sand-border-faint);
  background-color: var(--bg1);
}

.page-main-home .tsg-problem-quote {
  font-family: var(--font2);
  font-size: clamp(var(--f4), 3vw, var(--f3));
  line-height: clamp(var(--g4), 4.5vw, var(--g3));
  font-weight: 400;
  font-style: italic;
  color: var(--c2);
  border-left: 2px solid var(--ca);
  padding-left: var(--x2);
  margin-bottom: 3rem;
  max-width: var(--w-content);
}

.page-main-home .tsg-problem-rebuttal {
  font-family: var(--font1);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 400;
  color: var(--c1);
  max-width: var(--w-content);
}

.page-main-home .tsg-programme {
  padding: 6rem 2.5rem;
  border-bottom: 1px solid var(--sand-border-faint);
  background-color: var(--bg1);
}

.page-main-home .tsg-programme h2 {
  font-size: clamp(var(--f3), 4vw, var(--f2));
  line-height: clamp(var(--g3), 6vw, var(--g2));
  margin-bottom: var(--x2);
}

.page-main-home .tsg-what-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--g1);
  margin-top: var(--x1);
}

.page-main-home .tsg-what-grid h3 {
  margin-bottom: var(--x4);
}

.page-main-home .tsg-what-grid p {
  font-family: var(--font1);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 300;
  color: var(--sand-light);
  max-width: 100%;
  margin-bottom: 0;
}

.page-main-home .tsg-includes {
  padding: 6rem 2.5rem;
  border-bottom: 1px solid var(--sand-border-faint);
  background-color: var(--bg2);
}

.page-main-home .tsg-includes h2 {
  font-size: clamp(var(--f3), 4vw, var(--f2));
  line-height: clamp(var(--g3), 6vw, var(--g2));
  margin-bottom: var(--x2);
}

.page-main-home .tsg-includes-list {
  list-style: none;
  margin-top: var(--x2);
  margin-bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.page-main-home .tsg-includes-list li {
  padding: 1.75rem 0;
  border-top: 1px solid var(--sand-border-light);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.page-main-home .tsg-includes-list li:nth-child(odd) {
  padding-right: 3rem;
}

.page-main-home .tsg-includes-list li:nth-child(even) {
  padding-left: 3rem;
  border-left: 1px solid var(--sand-border-light);
}

.page-main-home .tsg-includes-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  fill: none;
  stroke-width: 1.5;
}

.page-main-home .tsg-includes-icon circle, .page-main-home .tsg-includes-icon path {
  stroke: var(--ca);
}

.page-main-home .tsg-includes-text strong {
  display: block;
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 600;
  color: var(--c1);
  margin-bottom: var(--x6);
  letter-spacing: 0.02em;
}

.page-main-home .tsg-includes-text span {
  display: block;
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  font-weight: 300;
  color: var(--c2);
}

.page-main-home .tsg-pricing {
  padding: 6rem 2.5rem;
  border-bottom: 1px solid var(--sand-border-faint);
  background-color: var(--bg2);
}

.page-main-home .tsg-pricing h2 {
  font-size: clamp(var(--f3), 4vw, var(--f2));
  line-height: clamp(var(--g3), 6vw, var(--g2));
  margin-bottom: var(--x2);
}

.page-main-home .tsg-pricing-card {
  border: 1px solid var(--sand-border-strong);
  padding: var(--x1);
  max-width: 560px;
  position: relative;
  margin-top: var(--x1);
}

.page-main-home .tsg-pricing-card::before {
  content: "Recall Residential";
  position: absolute;
  top: -0.6rem;
  left: 2rem;
  background: var(--bg2);
  padding: 0 var(--x4);
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ca);
  font-weight: 600;
}

.page-main-home .tsg-price-main {
  font-family: var(--font2);
  font-size: 4rem;
  line-height: 1;
  font-weight: 900;
  color: var(--c1);
}

.page-main-home .tsg-price-detail {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c2);
  margin-top: var(--x5);
  margin-bottom: var(--x2);
}

.page-main-home .tsg-price-breakdown {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--c2);
  border-top: 1px solid var(--sand-border-faint);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--x5);
}

.page-main-home .tsg-price-breakdown span {
  display: flex;
  justify-content: space-between;
}

.page-main-home .tsg-price-breakdown span em {
  font-style: normal;
  color: var(--sand-light);
}

.page-main-home .tsg-price-breakdown span.tsg-price-extended {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--sand-border-light);
  color: var(--sand-light);
}

.page-main-home .tsg-requirements {
  padding: 6rem 2.5rem;
  border-bottom: 1px solid var(--sand-border-faint);
  background-color: var(--bg1);
}

.page-main-home .tsg-requirements h2 {
  font-size: clamp(var(--f3), 4vw, var(--f2));
  line-height: clamp(var(--g3), 6vw, var(--g2));
  margin-bottom: var(--x2);
}

.page-main-home .tsg-requirements .tsg-section-inner > p {
  font-family: var(--font1);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 300;
  color: var(--sand-light);
  max-width: var(--w-content);
  margin-bottom: 0;
}

.page-main-home .tsg-req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--sand-border-faint);
  margin-top: var(--x1);
}

.page-main-home .tsg-req-item {
  background: var(--bg1);
  padding: var(--x2);
}

.page-main-home .tsg-req-label {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ca);
  font-weight: 600;
  margin-bottom: var(--x5);
}

.page-main-home .tsg-req-value {
  font-family: var(--font2);
  font-size: var(--f4);
  line-height: var(--g4);
  font-weight: 400;
  color: var(--c1);
}

.page-main-home .tsg-process {
  padding: 6rem 2.5rem;
  border-bottom: 1px solid var(--sand-border-faint);
  background-color: var(--bg2);
}

.page-main-home .tsg-process h2 {
  font-size: clamp(var(--f3), 4vw, var(--f2));
  line-height: clamp(var(--g3), 6vw, var(--g2));
  margin-bottom: var(--x2);
}

.page-main-home .tsg-process-steps {
  margin-top: var(--x1);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.page-main-home .tsg-process-step {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: var(--g4);
  padding: 2.5rem 0;
  border-top: 1px solid var(--sand-border-faint);
  align-items: start;
}

.page-main-home .tsg-process-step h3 {
  margin-bottom: var(--x4);
}

.page-main-home .tsg-process-step p {
  font-family: var(--font1);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 300;
  color: var(--sand-light);
  max-width: 100%;
  margin-bottom: 0;
}

.page-main-home .tsg-step-marker {
  font-family: var(--font2);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 900;
  color: var(--step-marker-ghost);
}

.page-main-home .tsg-cta {
  padding: 6rem 2.5rem;
  border-bottom: none;
  background-color: var(--ca);
}

.page-main-home .tsg-cta .tsg-section-eyebrow {
  color: var(--cta-eyebrow);
}

.page-main-home .tsg-cta .tsg-section-eyebrow::after {
  background: var(--cta-eyebrow-line);
  opacity: 1;
}

.page-main-home .tsg-cta h2 {
  font-size: clamp(var(--f3), 4vw, var(--f2));
  line-height: clamp(var(--g3), 6vw, var(--g2));
  color: var(--bg1);
  margin-bottom: var(--x2);
}

.page-main-home .tsg-cta p {
  font-family: var(--font1);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 300;
  color: var(--cta-p);
  max-width: var(--w-content);
  margin-bottom: 0;
}

.page-main-home .tsg-cta-button {
  display: inline-block;
  margin-top: var(--x2);
  background: var(--bg1);
  color: var(--ca);
  padding: var(--x4) var(--x2);
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: 1em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.page-main-home .tsg-cta-button:hover {
  opacity: 0.85;
  color: var(--ca);
}

.page-main-home .tsg-cta-note {
  display: block;
  margin-top: var(--x3);
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: var(--g6);
  color: var(--cta-note);
}

/* ============================================================
   11. PAGE / ERROR TEMPLATES
   padding-top clears the fixed nav (~72px) plus breathing room
   ============================================================ */
.page-main-page,
.page-main-error {
  padding: 8rem 2.5rem var(--x1);
}

.page-main-page .page-content,
.page-main-error .page-content {
  max-width: var(--w-content);
}

.page-main-page .page-content p,
.page-main-error .page-content p {
  font-family: var(--font1);
  font-size: var(--f5);
  line-height: var(--g5);
  font-weight: 300;
  color: var(--sand-light);
}

/* ============================================================
   12. STICKY MOBILE CTA BAR (hidden on desktop)
   ============================================================ */
.tsg-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ca);
  padding: var(--x4) 1.5rem;
  z-index: 99;
  text-align: center;
}

.tsg-sticky-cta a {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: 1em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg1);
  text-decoration: none;
  white-space: nowrap;
}

.tsg-sticky-cta a:hover {
  color: var(--bg1);
}

/* ============================================================
   13. RESPONSIVE — MOBILE (max-width: 720px)
   ============================================================ */
@media (max-width: 720px) {
  .tsg-nav {
    padding: var(--x3) var(--gutter-mobile);
  }
  .page-main-home .tsg-hero {
    padding: 0 var(--gutter-mobile) 4rem;
  }
  .page-main-home .tsg-problem,
  .page-main-home .tsg-programme,
  .page-main-home .tsg-includes,
  .page-main-home .tsg-pricing,
  .page-main-home .tsg-requirements,
  .page-main-home .tsg-process,
  .page-main-home .tsg-cta {
    padding: var(--g1) var(--gutter-mobile);
  }
  .page-main-home .tsg-what-grid {
    grid-template-columns: 1fr;
    gap: var(--x1);
  }
  .page-main-home .tsg-includes-list {
    grid-template-columns: 1fr;
  }
  .page-main-home .tsg-includes-list li:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }
  .page-main-home .tsg-pricing-card {
    padding: var(--x2);
  }
  .page-main-home .tsg-req-grid {
    grid-template-columns: 1fr;
  }
  .page-main-home .tsg-sticky-cta {
    display: block;
  }
  .tsg-footer {
    padding-bottom: 4.5rem;
  }
  .page-main-page,
  .page-main-error {
    padding: 6rem var(--gutter-mobile) var(--x1);
  }
}
/* ============================================================
   14. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none;
    animation: none;
  }
}
/* === TSG repair 2026-06-21 (consolidated: nav + footer + content + hero) === */
/* nav menu spacing (Don's Claude had stripped these rules) */
.tsg-nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.tsg-nav-link {
  font-family: var(--font1);
  font-size: var(--f6);
  line-height: 1em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ca);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.tsg-nav-link:hover {
  color: var(--sand-light);
}

/* footer legal links spacing (stripped like the nav) */
.tsg-footer-legal-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* content pages: centre the reading column (it was pinned hard left) */
.page-main-page .page-content {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* hero: full-width image so the whole greyhound shows (head + tail), text in the dark below */
.page-main-home .tsg-hero {
  background-color: #0d0d0d;
  background-image: linear-gradient(to bottom, rgba(13, 13, 13, 0.35) 0%, rgba(13, 13, 13, 0.05) 16%, rgba(13, 13, 13, 0.1) 38%, rgba(13, 13, 13, 0.72) 58%, rgba(13, 13, 13, 0.98) 100%), url("/user-content/plugins/tsg-hero/img/hero.jpg");
  background-size: auto, cover;
  background-position: center, center 35%;
  background-repeat: no-repeat, no-repeat;
}

@media (max-width: 768px) {
  .tsg-nav {
    flex-wrap: wrap;
    row-gap: 0.55rem;
    padding: 0.85rem 1.25rem;
  }
  .tsg-nav-menu {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.1rem;
  }
  .page-main-home .tsg-hero {
    background-position: center, center 40%;
  }
}
/* === TSG pricing duo 2026-06-22: two offers side by side on desktop + correct per-card badge === */
.page-main-home .tsg-pricing-duo {
  display: flex;
  flex-wrap: wrap;
  gap: var(--x1);
  align-items: stretch;
}

.page-main-home .tsg-pricing-duo .tsg-pricing-card {
  flex: 1 1 320px;
  max-width: none;
  margin-top: 0;
}

/* the GBP85 card is home boarding, not the recall residential programme */
.page-main-home .tsg-pricing-card.tsg-card-boarding::before {
  content: "Home Boarding";
}

@media (max-width: 768px) {
  .page-main-home .tsg-pricing-duo {
    flex-direction: column;
  }
}