:root{
  --treora-gold: #EBA710;
  --treora-blue: #44A2C0;
  --treora-anth: #132B32;
  --treora-bg: #FDFBF9;
  --treora-text: #132B32;

  --treora-font: 'Montserrat', sans-serif;

  --nav-h: 56px;
  --nav-actual: var(--nav-h);
  --banner-h: 550px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

body {
  font-family: var(--treora-font);
  color: var(--treora-text);
  background: var(--treora-bg);
  padding-top: calc(var(--nav-actual) + var(--banner-h));
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between; /* left + right blocks */
  align-items: center;
  background: var(--treora-anth);
  color: #fff;
  padding: 0 .75rem;
  height: var(--nav-h);
  box-sizing: border-box;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-left .nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* space between icon and text */
  color: #fff; /* wordmark text colour */
  text-decoration: none;
}
.nav-left .nav-logo img {
  height: 40px;   /* try 32–40px depending on taste */
  width: auto;
  display: block;
}

.nav-left .nav-wordmark {
  font-family: var(--treora-font);
  font-size: 1.2rem;   /* tweak until it visually matches nav height */
  font-weight: 600;    /* gives it presence without shouting */
  line-height: 1;      /* tight vertical alignment */
  white-space: nowrap; /* prevent line break in nav */
}

/* Optional: balance spacing if needed */
.nav {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-right a {
  color: #fff;
  font-weight: 600;
  font-size: .875rem;
  padding: .5rem .5rem;
  border-radius: 999px;
  transition: background .15s ease;
  display: flex;
  align-items: center;
}
.nav-right a:hover { background: rgba(255,255,255,.15); }

/* LinkedIn icon link */
.nav-linkedin svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* BANNER */
.banner {
  position: fixed;
  top: var(--nav-actual);
  left: 0; right: 0;
  height: var(--banner-h);
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENT */
main {
  position: relative;
  z-index: 10;
  background: #fff;
}
.container { max-width: 1100px; margin: 0 auto; padding: 1.25rem; }

/* Sections (unchanged) */
h1 { font-size: clamp(2rem, 3.2vw + 1rem, 3.25rem); margin: 0 0 .5rem; }
h2 { font-size: 1.5rem; margin: 1rem 0 .5rem; }
.subtitle { font-size: 1.125rem; opacity: .85; }
.cta { margin-top: 1rem; display: inline-block; background: var(--treora-anth); color: #fff; padding: .9rem 1.25rem; border-radius: .75rem; font-weight: 700; }
.cta:hover { background: #0f2a31; }

/* ... rest unchanged ... */


/* Sections */
h1 { font-size: clamp(2rem, 3.2vw + 1rem, 3.25rem); margin: 0 0 .5rem; }
h2 { font-size: 1.5rem; margin: 1rem 0 .5rem; }
.subtitle { font-size: 1.125rem; opacity: .85; }
.cta { margin-top: 1rem; display: inline-block; background: var(--treora-anth); color: #fff; padding: .9rem 1.25rem; border-radius: .75rem; font-weight: 700; }
.cta:hover { background: #0f2a31; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2rem 0; }
.service-card { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 1rem; padding: 1rem; transition: transform .15s ease, box-shadow .15s ease; }
.service-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.service-card h3 { margin: .25rem 0 .5rem; font-size: 1.1rem; font-weight: 700; }
.service-card p { margin: 0; font-size: .95rem; opacity: .9; }
.service-icon { width: 36px; height: 36px; border-radius: .5rem; background: var(--treora-blue); opacity: .9; margin-bottom: .5rem; }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.5rem 0; }
.why .card { background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 1rem; padding: 1rem; }
.why h4 { margin: .25rem 0 .25rem; font-weight: 700; }

footer { margin-top: 3rem; padding: 2rem 0; background: #fff; border-top: 1px solid rgba(0,0,0,0.06); font-size: .95rem; }
footer a { color: var(--treora-blue); }

/* Responsive */
@media (max-width: 900px){
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .services-grid { grid-template-columns: 1fr; }
  .nav { gap: 1rem; }
}


/* --- Service title pill (canonical) --- */
.service-section h2.service-title {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .7rem;
  border: 1px solid rgba(19,43,50,.30);
  border-radius: 999px;
  background: rgba(0,0,0,.04);
  line-height: 1.25;
  width: auto;
  max-width: max-content;
}
.service-section h2.service-title .service-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15) inset, 0 0 0 1px rgba(255,255,255,.2);
}
.service-section h2 .service-icon { display: none !important; }

/* Data Products pill in Treora gold */


/* Ensure the section itself is not gold */



/* --- Services dropdown (hover only) --- */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown .nav-caret { font-weight: 700; margin-left: .2rem; }
.nav-dropdown .dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  display: none; z-index: 1000;
  background: var(--treora-anth, #132B32);
  color: var(--treora-white, #FFFFFF);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: .5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: .5rem .6rem; border-radius: 8px; color: var(--treora-white, #FFFFFF); }
.dropdown-menu a:hover { background: rgba(255,255,255,.12); }


/* --- Gold pill for Cost Optimisation & Data Products --- */
.service-section#cost-optimisation h2.service-title,

.service-section#cost-optimisation h2.service-title .service-dot,

/* Ensure sections themselves are not gold */
.service-section#data-products,



/* --- Services dropdown (hover only, stable label) --- */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown > a { color: inherit; text-decoration: none; }
.nav-dropdown .nav-caret { font-weight: 700; margin-left: .2rem; }
.nav-dropdown .dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  display: none; z-index: 1000;
  background: var(--treora-anth, #132B32);
  color: var(--treora-white, #FFFFFF);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; padding: .5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: .5rem .6rem; border-radius: 8px; color: var(--treora-white, #FFFFFF); }
.dropdown-menu a:hover { background: rgba(255,255,255,.12); }

/* Topic pill */
.topic-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .25rem .6rem; border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px; background: rgba(0,0,0,.04);
  margin: .5rem 0 1rem;
}
.topic-pill .edit-topic {
  background: transparent; border: 0; cursor: pointer;
  text-decoration: underline; font-size: .9em; padding: 0; color: inherit;
}
.is-hidden { display: none !important; }

/* Hide the mobile disclosure by default (desktop) */
.nav-disclosure{ display:none; }

/* Mobile menu panel (hidden until <details open>) */
.mobile-menu{
  display:none;
  position: fixed;
  top: var(--nav-actual);
  left: 0; right: 0;
  background: var(--treora-anth);
  color: #fff;
  z-index: 999;
  padding: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 24px rgba(0,0,0,.28);
}
.mobile-menu a{
  display:block;
  padding:.9rem 1rem;
  border-radius:.75rem;
  font-weight:600;
}
.mobile-menu a:hover{ background: rgba(255,255,255,.12); }

/* When details is open, show the panel */
.nav-disclosure[open] .mobile-menu{ display:flex; flex-direction:column; }

/* Mobile breakpoint */
@media (max-width:780px){
  :root{ --nav-h:64px; --banner-h:280px; }

  /* Hide desktop links on phones, force with !important */
  .nav-right{ display:none !important; }

  /* Show the Menu button */
  .nav-disclosure{ display:block; }

  .nav-toggle{
    display:inline-flex;
    align-items:center;
    gap:.4rem;
    background:transparent;
    color:#fff;
    border:1px solid rgba(255,255,255,.25);
    padding:.4rem .6rem;
    border-radius:.5rem;
    font-weight:700;
    cursor:pointer;
    list-style:none; /* remove default summary marker in some browsers */
  }

  /* Wordmark truncation to avoid squashing */
  .nav-left .nav-wordmark{
    font-size:1rem;
    white-space:nowrap;
    max-width:55vw;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  /* Show full logo in banner on phones */
  .banner img{
    width:auto;
    height:90%;
    max-width:90%;
    object-fit:contain;
  }
}

@media (min-width: 781px){
  .nav-right{ display: flex !important; }
  .nav-toggle{ display: none !important; }
  .mobile-menu{ display: none !important; }
}

/* Keep footer above the fixed banner */
footer {
  margin-top: 0 !important;      /* was 3rem; remove it */
  position: relative;
  z-index: 10;                   /* keep footer above the fixed banner */
  background: #fff;              /* ensure solid paint */
}

/* Provide the spacing from the content side instead */
main {
  padding-bottom: 3rem;          /* matches the old footer margin */
  /* Optional: prevents margin-collapsing surprises from last child */
  overflow: auto;
}

/* Home additions */
.who-we-are, .who-we-help, .ways-to-start { margin: 1.75rem 0; }
.lede { font-size: 1.05rem; line-height: 1.6; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: .5rem 0 0; padding: 0; }
.chip { padding: .35rem .65rem; border: 1px solid rgba(0,0,0,.12); border-radius: 999px; background: rgba(0,0,0,.04); font-size: .9rem; }

.start-steps { list-style: none; margin: .5rem 0 1rem; padding: 0; display: grid; gap: .4rem; }

/* === Founder block (About page) === */
.eyebrow { text-transform: uppercase; letter-spacing: .04em; font-size: .8rem; opacity: .8; margin: 0 0 .25rem; }

.founder { margin: 1.75rem 0; }
.founder-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 1rem;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  align-items: center;
}
.founder-photo {
  margin: 0;
  width: 180px; height: 180px;
  border-radius: 999px; overflow: hidden;
  background: rgba(0,0,0,.04);
  display: flex; align-items: center; justify-content: center;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }

.founder-copy h2 { margin: .25rem 0 .5rem; }
.founder-copy p { margin: 0 0 .75rem; }

.founder-links { margin-top: .5rem; display: flex; gap: .75rem; align-items: center; }
.link-soft { text-decoration: underline; opacity: .9; }

/* reuse your existing chips styles; if not present: */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: .25rem 0 0; padding: 0; }
.chip { padding: .35rem .65rem; border: 1px solid rgba(0,0,0,.12); border-radius: 999px; background: rgba(0,0,0,.04); font-size: .9rem; }

@media (max-width: 900px){
  .founder-card { grid-template-columns: 1fr; text-align: left; }
  .founder-photo { width: 140px; height: 140px; margin: 0 auto; }
}


/* --- How start with Treora: card-style steps with Treora blue square --- */
.start-steps--cards {
  display: grid;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1.25rem;
}
.start-steps--cards .start-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 1rem;
  padding: 0.75rem 0.9rem;
  transition: box-shadow .15s ease, transform .15s ease;
}
.start-steps--cards .start-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transform: translateY(-1px);
}
.start-steps--cards .step-dot {
  flex: 0 0 14px;
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--treora-blue);
  box-shadow: 0 0 0 1px rgba(0,0,0,.12) inset, 0 0 0 1px rgba(255,255,255,.2);
  margin-top: 0.15rem; /* align with first text line */
}
.start-steps--cards .step-copy {
  flex: 1 1 auto;
  font-size: .98rem;
  line-height: 1.45;
}
.start-steps--cards .step-copy strong { font-weight: 700; }

@media (max-width: 520px){
  .start-steps--cards .start-item { padding: 0.65rem 0.75rem; }
}



/* --- How Treora Works grid: align like the 'why' cards --- */
.how-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
}
.how-works-grid .card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 1rem;
  padding: 1rem;
}
.how-works-grid h3 {
  margin: .25rem 0 .25rem;
  font-weight: 700;
}
@media (max-width: 900px){
  .how-works-grid { grid-template-columns: 1fr; }
}
