/* =============================================================
   SOVEREIGN SECURITY GROUP — style.css
   Structure:
   01. Tokens & Reset
   02. Cursor
   03. Navbar
   04. Mobile Menu
   05. Hero
   06. Ticker
   07. Shared Section Primitives
   08. About
   09. Services
   10. Founder
   11. Process
   12. Join CTA
   13. Footer
   14. Scroll-reveal utilities
   15. Keyframes
   16. Responsive overrides
   ============================================================= */

/* ── 01. TOKENS & RESET ────────────────────────────────────── */
:root {
  /* Brand */
  --gold:         #F2B705;
  --orangered:    #FF4500;
  --gold-10:      rgba(242, 183, 5, .10);
  --gold-15:      rgba(242, 183, 5, .15);
  --gold-50:      rgba(242, 183, 5, .50);

  /* Surfaces */
  --bg:           #080808;
  --bg-2:         #0d0d0d;
  --bg-3:         #111111;

  /* Text */
  --text:         #F0EDE8;
  --muted:        #797571;

  /* Borders */
  --border:       rgba(242, 183, 5, .14);
  --border-dark:  rgba(255, 255, 255, .06);

  /* Typography */
  --ff-display:   "Cormorant Garamond", Georgia, serif;
  --ff-body:      "Barlow", system-ui, sans-serif;
  --ff-cond:      "Barlow Condensed", system-ui, sans-serif;

  /* Motion */
  --dur-fast:     .2s;
  --dur-base:     .35s;
  --dur-slow:     .6s;
  --ease:         cubic-bezier(.4, 0, .2, 1);
  --ease-spring:  cubic-bezier(.22, .68, 0, 1.2);

  /* Layout */
  --max-w:        1200px;
  --section-pad:  100px 52px;
}

*,
*::before,
*::after {
  margin:     0;
  padding:    0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size:       16px;
  /* prevent iOS tap highlight */
  -webkit-tap-highlight-color: transparent;
}

body {
  background:   var(--bg);
  color:        var(--text);
  font-family:  var(--ff-body);
  font-weight:  300;
  line-height:  1.6;
  overflow-x:   hidden;
  cursor:       none;
}

/* Remove default list style wherever we use semantic lists */
ul[role="list"],
ol[role="list"] { list-style: none; }

a { text-decoration: none; color: inherit; }

img, svg { display: block; max-width: 100%; }

/* Focus ring — visible only for keyboard navigation */
:focus-visible {
  outline:        2px solid var(--gold);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }

/* Scrollbar */
::-webkit-scrollbar       { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }


/* ── 02. CURSOR ────────────────────────────────────────────── */
.cursor {
  position:       fixed;
  top:            0;
  left:           0;
  pointer-events: none;
  z-index:        9999;
  /* both children share this positioning context */
}

.cursor-dot {
  position:      absolute;
  width:         6px;
  height:        6px;
  background:    var(--gold);
  border-radius: 50%;
  transform:     translate(-50%, -50%);
  will-change:   left, top;
}

.cursor-ring {
  position:      absolute;
  width:         32px;
  height:        32px;
  border:        1px solid var(--gold-50);
  border-radius: 50%;
  transform:     translate(-50%, -50%);
  transition:
    width  var(--dur-base) var(--ease-spring),
    height var(--dur-base) var(--ease-spring),
    opacity var(--dur-base) var(--ease);
  will-change: left, top, width, height;
}

/* Expanded state — toggled by JS on hoverable elements */
.cursor.is-hovering .cursor-ring {
  width:   50px;
  height:  50px;
  opacity: .55;
}


/* ── 03. NAVBAR ────────────────────────────────────────────── */
.nav {
  position:       fixed;
  top:            0;
  left:           0;
  width:          100%;
  z-index:        100;
  display:        flex;
  align-items:    center;
  justify-content:space-between;
  padding:        22px 52px;
  background:     linear-gradient(to bottom, rgba(8, 8, 8, .96), transparent);
  transition:
    transform    .5s  var(--ease),
    background   var(--dur-slow) var(--ease),
    padding      var(--dur-slow) var(--ease),
    border-color var(--dur-slow) var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background:    rgba(8, 8, 8, .97);
  padding:       15px 52px;
  border-color:  var(--border);
  backdrop-filter: blur(8px);
}

.nav.is-hidden { transform: translateY(-100%); }

/* Logo */
.nav-logo {
  display:     flex;
  align-items: center;
  gap:         12px;
  cursor:      none;
}

.nav-logo-mark {
  flex-shrink:     0;
  width:           38px;
  height:          38px;
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-family:     var(--ff-display);
  font-size:       1.1rem;
  font-weight:     600;
  color:           var(--gold);
  letter-spacing:  .05em;
  transition:      background var(--dur-base) var(--ease);
}

.nav-logo-text {
  display:       flex;
  flex-direction:column;
  line-height:   1.15;
}

.nav-logo-text span:first-child {
  font-family:    var(--ff-cond);
  font-size:      .68rem;
  letter-spacing: .26em;
  color:          var(--gold);
  text-transform: uppercase;
  font-weight:    600;
}

.nav-logo-text span:last-child {
  font-family:    var(--ff-display);
  font-size:      1.05rem;
  color:          var(--text);
  letter-spacing: .04em;
}

/* Nav links */
.nav-links {
  display:     flex;
  align-items: center;
  gap:         38px;
  list-style:  none;
}

.nav-links a {
  font-family:    var(--ff-cond);
  font-size:      .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight:    500;
  color:          var(--muted);
  transition:     color var(--dur-base) var(--ease);
  position:       relative;
  cursor:         none;
}

.nav-links a::after {
  content:    '';
  position:   absolute;
  bottom:     -4px;
  left:       0;
  width:      0;
  height:     1px;
  background: var(--gold);
  transition: width var(--dur-slow) var(--ease);
}

.nav-links a:hover       { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

/* CTA button in nav */
.nav-cta {
  padding:        9px 22px;
  border:         1px solid var(--gold);
  color:          var(--gold) !important;
  font-family:    var(--ff-cond);
  font-size:      .74rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight:    600;
  transition:
    background var(--dur-base) var(--ease),
    color      var(--dur-base) var(--ease) !important;
}

.nav-cta:hover {
  background: var(--gold);
  color:      #000 !important;
}

/* Suppress underline pseudo-element on the CTA */
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display:         none;
  flex-direction:  column;
  gap:             5px;
  border:          none;
  background:      none;
  padding:         6px 4px;
  cursor:          none;
}

.nav-hamburger span {
  display:    block;
  width:      24px;
  height:     1.5px;
  background: var(--text);
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
  transform-origin: center;
}


/* ── 04. MOBILE MENU ───────────────────────────────────────── */
.mobile-menu {
  position:        fixed;
  inset:           0;
  background:      rgba(8, 8, 8, .98);
  z-index:         99;
  display:         flex;
  align-items:     center;
  justify-content: center;
  transform:       translateX(100%);
  transition:      transform .45s var(--ease);
  backdrop-filter: blur(12px);
}

.mobile-menu.is-open { transform: translateX(0); }

.mobile-menu ul {
  list-style:      none;
  text-align:      center;
  display:         flex;
  flex-direction:  column;
  gap:             32px;
}

.mobile-menu a {
  font-family: var(--ff-display);
  font-size:   2rem;
  color:       var(--text);
  transition:  color var(--dur-base) var(--ease);
  cursor:      none;
}

.mobile-menu a:hover { color: var(--gold); }


/* ── 05. HERO ──────────────────────────────────────────────── */
.hero {
  position:   relative;
  height:     100vh;
  min-height: 680px;
  display:    flex;
  align-items:center;
  overflow:   hidden;
}

#hero-canvas {
  position: absolute;
  inset:    0;
  z-index:  0;
}

.hero-noise {
  position:         absolute;
  inset:            0;
  z-index:          1;
  opacity:          .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:  200px;
  pointer-events:   none;
}

.hero-gradient {
  position:       absolute;
  inset:          0;
  z-index:        2;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(242, 183, 5, .05) 0%, transparent 65%),
    linear-gradient(to right, rgba(8, 8, 8, .93) 42%, rgba(8, 8, 8, .3) 100%);
  pointer-events: none;
}

.hero-content {
  position:   relative;
  z-index:    3;
  padding:    0 52px;
  max-width:  800px;
}

.hero-eyebrow {
  display:        inline-flex;
  align-items:    center;
  gap:            14px;
  font-family:    var(--ff-cond);
  font-size:      .7rem;
  letter-spacing: .32em;
  color:          var(--gold);
  text-transform: uppercase;
  font-weight:    600;
  margin-bottom:  28px;
  opacity:        0;
  transform:      translateY(18px);
  animation:      a-fade-up .8s var(--ease) .3s forwards;
}

.hero-eyebrow::before {
  content:    '';
  display:    block;
  width:      38px;
  height:     1px;
  background: var(--gold);
  flex-shrink:0;
}

.hero-title {
  font-family:    var(--ff-display);
  font-size:      clamp(3rem, 6.5vw, 5.8rem);
  font-weight:    300;
  line-height:    1.06;
  letter-spacing: -.01em;
  margin-bottom:  26px;
  opacity:        0;
  transform:      translateY(28px);
  animation:      a-fade-up .9s var(--ease) .5s forwards;
}

.hero-title em       { font-style: italic; color: var(--gold); }
.hero-title strong   { font-weight: 600; display: block; }

.hero-sub {
  font-size:      .98rem;
  color:          var(--muted);
  line-height:    1.78;
  max-width:      460px;
  margin-bottom:  42px;
  font-weight:    300;
  letter-spacing: .015em;
  opacity:        0;
  transform:      translateY(18px);
  animation:      a-fade-up .8s var(--ease) .7s forwards;
}

.hero-actions {
  display:     flex;
  align-items: center;
  gap:         18px;
  flex-wrap:   wrap;
  opacity:     0;
  transform:   translateY(18px);
  animation:   a-fade-up .8s var(--ease) .9s forwards;
}

/* ── Buttons (reused throughout) ── */
.btn-primary {
  display:        inline-block;
  padding:        13px 34px;
  background:     var(--gold);
  color:          #000;
  font-family:    var(--ff-cond);
  font-size:      .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight:    700;
  cursor:         none;
  transition:
    transform    var(--dur-base) var(--ease-spring),
    box-shadow   var(--dur-base) var(--ease);
}

.btn-primary:hover {
  transform:  translateY(-2px);
  box-shadow: 0 14px 36px rgba(242, 183, 5, .28);
}

.btn-ghost {
  display:        inline-block;
  padding:        13px 34px;
  border:         1px solid rgba(240, 237, 232, .2);
  color:          var(--text);
  font-family:    var(--ff-cond);
  font-size:      .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight:    600;
  cursor:         none;
  transition:
    border-color var(--dur-base) var(--ease),
    color        var(--dur-base) var(--ease);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color:        var(--gold);
}

/* Scroll hint */
.hero-scroll {
  position:       absolute;
  bottom:         40px;
  left:           52px;
  z-index:        3;
  display:        flex;
  align-items:    center;
  gap:            14px;
  font-family:    var(--ff-cond);
  font-size:      .66rem;
  letter-spacing: .26em;
  color:          var(--muted);
  text-transform: uppercase;
  opacity:        0;
  animation:      a-fade-up .8s var(--ease) 1.2s forwards;
}

.hero-scroll-line {
  width:    46px;
  height:   1px;
  background: var(--muted);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-scroll-line::after {
  content:   '';
  position:  absolute;
  top:       0;
  left:      -100%;
  width:     100%;
  height:    100%;
  background:var(--gold);
  animation: a-slide-line 2.4s var(--ease) 1.8s infinite;
}

/* Years badge */
.hero-badge {
  position:        absolute;
  right:           60px;
  bottom:          60px;
  z-index:         3;
  width:           100px;
  height:          100px;
  border:          1px solid var(--border);
  border-radius:   50%;
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-direction:  column;
  text-align:      center;
  opacity:         0;
  animation:       a-fade-in 1s var(--ease) 1.5s forwards;
  transition:      border-color var(--dur-base) var(--ease);
}

.hero-badge:hover { border-color: var(--gold-50); }

.hero-badge span:first-child {
  font-family: var(--ff-display);
  font-size:   1.8rem;
  font-weight: 600;
  color:       var(--gold);
  line-height: 1;
}

.hero-badge span:last-child {
  font-family:    var(--ff-cond);
  font-size:      .54rem;
  letter-spacing: .14em;
  color:          var(--muted);
  text-transform: uppercase;
  margin-top:     5px;
}


/* ── 06. TICKER ────────────────────────────────────────────── */
.ticker {
  background: var(--gold);
  padding:    11px 0;
  overflow:   hidden;
  white-space:nowrap;
  position:   relative;
  z-index:    2;
}

.ticker-inner {
  display:   inline-flex;
  animation: a-ticker 30s linear infinite;
}

/* Pause on reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .ticker-inner { animation: none; }
}

.ticker span {
  font-family:    var(--ff-cond);
  font-size:      .7rem;
  font-weight:    700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color:          #000;
  padding:        0 26px;
}

.ticker span::after {
  content: ' ·';
  opacity: .4;
}


/* ── 07. SHARED SECTION PRIMITIVES ─────────────────────────── */
.divider {
  width:      1px;
  height:     72px;
  margin:     0 auto;
  background: linear-gradient(to bottom, transparent, var(--gold-50), transparent);
}

.section { padding: var(--section-pad); }

.section-label {
  display:        inline-flex;
  align-items:    center;
  gap:            12px;
  font-family:    var(--ff-cond);
  font-size:      .68rem;
  letter-spacing: .32em;
  color:          var(--gold);
  text-transform: uppercase;
  font-weight:    600;
  margin-bottom:  18px;
}

.section-label::before {
  content:    '';
  display:    block;
  width:      24px;
  height:     1px;
  background: var(--gold);
  flex-shrink:0;
}

.section-title {
  font-family:    var(--ff-display);
  font-size:      clamp(2.2rem, 4vw, 3.6rem);
  font-weight:    300;
  line-height:    1.1;
  letter-spacing: -.01em;
}

.section-title em { font-style: italic; color: var(--gold); }


/* ── 08. ABOUT ─────────────────────────────────────────────── */
.about { background: var(--bg-2); }

.about-inner {
  max-width:   var(--max-w);
  margin:      0 auto;
  display:     grid;
  grid-template-columns: 1fr 1fr;
  gap:         80px;
  align-items: center;
}

.about-left .section-title { margin-bottom: 26px; }

.about-quote {
  font-family:  var(--ff-display);
  font-size:    1.3rem;
  font-style:   italic;
  color:        var(--gold);
  line-height:  1.55;
  padding:      22px 0;
  border-top:   1px solid var(--border);
  border-bottom:1px solid var(--border);
  margin:       26px 0;
}

.about-body {
  color:       var(--muted);
  line-height: 1.85;
  font-size:   .92rem;
  margin-bottom:14px;
}

.about-right {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   16px;
}

.about-stat {
  background: var(--bg-3);
  border:     1px solid var(--border);
  padding:    26px 22px;
  transition:
    border-color var(--dur-base) var(--ease),
    transform    var(--dur-base) var(--ease);
}

.about-stat:hover {
  border-color: var(--gold);
  transform:    translateY(-4px);
}

/* Stagger alternating stat cards */
.about-stat:nth-child(2),
.about-stat:nth-child(4) { margin-top: 26px; }

.about-stat-num {
  font-family:  var(--ff-display);
  font-size:    2.8rem;
  font-weight:  600;
  color:        var(--gold);
  line-height:  1;
  margin-bottom:8px;
}

.about-stat-label {
  font-family:    var(--ff-cond);
  font-size:      .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color:          var(--muted);
}


/* ── 09. SERVICES ──────────────────────────────────────────── */
.services { background: var(--bg); }

.services-inner { max-width: var(--max-w); margin: 0 auto; }

.services-header {
  display:         flex;
  justify-content: space-between;
  align-items:     flex-end;
  margin-bottom:   52px;
}

.services-header .section-title { max-width: 460px; }

.services-header > p {
  color:      var(--muted);
  font-size:  .88rem;
  max-width:  300px;
  line-height:1.72;
  text-align: right;
}

.services-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   1px;
  background:            var(--border);
  /* ensure border is clipped */
  overflow:              hidden;
  border-radius:         1px;
}

.service-card {
  background: var(--bg);
  padding:    42px 30px;
  position:   relative;
  overflow:   hidden;
  transition: background var(--dur-base) var(--ease);
  /* layer for GPU compositing */
  will-change: background;
}

/* Gold underline sweep */
.service-card::before {
  content:    '';
  position:   absolute;
  bottom:     0;
  left:       0;
  width:      0;
  height:     2px;
  background: var(--gold);
  transition: width var(--dur-slow) var(--ease);
}

.service-card:hover { background: rgba(242, 183, 5, .025); }
.service-card:hover::before { width: 100%; }

.service-num {
  display:      block;
  font-family:  var(--ff-display);
  font-size:    3rem;
  font-weight:  600;
  color:        var(--gold-15);
  line-height:  1;
  margin-bottom:22px;
  transition:   color var(--dur-base) var(--ease);
  user-select:  none;
}

.service-card:hover .service-num { color: rgba(242, 183, 5, .28); }

.service-icon {
  width:      40px;
  height:     40px;
  border:     1px solid var(--border);
  display:    flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
  transition:
    border-color var(--dur-base) var(--ease),
    background   var(--dur-base) var(--ease);
  flex-shrink: 0;
}

.service-card:hover .service-icon {
  border-color: var(--gold);
  background:   var(--gold-10);
}

.service-icon svg {
  width:        18px;
  height:       18px;
  stroke:       var(--gold);
  fill:         none;
  stroke-width: 1.5;
  stroke-linecap:  round;
  stroke-linejoin: round;
}

.service-title {
  font-family:    var(--ff-cond);
  font-size:      .98rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight:    600;
  margin-bottom:  10px;
  color:          var(--text);
}

.service-body {
  font-size:  .85rem;
  color:      var(--muted);
  line-height:1.75;
}


/* ── 10. FOUNDER ───────────────────────────────────────────── */
.founder { background: var(--bg-2); overflow: hidden; }

.founder-inner {
  max-width:             1100px;
  margin:                0 auto;
  display:               grid;
  grid-template-columns: 0.65fr 1fr;
  gap:                   60px;
  align-items:           center;
}

.founder-img-wrap { position: relative; }

.founder-frame-border {
  position:       absolute;
  top:            -10px;
  left:           -10px;
  right:          10px;
  bottom:         10px;
  border:         1px solid var(--border);
  pointer-events: none;
  z-index:        1;
  transition:     border-color var(--dur-slow) var(--ease);
}

.founder-img-wrap:hover .founder-frame-border { border-color: var(--gold-50); }

.founder-img-frame {
  position: relative;
  overflow: hidden;
}

.founder-img-frame img {
  width:         100%;
  height:        390px;
  object-fit:    cover;
  object-position: top center;
  filter:        grayscale(12%);
  transition:
    filter    var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
  will-change: transform;
}

.founder-img-frame:hover img {
  filter:    grayscale(0%);
  transform: scale(1.03);
}

/* Gradient overlay */
.founder-img-frame::after {
  content:        '';
  position:       absolute;
  inset:          0;
  background:     linear-gradient(to top, rgba(8, 8, 8, .55) 0%, transparent 50%);
  pointer-events: none;
}

.founder-info { padding: 8px 0; }

.founder-info .section-label { margin-bottom: 20px; }
.founder-info .section-title { margin-bottom:  6px; }

.founder-role {
  font-family:    var(--ff-cond);
  font-size:      .74rem;
  letter-spacing: .25em;
  color:          var(--gold);
  text-transform: uppercase;
  font-weight:    600;
  margin-bottom:  26px;
}

.founder-bio {
  color:       var(--muted);
  line-height: 1.85;
  font-size:   .92rem;
  margin-bottom:12px;
}

.founder-tags {
  display:    flex;
  flex-wrap:  wrap;
  gap:        8px;
  margin-top: 26px;
  list-style: none;
}

.founder-tag {
  padding:        5px 14px;
  border:         1px solid var(--border);
  font-family:    var(--ff-cond);
  font-size:      .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color:          var(--muted);
  transition:
    border-color var(--dur-base) var(--ease),
    color        var(--dur-base) var(--ease);
  cursor:         default;
}

.founder-tag:hover {
  border-color: var(--gold);
  color:        var(--gold);
}


/* ── 11. PROCESS ───────────────────────────────────────────── */
.process { background: var(--bg); }

.process-inner { max-width: var(--max-w); margin: 0 auto; }

.process-header {
  text-align:    center;
  margin-bottom: 68px;
}

.process-header .section-label { justify-content: center; }

/* Connector line between steps */
.process-steps {
  display:               grid;
  grid-template-columns: repeat(5, 1fr);
  gap:                   0;
  position:              relative;
  list-style:            none;
}

.process-steps::before {
  content:    '';
  position:   absolute;
  top:        26px;
  left:       10%;
  right:      10%;
  height:     1px;
  background: linear-gradient(to right, transparent, var(--border) 20%, var(--border) 80%, transparent);
  pointer-events: none;
}

.process-step {
  padding:    0 12px;
  text-align: center;
  position:   relative;
  z-index:    1;
}

.step-num {
  width:           54px;
  height:          54px;
  border:          1px solid var(--border);
  border-radius:   50%;
  display:         flex;
  align-items:     center;
  justify-content: center;
  font-family:     var(--ff-display);
  font-size:       1.1rem;
  font-weight:     600;
  color:           var(--muted);
  margin:          0 auto 20px;
  background:      var(--bg);
  transition:
    border-color var(--dur-base) var(--ease),
    color        var(--dur-base) var(--ease),
    background   var(--dur-base) var(--ease);
}

.process-step:hover .step-num {
  border-color: var(--gold);
  color:        var(--gold);
  background:   var(--gold-10);
}

.step-title {
  font-family:    var(--ff-cond);
  font-size:      .76rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight:    600;
  color:          var(--text);
  margin-bottom:  10px;
}

.step-body {
  font-size:  .82rem;
  color:      var(--muted);
  line-height:1.65;
}

.step-link {
  color:      var(--gold);
  cursor:     none;
  transition: opacity var(--dur-fast) var(--ease);
}

.step-link:hover { opacity: .72; }


/* ── 12. JOIN CTA ──────────────────────────────────────────── */
.join {
  background: var(--bg-2);
  position:   relative;
  overflow:   hidden;
}

/* Ambient glow */
.join::before {
  content:        '';
  position:       absolute;
  top:            -160px;
  right:          -160px;
  width:          480px;
  height:         480px;
  border-radius:  50%;
  background:     radial-gradient(circle, rgba(242, 183, 5, .06) 0%, transparent 70%);
  pointer-events: none;
}

.join-inner {
  max-width:  840px;
  margin:     0 auto;
  text-align: center;
  position:   relative;
  z-index:    1;
}

.join .section-label  { justify-content: center; }
.join .section-title  { margin-bottom:   18px; }

.join-sub {
  color:        var(--muted);
  font-size:    .95rem;
  line-height:  1.75;
  max-width:    500px;
  margin:       0 auto 44px;
}

.join-actions {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             16px;
  flex-wrap:       wrap;
}

.join-note {
  margin-top:     24px;
  font-family:    var(--ff-cond);
  font-size:      .68rem;
  letter-spacing: .18em;
  color:          var(--muted);
  text-transform: uppercase;
}

.join-note a {
  color:      var(--gold);
  cursor:     none;
  transition: opacity var(--dur-fast) var(--ease);
}

.join-note a:hover { opacity: .72; }


/* ── 13. FOOTER ────────────────────────────────────────────── */
.footer {
  background:   var(--bg);
  border-top:   1px solid var(--border);
  padding:      64px 52px 36px;
}

.footer-inner { max-width: var(--max-w); margin: 0 auto; }

.footer-top {
  display:               grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap:                   48px;
  margin-bottom:         52px;
}

/* Brand column */
.footer-brand-logo {
  display:     flex;
  align-items: center;
  gap:         12px;
  margin-bottom:14px;
}

.footer-mark {
  flex-shrink:     0;
  width:           38px;
  height:          38px;

  display:         flex;
  align-items:     center;
  justify-content: center;
  font-family:     var(--ff-display);
  font-size:       1.1rem;
  font-weight:     600;
  color:           var(--gold);
}

.footer-brand-name {
  font-family: var(--ff-display);
  font-size:   1.05rem;
  color:       var(--text);
}

.footer-tagline {
  font-family:  var(--ff-display);
  font-style:   italic;
  color:        var(--muted);
  font-size:    .88rem;
  margin-bottom:18px;
  line-height:  1.5;
}

.footer-assoc { margin-bottom: 18px; }

.footer-assoc-label {
  font-family:    var(--ff-cond);
  font-size:      .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color:          var(--muted);
  margin-bottom:  8px;
}

.footer-assoc-link {
  display:     flex;
  align-items: center;
  gap:         10px;
  color:       var(--muted);
  font-size:   .86rem;
  cursor:      none;
  transition:  color var(--dur-base) var(--ease);
}

.footer-assoc-link:hover { color: var(--orangered); }

.oyb-logo-img {
  height: 26px;
  width:  auto;
  filter: grayscale(100%) brightness(1.2);
  transition: filter var(--dur-base) var(--ease);
}

.footer-assoc-link:hover .oyb-logo-img { filter: grayscale(0%); }

/* Social icons */
.footer-social {
  display: flex;
  gap:     10px;
}

.social-btn {
  width:      34px;
  height:     34px;
  border:     1px solid var(--border);
  display:    flex;
  align-items:center;
  justify-content:center;
  cursor:     none;
  transition:
    border-color var(--dur-base) var(--ease),
    background   var(--dur-base) var(--ease);
}

.social-btn:hover {
  border-color: var(--gold);
  background:   var(--gold-10);
}

.social-btn img {
  width:      16px;
  height:     16px;
  object-fit: contain;
  filter:     grayscale(100%) brightness(1.3);
  transition: filter var(--dur-base) var(--ease);
}

.social-btn:hover img { filter: grayscale(0%); }

/* Footer nav columns */
.footer-col-heading {
  font-family:    var(--ff-cond);
  font-size:      .66rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color:          var(--gold);
  font-weight:    600;
  margin-bottom:  16px;
}

.footer-col a {
  display:     block;
  color:       var(--muted);
  font-size:   .86rem;
  margin-bottom:9px;
  cursor:      none;
  transition:
    color        var(--dur-base) var(--ease),
    padding-left var(--dur-base) var(--ease);
}

.footer-col a:hover {
  color:        var(--gold);
  padding-left: 4px;
}

.footer-col p {
  color:       var(--muted);
  font-size:   .86rem;
  line-height: 1.6;
  margin-bottom:5px;
  margin-top:  10px;
}

.footer-col p:first-of-type { margin-top: 0; }

/* Bottom bar */
.footer-bottom {
  border-top:  1px solid var(--border);
  padding-top: 22px;
  display:     flex;
  justify-content:space-between;
  align-items: center;
}

.footer-bottom p {
  color:     var(--muted);
  font-size: .78rem;
}

.footer-bottom-links { display: flex; gap: 22px; }

.footer-bottom-links a {
  color:      var(--muted);
  font-size:  .78rem;
  cursor:     none;
  transition: color var(--dur-base) var(--ease);
}

.footer-bottom-links a:hover { color: var(--gold); }


/* ── 14. SCROLL-REVEAL UTILITIES ───────────────────────────── */
.reveal,
.reveal-left,
.reveal-right {
  transition:
    opacity   .8s var(--ease),
    transform .8s var(--ease);
}

.reveal       { opacity: 0; transform: translateY(32px); }
.reveal-left  { opacity: 0; transform: translateX(-32px); }
.reveal-right { opacity: 0; transform: translateX(32px); }

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity:   1;
  transform: translate(0);
}

/* Staggered delay helpers */
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }


/* ── 15. KEYFRAMES ─────────────────────────────────────────── */
@keyframes a-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes a-fade-in {
  to { opacity: 1; }
}

@keyframes a-slide-line {
  0%   { left: -100%; }
  50%  { left:  100%; }
  100% { left:  100%; }
}

@keyframes a-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration:       .01ms !important;
    animation-iteration-count:1     !important;
    transition-duration:      .01ms !important;
  }
}


/* ── 16. RESPONSIVE OVERRIDES ──────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-pad: 80px 32px; }

  .nav        { padding: 20px 32px; }
  .nav.is-scrolled { padding: 14px 32px; }

  .about-inner               { grid-template-columns: 1fr; gap: 48px; }
  .about-right               { grid-template-columns: repeat(4, 1fr); }
  .about-stat:nth-child(2),
  .about-stat:nth-child(4)   { margin-top: 0; }

  .services-grid             { grid-template-columns: 1fr 1fr; }
  .services-header           { flex-direction: column; align-items: flex-start; gap: 14px; }
  .services-header > p       { text-align: left; max-width: none; }

  .founder-inner             { grid-template-columns: 1fr 1.2fr; gap: 44px; }

  .process-steps             { grid-template-columns: 1fr 1fr; gap: 36px; }
  .process-steps::before     { display: none; }

  .footer-top                { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 70px 24px; }

  .nav-links   { display: none; }
  .nav-hamburger { display: flex; }
  .nav         { padding: 18px 24px; }
  .nav.is-scrolled { padding: 13px 24px; }

  .hero-content { padding: 0 24px; }
  .hero-badge   { display: none; }
  .hero-scroll  { left: 24px; }
  .hero-title   { font-size: clamp(2.4rem, 8vw, 3rem); }

  .services-grid { grid-template-columns: 1fr; }

  .founder-inner { grid-template-columns: 1fr; }
  .founder-img-frame img { height: 300px; }

  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }

  .about-right {
    grid-template-columns: 1fr 1fr;
  }
  .about-stat:nth-child(2),
  .about-stat:nth-child(4) { margin-top: 0; }

  .footer         { padding: 52px 24px 28px; }
  .footer-top     { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; gap: 12px; text-align: center; }
}
