/* ==========================================================================
   NOLOTEL — shared stylesheet
   Weaving brand, people and technology into one connected experience.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  /* Anchors */
  --navy: #182636;
  --navy-deep: #101A26;
  --ink: #222A2E;
  --muted: #6B7480;

  /* Surfaces */
  --paper: #FFFFFF;
  --bg: #F8F7F4;
  --sand: #F1E7D8;
  --line: #E4E0D8;

  /* Division threads */
  --thread-creatives: #C9714A; /* Nol Creatives — brand & gifting */
  --thread-connector: #2E8B8B; /* Nol Connector — wellness & care */
  --thread-it:        #4C5FA6; /* Nol-IT — tech & tools */
  --thread-sectors:   #B6862E; /* Sectors — where we show up */

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 6px;
  --shadow: 0 18px 40px -22px rgba(16, 26, 38, .35);
  --container: 1180px;
}

/* ---------------------------------------------------------------------- */
/* Reset & base                                                            */
/* ---------------------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; }
h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.01em;
}
p{ margin: 0 0 1em; color: var(--ink); }
:focus-visible{ outline: 2px solid var(--thread-it); outline-offset: 3px; }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section{ padding: 88px 0; }
section.alt{ background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

@media (max-width: 760px){
  section{ padding: 60px 0; }
  .wrap{ padding: 0 20px; }
}

/* ---------------------------------------------------------------------- */
/* Header / nav                                                            */
/* ---------------------------------------------------------------------- */
header.site{
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,247,244,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .navrow{
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img{ height: 32px; width: auto; }
.navlinks{ display: flex; align-items: center; gap: 30px; list-style: none; }
.navlinks a{
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  opacity: .65;
  padding: 6px 0;
  position: relative;
  transition: opacity .2s ease;
}
.navlinks a:hover{ opacity: 1; }
.navlinks a.active{ opacity: 1; }
.navlinks a.active::after{
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--thread-creatives), var(--thread-connector), var(--thread-it), var(--thread-sectors));
}
.navtoggle{
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 22px; color: var(--navy); line-height: 1;
  padding: 4px 6px;
}

@media (max-width: 760px){
  .navtoggle{ display: block; }
  .navlinks{
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden;
    transition: max-height .25s ease;
  }
  .navlinks.open{ max-height: 320px; }
  .navlinks a{ width: 100%; padding: 14px 28px; opacity: 1; }
  .navlinks a.active::after{ display: none; }
  .navlinks a.active{ background: var(--sand); }
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                     */
/* ---------------------------------------------------------------------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
  background: linear-gradient(135deg, var(--navy) 0%, #233347 55%, #2c3e54 100%);
  color: #fff;
}
.hero-glow{
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(420px 320px at 12% 20%, rgba(201,113,74,.30), transparent 60%),
    radial-gradient(460px 360px at 85% 10%, rgba(46,139,139,.28), transparent 60%),
    radial-gradient(520px 420px at 75% 95%, rgba(76,95,166,.30), transparent 60%),
    radial-gradient(380px 300px at 5% 90%, rgba(182,134,46,.22), transparent 60%);
  mix-blend-mode: screen;
}
.hero-inner{
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  max-width: 720px;
}
.hero .eyebrow{
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1{
  color: #fff;
  font-size: clamp(32px, 4.4vw, 48px);
  margin-bottom: 18px;
}
.hero .lead{
  color: rgba(255,255,255,.82);
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 30px;
}

@media (max-width: 760px){
  .hero{ padding: 80px 0 60px; }
  .hero-inner{ padding: 0 20px; }
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                  */
/* ---------------------------------------------------------------------- */
.cta-row{ display: flex; flex-wrap: wrap; gap: 14px; }
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 30px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  border: 1px solid transparent;
}
.btn-primary{
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(0,0,0,.5);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0,0,0,.55); }
.btn-ghost{
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.45);
}
.btn-ghost:hover{ background: rgba(255,255,255,.16); border-color: #fff; }

/* ghost on light backgrounds (e.g. inside .alt sections) */
section.alt .btn-ghost, section:not(.hero):not(.cta-band) .btn-ghost{
  color: var(--navy);
  border-color: var(--line);
  background: var(--paper);
}
section.alt .btn-ghost:hover, section:not(.hero):not(.cta-band) .btn-ghost:hover{
  border-color: var(--navy);
  background: var(--sand);
}

/* ---------------------------------------------------------------------- */
/* Weave illustration (index hero)                                         */
/* ---------------------------------------------------------------------- */
.weave-wrap{ position: relative; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.weave-svg{ width: 100%; height: auto; display: block; }
.weave-caption{
  display: flex; flex-wrap: wrap; gap: 22px;
  margin-top: 10px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.78);
}
.weave-caption span{ display: inline-flex; align-items: center; gap: 8px; }
.weave-caption i{
  width: 10px; height: 10px; border-radius: 50%; display: inline-block;
}

/* ---------------------------------------------------------------------- */
/* Section headers                                                         */
/* ---------------------------------------------------------------------- */
.section-head{ max-width: 640px; margin: 0 auto 48px; text-align: left; }
.section-head .eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--thread-it);
  margin-bottom: 14px;
}
.section-head .eyebrow::before{
  content: ""; width: 26px; height: 2px; background: var(--thread-it); display: inline-block;
}
.section-head h2{ font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 12px; }
.section-head p{ color: var(--muted); font-size: 16px; margin-bottom: 0; }

/* ---------------------------------------------------------------------- */
/* Divisions grid (index)                                                   */
/* ---------------------------------------------------------------------- */
.divisions{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.division-card{
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.division-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.division-card .tag{
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 14px; display: block;
}
.division-card h3{ font-size: 20px; margin-bottom: 10px; }
.division-card p{ color: var(--muted); font-size: 14.5px; flex: 1; margin-bottom: 18px; }
.division-card .go{ font-size: 13.5px; font-weight: 700; color: var(--navy); transition: transform .2s ease; }
.division-card:hover .go{ transform: translateX(4px); }

/* bullet lists inside division cards (used on Sectors page) */
.division-card ul{ margin: 0 0 18px; padding-left: 0; list-style: none; }
.division-card li{ padding-left: 22px; position: relative; margin-bottom: 9px; font-size: 15px; color: var(--ink); }
.division-card li::before{
  content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--navy);
}

/* division-card accent variants, keyed to each division's thread colour */
.division-card.accent-creatives{ border-top-color: var(--thread-creatives); }
.division-card.accent-creatives .tag{ color: var(--thread-creatives); }
.division-card.accent-creatives li::before{ background: var(--thread-creatives); }

.division-card.accent-connector{ border-top-color: var(--thread-connector); }
.division-card.accent-connector .tag{ color: var(--thread-connector); }
.division-card.accent-connector li::before{ background: var(--thread-connector); }

.division-card.accent-it{ border-top-color: var(--thread-it); }
.division-card.accent-it .tag{ color: var(--thread-it); }
.division-card.accent-it li::before{ background: var(--thread-it); }

.division-card.accent-sectors{ border-top-color: var(--thread-sectors); }
.division-card.accent-sectors .tag{ color: var(--thread-sectors); }
.division-card.accent-sectors li::before{ background: var(--thread-sectors); }

@media (max-width: 960px){ .divisions{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .divisions{ grid-template-columns: 1fr; } }

/* two-card variant (Sectors page: Connector + Creatives side by side) */
.divisions-pair{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 760px){ .divisions-pair{ grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------- */
/* Generic 3-up tile grid (galleries, on-site experiences)                  */
/* ---------------------------------------------------------------------- */
.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tile{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.tile img{ width: 100%; height: 190px; object-fit: cover; }
.tile h4{ font-size: 16.5px; margin: 18px 20px 6px; }
.tile p{ font-size: 14px; color: var(--muted); margin: 0 20px 20px; }

/* tiles used without an image (e.g. About "tile" cards) */
.alt .tile:not(:has(img)){ padding: 26px; }
.alt .tile:not(:has(img)) h4{ margin: 0 0 8px; }
.alt .tile:not(:has(img)) p{ margin: 0; }

@media (max-width: 860px){ .grid-3{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .grid-3{ grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------- */
/* Values ("We PULL Together")                                             */
/* ---------------------------------------------------------------------- */
.values{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
}
.value-card .letter{
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.value-card:nth-child(1) .letter{ background: var(--thread-creatives); }
.value-card:nth-child(2) .letter{ background: var(--thread-connector); }
.value-card:nth-child(3) .letter{ background: var(--thread-it); }
.value-card:nth-child(4) .letter{ background: var(--thread-sectors); }
.value-card h4{ font-size: 15.5px; margin: 0; color: var(--navy); }

@media (max-width: 860px){ .values{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .values{ grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------- */
/* Process steps (Connector — "How it works" / Sectors — "How we work")    */
/* ---------------------------------------------------------------------- */
.process{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step{ position: relative; padding-top: 6px; }
.step .step-num{
  display: block;
  font-family: var(--font-display);
  font-size: 40px; font-weight: 700;
  line-height: 1; margin-bottom: 12px;
}
.step h3{ font-size: 17px; margin-bottom: 8px; }
.step p{ font-size: 14px; color: var(--muted); margin: 0; }

@media (max-width: 860px){ .process{ grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 520px){ .process{ grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------- */
/* CTA band                                                                 */
/* ---------------------------------------------------------------------- */
.cta-band{
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
  padding: 80px 28px;
}
.cta-band h2{ color: #fff; font-size: clamp(24px, 3vw, 32px); }
.cta-band p{ color: rgba(255,255,255,.75); max-width: 540px; margin: 0 auto 28px; }
.cta-band .cta-row{ justify-content: center; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                    */
/* ---------------------------------------------------------------------- */
footer.site{
  background: var(--navy-deep);
  color: rgba(255,255,255,.65);
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
footer.site .wrap{
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}
.fnav{ display: flex; gap: 22px; flex-wrap: wrap; }
.fnav a{ color: rgba(255,255,255,.7); font-weight: 600; font-size: 13px; transition: color .2s ease; }
.fnav a:hover{ color: #fff; }

/* ---------------------------------------------------------------------- */
/* Accessibility — reduced motion                                          */
/* ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ transition: none !important; animation: none !important; }
}