/* Honeywell Sans font faces now come from font.css (linked in index.html <head>).
   That sheet was provided as declarations only — the actual .woff/.woff2/.eot
   binary files still need to be placed in the same folder as font.css for
   these to actually render; until then the fallback stack below is used. */

:root {
  /* Endeavour Blue based dark backgrounds, built from the brand blue */
  --navy: #004F9F;
  --navy-2: #0A63B8;
  --navy-deep: #00335F;

  /* Honeywell brand colors */
  --red: #D22630;      /* Honeywell Digital Red */
  --red-dark: #A81E27;
  --blue: #004F9F;     /* Endeavour Blue */
  --blue-dark: #003B78;

  --gold: #F2B705;
  --bg-light: #F7F8FA;
  --bg-card: #FFFFFF;
  --ink: #10182B;
  --muted: #5B6472;
  --muted-light: #8890A0;
  --border: #E7E9EE;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Each Honeywell Sans weight ships as its own family name (see font.css),
     not as weight variants of one family, so headings/body/medium text each
     point at the specific cut they need. */
  --font-display: 'Honeywell Sans Web_Bold', 'Segoe UI', sans-serif;
  --font-body: 'Honeywell Sans Web_Book', 'Segoe UI', sans-serif;
  --font-medium: 'Honeywell Sans Web_Medium', 'Segoe UI', sans-serif;
  --font-medium-italic: 'Honeywell Sans Web_Medium Italic', 'Segoe UI', sans-serif;

  --max-width: 1800px;
  --gutter: 5%;
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .content-header, .content-header-red, .logo-mark {
  font-family: var(--font-display);
}

p { margin: 0; }

ul, ol { margin: 0; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.desktop-break { display: inline; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Shared section paddings / typography ---------- */

.eyebrow,
.content-header-red {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 12px;
}

.content-header {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 760px;
}

.content-body {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 760px;
  margin: 0 auto;
}

.text-red { color: var(--red); font-weight: 600; }

/* ============================================================
   HEADER / NAV
   ============================================================ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--border-dark);
}

header nav {
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.logo-mark {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.logo-mark-red { color: var(--red); }

.logo-x { color: var(--muted-light); font-weight: 400; }

.right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.right span {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-medium);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.right span:hover { color: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */

.hero-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(6, 15, 30, 0.55) 0%, rgba(6, 15, 30, 0.86) 55%, var(--navy-deep) 100%),
    radial-gradient(circle at 20% 20%, rgba(28, 58, 99, 0.55) 0%, transparent 55%),
    url('asset/hero-image.png');
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-color: var(--navy-deep);
  color: #fff;
  text-align: center;
  padding: 120px var(--gutter) 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 64px);
  pointer-events: none;
}

.hero-section > * { position: relative; z-index: 1; }

.eyebrow-light {
  color: var(--red);
}

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  max-width: 820px;
  margin: 0 0 22px;
}

.hero-subtext {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  margin: 0 0 34px;
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(227, 30, 45, 0.65);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(227, 30, 45, 0.75);
}

.photo-credit {
  margin-top: 46px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

.photo-credit a { text-decoration: underline; color: rgba(255, 255, 255, 0.6); }

/* ============================================================
   QUOTE
   ============================================================ */

.quote-section {
  max-width: 880px;
  margin: 0 auto;
  padding: 88px 24px;
  text-align: left;
}

.quote-section p:not(.quote-name):not(.quote-role):not(.quote-org) {
  font-family: var(--font-medium-italic);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}

.quote-name {
  margin-top: 28px;
  font-weight: 700;
  color: var(--red);
}

.quote-role {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 2px;
}

.quote-org {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ============================================================
   ABOUT
   ============================================================ */

.abtcenter-section {
  padding: 56px var(--gutter) 110px;
  text-align: left;
  scroll-margin-top: 90px;
}

.abtcenter-section .content-header {
  max-width: 640px;
}

.abtcenter-section .content-body {
  margin: 0;
  max-width: 640px;
}

/* ============================================================
   ECOSYSTEM DIAGRAM
   ============================================================ */

.ecosystem-section {
  padding: 0 var(--gutter) 110px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: center;
}

.ecosystem-intro {
  max-width: 300px;
}

.ecosystem-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  margin: 0 0 14px;
}

.ecosystem-desc {
  color: var(--muted);
  font-size: 0.98rem;
}

.ecosystem-diagram {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: 420px;
  margin: 0 auto;
}

.ecosystem-diagram::before {
  content: "";
  position: absolute;
  inset: 10% 14%;
  border: 1.5px dashed var(--border);
  border-radius: 50%;
}

.eco-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--navy-2), var(--navy-deep));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  box-shadow: 0 22px 40px -18px rgba(11, 27, 51, 0.45);
  z-index: 2;
}

.eco-center p:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
  margin-bottom: 4px;
}

.eco-center p:last-child {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
}

.eco-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px 10px 10px;
  box-shadow: 0 14px 28px -18px rgba(11, 27, 51, 0.25);
  white-space: nowrap;
}

.eco-node p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink);
}

.eco-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
}

.eco-icon-green  { background: #2E9E6B; }
.eco-icon-orange { background: #E08A2C; }
.eco-icon-teal   { background: #1E7A83; }
.eco-icon-pink   { background: #A63A5C; }
.eco-icon-blue   { background: var(--blue); }
.eco-icon-red    { background: var(--red); }

.eco-node-1 { top: 0;    left: 4%; }
.eco-node-2 { top: 34%;  left: -4%; }
.eco-node-3 { top: 68%;  left: 4%; }
.eco-node-4 { top: 0;    right: 4%; }
.eco-node-5 { top: 34%;  right: -4%; }
.eco-node-6 { top: 68%;  right: 4%; }

/* ============================================================
   PILLARS
   ============================================================ */

.pillars-section {
  padding: 0 var(--gutter) 110px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  scroll-margin-top: 90px;
}

.pillars-section > div:first-child {
  grid-column: 1 / -1;
  max-width: 640px;
  margin-bottom: 8px;
}

.pillars-section > div:first-child p:last-child {
  color: var(--muted);
  font-size: 1.02rem;
}

.pillars-section > div:not(:first-child) {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillars-section > div:not(:first-child):hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(11, 27, 51, 0.25);
}

.pillars-section > div:not(:first-child) > p:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 32px;
  padding: 0 12px;
  background: var(--red);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 16px;
}

.pillars-section > div:not(:first-child) > p:nth-child(2) {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 10px;
}

.pillars-section > div:not(:first-child) > p.text-red {
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.pillars-section > div:not(:first-child) > p:last-child {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ============================================================
   CERTIFICATE PROGRAMME
   ============================================================ */

.certificate-section {
  background: var(--bg-light);
  color: var(--ink);
  padding: 96px var(--gutter);
  scroll-margin-top: 90px;
}

.certificate-section > div:first-child {
  margin: 0 auto 56px;
  text-align: left;
}

.tag-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.certificate-section .content-subtext {
  color: var(--muted);
  font-size: 1.05rem;
}

.boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.boxes > div {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 14px 28px -22px rgba(11, 27, 51, 0.2);
}

.boxes .box-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 12px;
  margin-top: 26px;
}

.boxes > div > p.box-label:first-child { margin-top: 0; }

.boxes p { color: var(--muted); font-size: 0.95rem; }

.boxes ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fee-box {
  margin-top: 24px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.fee-amount {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 6px 0 10px;
}

.fee-amount span:first-child {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
}

.fee-tag {
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.elective-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.elective-grid span {
  display: block;
  padding: 10px 12px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.elective-grid p { color: var(--ink); font-size: 0.86rem; }

.takeaways-box { grid-column: 1 / -1; }

.takeaways-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
}

.takeaways-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.takeaways-list li p { color: var(--muted); font-size: 0.92rem; }

.takeaways-list .num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.boxes > div.interested-box {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius);
  text-align: center;
  padding: 40px;
}

.interested-box .box-label {
  color: #fff;
  font-size: 1.2rem;
  margin-top: 0;
}

.interested-box p:last-child {
  max-width: 520px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   IMPACT GOALS
   ============================================================ */

.impact-goals {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  padding: 96px var(--gutter);
  text-align: left;
  scroll-margin-top: 90px;
}

.impact-goals > div:first-child {
}

.impact-goals > div:first-child p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 48px;
}

.impact-goals > div:last-child {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.impact-goals > div:last-child > div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 30px 16px;
}

.impact-goals .counter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--red);
  margin-bottom: 8px;
}

.impact-goals > div:last-child > div > p:last-child {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   EXPERTS
   ============================================================ */

.experts-section {
  padding: 96px var(--gutter);
  text-align: left;
  scroll-margin-top: 90px;
}

.experts-section > div:first-child { margin-bottom: 56px; }

.experts-section > div:last-child { text-align: center; }

.experts-section > div:last-child {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.experts-section > div:last-child > div {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
}

.circle-img {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  margin: 0 auto 22px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.circle-img img { width: 100%; height: 100%; object-fit: cover; }

.circle-img::before {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
}

.experts-section > div:last-child > div:nth-child(1) .circle-img { background: #1F3B66; }
.experts-section > div:last-child > div:nth-child(2) .circle-img { background: #C0121D; }
.experts-section > div:last-child > div:nth-child(3) .circle-img { background: #2E7D5B; }
.experts-section > div:last-child > div:nth-child(4) .circle-img { background: #0B1B33; }

.experts-section > div:last-child p:nth-of-type(1) {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.experts-section > div:last-child p.text-red {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.experts-section > div:last-child p:last-child {
  font-size: 0.84rem;
  color: var(--muted);
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 56px var(--gutter) 32px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}

footer > p:nth-of-type(1) {
  font-size: 0.92rem;
  margin-bottom: 24px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-bottom: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

footer nav span {
  font-size: 0.86rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

footer nav span:hover { color: var(--red); }

.copyright {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */

@media (max-width: 1024px) {
  .ecosystem-section {
    grid-template-columns: 1fr;
    padding-bottom: 80px;
  }

  .ecosystem-intro { max-width: 560px; margin: 0 auto; text-align: center; }

  .pillars-section { grid-template-columns: 1fr; }

  .boxes { grid-template-columns: 1fr; }

  .impact-goals > div:last-child {
    grid-template-columns: repeat(3, 1fr);
  }

  .experts-section > div:last-child {
    grid-template-columns: repeat(2, 1fr);
  }

  .right { gap: 20px; }

  .right span { font-size: 0.86rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤640px)
   ============================================================ */

@media (max-width: 640px) {
  .desktop-break { display: none; }

  header nav { padding: 14px 20px; }

  .nav-toggle { display: flex; }

  .right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid var(--border-dark);
  }

  .right.open { max-height: 400px; }

  .right span {
    width: 100%;
    padding: 14px 20px;
    border-top: 1px solid var(--border-dark);
  }

  .hero-section { padding: 96px 20px 48px; }

  .ecosystem-diagram {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .ecosystem-diagram::before { display: none; }

  .eco-center { position: static; transform: none; order: -1; margin-bottom: 6px; }

  .eco-node {
    position: static;
    width: 100%;
    max-width: 320px;
  }

  .quote-section,
  .abtcenter-section,
  .ecosystem-section,
  .pillars-section,
  .certificate-section,
  .experts-section,
  .impact-goals {
    padding-left: 20px;
    padding-right: 20px;
  }

  .certificate-section,
  .impact-goals { padding-top: 64px; padding-bottom: 64px; }

  .experts-section,
  .abtcenter-section { padding-top: 56px; padding-bottom: 64px; }

  .pillars-section { padding-bottom: 64px; gap: 20px; }

  .pillars-section > div:not(:first-child) { padding: 24px; }

  .elective-grid { grid-template-columns: 1fr; }

  .takeaways-list { grid-template-columns: 1fr; }

  .impact-goals > div:last-child {
    grid-template-columns: repeat(2, 1fr);
  }

  .experts-section > div:last-child {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .quote-section { padding: 56px 20px; }

  .boxes > div { padding: 24px; }

  .interested-box { padding: 28px 20px; }

  footer nav {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
}