/* ================================================================
   thelogicloom | ABOUT PAGE
   Same design system as work.php + team.php
   ================================================================ */
:root {
  --black:        #2A2A2D;
  --grey:         #4A4A4A;
  --grey-2:       #6B6B6B;
  --grey-3:       #969696;
  --grey-4:       #C4C4C4;
  --white:        #FFFFFF;
  --rule-light:   rgba(45,101,102,0.18);
  --rule-lighter: rgba(45,101,102,0.10);
  --amber:        #E8960A;
  --amber-lt:     #F5A82A;
  --amber-dim:    rgba(232,150,10,0.14);
  --teal:         #2D6566;
  --teal-lt:      #3D8A8B;
  --teal-dim:     rgba(45,101,102,0.12);
  --bg-teal:      #B1D9D9;
  --bg-teal-2:    #9DCECE;
  --bg-white:     #FFFFFF;
  --font-display: 'Open Sans', -apple-system, sans-serif;
  --font-body:    'Open Sans', -apple-system, sans-serif;
  --maxw:         1300px;
  --gutter:       clamp(20px, 4.5vw, 64px);
  --section:      clamp(80px, 9.5vw, 130px);
  --ease:         cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg-white); color: var(--teal); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--amber); color: var(--white); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

h1 { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.04em; line-height: 0.95; color: var(--teal); }
h2 { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.025em; line-height: 1.05; color: var(--teal); }
h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; color: var(--teal); }
h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; color: var(--teal); }
p { line-height: 1.7; color: var(--grey-2); }

.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 30px; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border: 1.5px solid transparent; transition: all .3s var(--ease); white-space: nowrap; cursor: pointer; }
.btn .arr { width: 15px; height: 15px; transition: transform .3s var(--ease); flex-shrink: 0; }
.btn:hover .arr { transform: translateX(5px); }
.btn-amber { background: var(--amber) !important; background-image: none !important; color: var(--white); border-color: var(--amber); }
.btn-amber:hover { background: #c47d08; border-color: #c47d08; }
.btn-outline-teal { background: transparent; color: var(--teal); border-color: rgba(45,101,102,0.35); }
.btn-outline-teal:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .95s var(--ease), transform .95s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

.s-label { display: flex; flex-direction: column; margin-bottom: 20px; }
.s-label .rule { display: block; width: 32px; height: 3px; background: var(--amber); margin-bottom: 12px; }
.s-label .rule.t { background: var(--teal); }
.s-label span { font-family: var(--font-display); font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey-3); }

.sec-hd { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: end; margin-bottom: clamp(44px, 5.5vw, 68px); }
@media (min-width: 860px) { .sec-hd { grid-template-columns: 1fr 1fr; gap: 72px; } }
.sec-hd h2 { font-size: clamp(28px, 3.8vw, 50px); max-width: 16ch; }
.sec-hd .lead p { font-size: 15.5px; color: var(--grey-2); max-width: 460px; line-height: 1.75; }
@media (min-width: 860px) { .sec-hd .lead p { margin-left: auto; } }

/* ================================================================
   NAV
   ================================================================ */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--bg-teal); border-bottom: 1px solid rgba(45,101,102,0.15); transition: border-color .35s; }
.nav-wrap.scrolled { border-bottom-color: rgba(45,101,102,0.25); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; gap: 24px; transition: padding .3s; }
.nav-wrap.scrolled .nav { padding: 15px 0; }
.brand img { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; margin: 0 auto 0 52px; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > .nav-toggle { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); transition: color .2s; padding: 4px 0; display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav-links > li > a:hover, .nav-links > li > .nav-toggle:hover { color: var(--black); }
.nav-links > li > a.active { color: var(--black); border-bottom: 2px solid var(--amber); padding-bottom: 1px; }
.chev { width: 10px; height: 10px; transition: transform .3s; }
.nav-links > li:hover .nav-toggle .chev { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 14px); left: -18px; background: #fff; border: 1px solid rgba(45,101,102,0.15); box-shadow: 0 8px 32px rgba(45,101,102,0.12); min-width: 255px; padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s var(--ease); }
.nav-links > li:hover .dropdown, .nav-links > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 11px 14px; font-size: 13.5px; font-weight: 500; color: var(--teal); transition: all .2s; }
.dropdown a:hover { background: var(--bg-teal); color: var(--black); padding-left: 20px; }
.dropdown .sub { display: block; font-size: 11px; color: var(--grey-2); font-weight: 400; margin-top: 2px; }
.dropdown .div { height: 1px; background: rgba(45,101,102,0.12); margin: 6px 8px; }
.menu-btn { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(45,101,102,0.2); }
.bar { display: block; width: 18px; height: 1.5px; background: var(--teal); position: relative; }
.bar::before, .bar::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--teal); }
.bar::before { top: -6px; } .bar::after { top: 6px; }
@media (max-width: 1040px) { .nav-links { display: none; } .menu-btn { display: flex; } .nav .btn { display: none; } }
.mobile-menu { position: fixed; inset: 0; background: #fff; z-index: 999; padding: 96px var(--gutter) 56px; transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto; }
.mobile-menu.open { transform: none; }
.mobile-menu .close { position: absolute; top: 22px; right: var(--gutter); width: 40px; height: 40px; border: 1px solid rgba(45,101,102,0.2); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--teal); }
.mobile-menu nav > a, .mobile-menu .m-group > .m-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 26px; font-weight: 600; padding: 18px 0; border-bottom: 1px solid rgba(45,101,102,0.12); color: var(--teal); background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; }
.mobile-menu .m-sub { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.mobile-menu .m-group.open .m-sub { max-height: 500px; }
.mobile-menu .m-sub a { display: block; padding: 13px 0 13px 18px; font-size: 15px; color: var(--grey-2); border-bottom: 1px solid rgba(45,101,102,0.08); }
.mobile-menu .btn { margin-top: 36px; width: 100%; justify-content: center; }

/* ================================================================
   PAGE HEADER
   ================================================================ */
.page-header {
  background: var(--bg-teal);
  padding-top: clamp(96px, 12vw, 152px);
  padding-bottom: clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--rule-light);
  position: relative; overflow: hidden;
}
.ph-orb-1 { position: absolute; top: -10%; right: -8%; width: clamp(240px, 38vw, 520px); height: clamp(240px, 38vw, 520px); border-radius: 50%; background: radial-gradient(circle, rgba(232,150,10,0.10) 0%, transparent 65%); pointer-events: none; animation: orbA 16s ease-in-out infinite alternate; }
.ph-orb-2 { position: absolute; bottom: -20%; left: -6%; width: clamp(160px, 22vw, 320px); height: clamp(160px, 22vw, 320px); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, transparent 65%); pointer-events: none; animation: orbB 20s ease-in-out infinite alternate; }
.ph-ring { position: absolute; top: 12%; right: 8%; width: clamp(140px, 18vw, 260px); height: clamp(140px, 18vw, 260px); border-radius: 50%; border: 1px solid rgba(232,150,10,0.18); pointer-events: none; animation: ringP 6s ease-in-out infinite; }
.ph-ring::after { content: ''; position: absolute; inset: 14px; border-radius: 50%; border: 1px solid rgba(45,101,102,0.12); }
@keyframes orbA { from{transform:translate(0,0) scale(1)} to{transform:translate(-3%,4%) scale(1.07)} }
@keyframes orbB { from{transform:translate(0,0)} to{transform:translate(3%,-4%)} }
@keyframes ringP { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.05);opacity:.55} }
.page-header::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(45,101,102,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(45,101,102,0.06) 1px, transparent 1px); background-size: 72px 72px; pointer-events: none; }
.page-header .wrap { position: relative; z-index: 1; }

.page-header h1 { font-size: clamp(40px, 6vw, 80px); max-width: 18ch; opacity: 0; animation: fadeUp .9s var(--ease) .15s forwards; }
.ph-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 28px; }
@media (min-width: 860px) { .ph-grid { grid-template-columns: 7fr 5fr; gap: 72px; align-items: end; } }
.ph-sub { font-size: clamp(15px, 1.5vw, 17px); line-height: 1.75; color: rgba(45,101,102,0.8); max-width: 44ch; opacity: 0; animation: fadeUp .9s var(--ease) .35s forwards; }

/* Stat strip */
.ph-stats { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid rgba(45,101,102,0.18); background: rgba(255,255,255,0.5); opacity: 0; animation: fadeUp .9s var(--ease) .55s forwards; align-self: end; }
.ph-stat { padding: 18px 24px; border-right: 1px solid rgba(45,101,102,0.18); flex: 1; min-width: 90px; }
.ph-stat:last-child { border-right: 0; }
.ph-stat .n { font-size: clamp(22px, 3vw, 32px); font-weight: 300; letter-spacing: -0.03em; color: var(--teal); line-height: 1; margin-bottom: 4px; }
.ph-stat .n span { color: var(--amber); }
.ph-stat .l { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(45,101,102,0.6); }
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:none} } to{opacity:1;transform:none} }

/* ================================================================
   FOUNDING STORY | white, editorial 2-col
   ================================================================ */
.story {
  background: var(--bg-white);
  padding: var(--section) 0;
  border-top: 1px solid var(--rule-light);
  position: relative; overflow: hidden;
}
.story-ring { position: absolute; bottom: -80px; right: -80px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(45,101,102,0.07); pointer-events: none; animation: slowSpin 50s linear infinite; }
.story-ring::before { content: ''; position: absolute; inset: 50px; border-radius: 50%; border: 1px solid rgba(232,150,10,0.06); }
@keyframes slowSpin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.story .wrap { position: relative; z-index: 1; }

.story-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 860px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }

.story-grid h2 { font-size: clamp(28px, 3.8vw, 50px); max-width: 19ch; }
.story-body { display: flex; flex-direction: column; gap: 18px; }
.story-body p { font-size: 15.5px; color: var(--grey-2); line-height: 1.8; }
.story-body strong { font-weight: 600; color: var(--teal); }

@media (min-width: 860px) { .story-body { padding-top: 0px; } }


/* ================================================================
   FACTS | teal bg, clean grid
   ================================================================ */
.facts {
  background: var(--bg-teal);
  padding: var(--section) 0;
  border-top: 1px solid var(--rule-light);
  position: relative; overflow: hidden;
}
.facts-orb { position: absolute; top: -40px; right: -40px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 65%); pointer-events: none; animation: orbB 14s ease-in-out infinite alternate; }
.facts-num { position: absolute; bottom: -20px; left: var(--gutter); font-family: var(--font-display); font-size: clamp(120px, 18vw, 200px); font-weight: 700; color: rgba(255,255,255,0.08); pointer-events: none; user-select: none; line-height: 1; }
.facts .wrap { position: relative; z-index: 1; }

.facts-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: var(--rule-light);
  border: 1px solid var(--rule-light);
}
@media (min-width: 560px) { .facts-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .facts-grid { grid-template-columns: repeat(4, 1fr); } }

.fact {
  background: var(--bg-white);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background .25s;
  position: relative; overflow: hidden;
}
.fact::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--amber); transition: width .4s var(--ease); }
.fact:nth-child(even)::after { background: var(--teal); }
.fact:hover::after { width: 100%; }
.fact:hover { background: #F8FDFD; }
.fact-label { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-3); }
.fact-value { font-size: 15px; color: var(--teal); font-weight: 500; line-height: 1.5; }
.fact-value a { color: var(--teal); border-bottom: 1px solid var(--rule-light); transition: color .2s, border-color .2s; }
.fact-value a:hover { color: var(--amber); border-bottom-color: var(--amber); }

/* ================================================================
   PILLARS | white, 5 cards
   ================================================================ */
.pillars {
  background: var(--bg-white);
  padding: var(--section) 0;
  border-top: 1px solid var(--rule-light);
  position: relative; overflow: hidden;
}
.pillars-orb { position: absolute; bottom: -60px; left: -60px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(232,150,10,0.07) 0%, transparent 65%); pointer-events: none; animation: orbA 16s ease-in-out infinite alternate; }
.pillars-num { position: absolute; top: -20px; right: var(--gutter); font-family: var(--font-display); font-size: clamp(120px, 18vw, 200px); font-weight: 700; color: rgba(45,101,102,0.04); pointer-events: none; user-select: none; line-height: 1; }
.pillars .wrap { position: relative; z-index: 1; }

.pillars-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: var(--rule-light);
  border: 1px solid var(--rule-light);
}
@media (min-width: 640px) { .pillars-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }

/* With 6 pillars in a 3-col grid, all rows are full - no orphan centering needed */
@media (min-width: 1000px) {
  .pillar:nth-child(4),
  .pillar:nth-child(5) {
    text-align: left;
    align-items: flex-start;
  }
}

.pillar {
  background: var(--bg-white);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex; flex-direction: column; gap: 14px;
  transition: background .3s var(--ease);
  position: relative; overflow: hidden;
}
/* Ghost number watermark */
.pillar::before { content: attr(data-n); position: absolute; bottom: -12px; right: 8px; font-family: var(--font-display); font-size: 88px; font-weight: 700; color: rgba(45,101,102,0.04); line-height: 1; pointer-events: none; transition: color .3s; }
/* Animated top bar */
.pillar::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.pillar:nth-child(3n+1)::after { background: var(--amber); }
.pillar:nth-child(3n+2)::after { background: var(--teal); }
.pillar:nth-child(3n)::after   { background: linear-gradient(90deg, var(--amber), var(--teal)); }
.pillar:hover { background: #F8FDFD; }
.pillar:hover::after { transform: scaleX(1); }
.pillar:hover::before { color: rgba(232,150,10,0.08); }

.pillar-num { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--amber); }
.pillar:nth-child(even) .pillar-num { color: var(--teal); }
.pillar h3 { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.25; }
.pillar p { font-size: 14px; color: var(--grey-2); line-height: 1.7; flex-grow: 1; }

/* ================================================================
   THE MODEL | teal bg, 5 sequential steps
   ================================================================ */
.model {
  background: var(--bg-teal);
  padding: var(--section) 0;
  border-top: 1px solid var(--rule-light);
  position: relative; overflow: hidden;
}
.model-orb { position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 65%); pointer-events: none; animation: orbA 18s ease-in-out infinite alternate; }
.model-num-bg { position: absolute; bottom: -20px; left: var(--gutter); font-family: var(--font-display); font-size: clamp(120px, 18vw, 200px); font-weight: 700; color: rgba(255,255,255,0.07); pointer-events: none; user-select: none; line-height: 1; }
.model .wrap { position: relative; z-index: 1; }


@media (min-width: 640px) {  }
@media (min-width: 1000px) {  }


.model-step h3 { font-size: clamp(15px, 1.6vw, 18px); line-height: 1.25; }
.model-step p { font-size: 13.5px; color: var(--grey-2); line-height: 1.7; flex-grow: 1; }

/* ================================================================
   INDUSTRIES | white, 5 tiles
   ================================================================ */
.industries {
  background: var(--bg-white);
  padding: var(--section) 0;
  border-top: 1px solid var(--rule-light);
  position: relative; overflow: hidden;
}
.ind-ring { position: absolute; top: -60px; left: -60px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(232,150,10,0.08); pointer-events: none; animation: slowSpin 60s linear infinite; }
.ind-num-bg { position: absolute; top: -20px; right: var(--gutter); font-family: var(--font-display); font-size: clamp(120px, 18vw, 200px); font-weight: 700; color: rgba(45,101,102,0.04); pointer-events: none; user-select: none; line-height: 1; }
.industries .wrap { position: relative; z-index: 1; }

.ind-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: var(--rule-light);
  border: 1px solid var(--rule-light);
}
@media (min-width: 540px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .ind-grid { grid-template-columns: repeat(4, 1fr); } }

.ind-tile {
  background: var(--bg-white);
  padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 12px;
  transition: background .3s var(--ease);
  position: relative; overflow: hidden;
  min-height: 220px;
}
.ind-tile::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease); }
.ind-tile:nth-child(odd)::before  { background: var(--amber); }
.ind-tile:nth-child(even)::before { background: var(--teal); }
.ind-tile:hover { background: #F8FDFD; }
.ind-tile:hover::before { transform: scaleY(1); }

.ind-tile-n { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.ind-tile:nth-child(odd)  .ind-tile-n { color: var(--amber); }
.ind-tile:nth-child(even) .ind-tile-n { color: var(--teal); }
.ind-tile h4 { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.2; }
.ind-tile p { font-size: 13.5px; color: var(--grey-2); line-height: 1.65; flex-grow: 1; }

/* ================================================================
   CTA
   ================================================================ */
.cta-final { background: var(--bg-teal); border-top: 1px solid var(--rule-light); padding: clamp(52px, 6.5vw, 84px) 0; text-align: center; position: relative; overflow: hidden; }
.cta-o1 { position: absolute; top: -80px; left: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.28) 0%, transparent 65%); pointer-events: none; animation: orbA 18s ease-in-out infinite alternate; }
.cta-o2 { position: absolute; bottom: -60px; right: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(232,150,10,0.09) 0%, transparent 65%); pointer-events: none; animation: orbB 14s ease-in-out infinite alternate; }
.cta-final .wrap { position: relative; z-index: 1; }
.cta-kicker { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cta-kl { width: 28px; height: 2px; } .cta-kl:first-child { background: var(--amber); } .cta-kl:last-child { background: var(--teal); }
.cta-kicker span { font-family: var(--font-display); font-size: 10.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); }
.cta-final h2 { font-size: clamp(32px, 5vw, 72px); color: var(--teal); max-width: 18ch; margin: 0 auto 20px; }
.cta-final h2 em { color: var(--amber); font-style: italic; font-weight: 300; }
.cta-final p { font-size: 17px; color: rgba(45,101,102,0.72); max-width: 480px; margin: 0 auto 28px; line-height: 1.75; }
.cta-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 24px; }
.cta-perk { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(45,101,102,0.6); }
.cta-perk:nth-child(odd)::before  { content: '✓'; color: var(--amber); }
.cta-perk:nth-child(even)::before { content: '✓'; color: var(--teal); }

/* ================================================================
   FOOTER
   ================================================================ */
footer { background: var(--bg-white); border-top: 1px solid var(--rule-light); padding: 80px 0 36px; }
.foot-top { display: grid; grid-template-columns: 1fr; gap: 48px; padding-bottom: 52px; border-bottom: 1px solid var(--rule-light); }
@media (min-width: 760px) { .foot-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; } }
.foot-brand img { height: 32px; margin-bottom: 18px; display: block; }
.foot-brand p { font-size: 13.5px; color: var(--teal); line-height: 1.7; max-width: 272px; }
.foot-gp { margin-top: 20px; }
.foot-gp img { height: 48px; width: auto; opacity: 0.8; transition: opacity .25s; }
.foot-gp a:hover img { opacity: 1; }
.foot-col h5 { font-family: var(--font-display); font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(45,101,102,0.5); margin-bottom: 18px; }
.foot-col ul li { margin-bottom: 11px; }
.foot-col ul a { font-size: 13.5px; color: var(--teal); transition: color .2s; }
.foot-col ul a:hover { color: var(--amber); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 26px; font-family: var(--font-display); font-size: 12px; color: rgba(45,101,102,0.65); align-items: center; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border: 1px solid rgba(45,101,102,0.25); display: flex; align-items: center; justify-content: center; color: var(--teal); border-radius: 50%; transition: all .25s; }
.socials a:hover { border-color: var(--amber); color: var(--amber); background: rgba(232,150,10,0.06); }
.socials svg { width: 20px; height: 20px; }

/* ── Horizontal process timeline ── */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (min-width: 860px) {
  .timeline { flex-direction: row; align-items: flex-start; }
}

/* Connecting line - desktop only */
.timeline::before {
  content: '';
  display: none;
}
@media (min-width: 860px) {
  .timeline::before {
    content: '';
    display: block;
    position: absolute;
    top: 28px;
    left: calc(10% + 28px);
    right: calc(10% + 28px);
    height: 2px;
    background: linear-gradient(90deg, var(--amber), var(--teal));
    z-index: 0;
  }
}

.timeline-step {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule-light);
  position: relative;
}
@media (min-width: 860px) {
  .timeline-step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
    border-bottom: none;
    border-right: none;
  }
}
.timeline-step:last-child { border-bottom: none; }

/* Circle node */
.tl-node {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--amber);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative; z-index: 1;
  transition: background .3s, border-color .3s;
}
.timeline-step:nth-child(even) .tl-node { border-color: var(--teal); }
.timeline-step:hover .tl-node { background: var(--amber); }
.timeline-step:nth-child(even):hover .tl-node { background: var(--teal); }
@media (min-width: 860px) {
  .tl-node { width: 56px; height: 56px; margin-bottom: 20px; }
}

.tl-num {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  color: var(--amber); line-height: 1;
  transition: color .3s;
}
.timeline-step:nth-child(even) .tl-num { color: var(--teal); }
.timeline-step:hover .tl-num { color: var(--white); }
.timeline-step:nth-child(even):hover .tl-num { color: var(--white); }

/* Mobile connector line - vertical */
@media (max-width: 859px) {
  .tl-node::after {
    content: '';
    position: absolute;
    top: 56px; left: 50%;
    transform: translateX(-50%);
    width: 2px; height: calc(100% + 40px);
    background: linear-gradient(180deg, var(--amber), var(--teal));
  }
  .timeline-step:last-child .tl-node::after { display: none; }
}

.tl-content { flex: 1; }
@media (min-width: 860px) { .tl-content { width: 100%; } }

.tl-label {
  font-family: var(--font-display);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 6px; display: block;
}
.timeline-step:nth-child(even) .tl-label { color: var(--teal); }
.tl-content h3 {
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.25; margin-bottom: 8px;
}
.tl-content p {
  font-size: 13px; color: var(--grey-2);
  line-height: 1.65;
}
.teal .tl-content p { color: rgba(45,101,102,0.75); }


@media (max-width: 1040px) {
  .slim-nav .nav-links { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 8px 0 0; }
  .slim-nav .nav { flex-wrap: wrap; }
  .slim-nav .nav .btn { display: inline-flex; }
}
